2014-02-10 Sergio Martin <sergio.martin@artica.es>
* mobile/operation/agents.php mobile/operation/events.php mobile/include/style/main.css mobile/include/ui.class.php: More visual improvements on mobile console git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e64a3837ec
commit
0f0e513135
|
@ -1,3 +1,11 @@
|
||||||
|
2014-02-10 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* mobile/operation/agents.php
|
||||||
|
mobile/operation/events.php
|
||||||
|
mobile/include/style/main.css
|
||||||
|
mobile/include/ui.class.php: More visual improvements
|
||||||
|
on mobile console
|
||||||
|
|
||||||
2014-02-10 Sergio Martin <sergio.martin@artica.es>
|
2014-02-10 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* mobile/include/style/main.css: Fix style of the close
|
* mobile/include/style/main.css: Fix style of the close
|
||||||
|
|
|
@ -912,11 +912,28 @@ li.ui-btn {
|
||||||
border-bottom: 1px solid grey !important;
|
border-bottom: 1px solid grey !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#list_events .head_horizontal {
|
||||||
|
border-bottom: 0px solid white !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cell_0 {
|
||||||
|
border-top: solid 1px #666;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#list_events .cell_0 {
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 25em) {
|
@media screen and (max-width: 25em) {
|
||||||
.ui-table th, .ui-table td {
|
.ui-table th, .ui-table td {
|
||||||
padding: 3px !important;
|
padding: 3px !important;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.head_vertical {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*END----------Fix the tons of air between the rows in small table----*/
|
/*END----------Fix the tons of air between the rows in small table----*/
|
||||||
|
|
||||||
|
@ -1257,11 +1274,12 @@ DIV.nodata_container {
|
||||||
}
|
}
|
||||||
|
|
||||||
#free_search-container a {
|
#free_search-container a {
|
||||||
margin-right: 5px;
|
margin-right: 2px;
|
||||||
|
margin-top: -12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#free_search-container span.ui-btn-inner {
|
#free_search-container span.ui-btn-inner {
|
||||||
height: 10px;
|
height: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JQuery Mobile responsive hack to tables with */
|
/* JQuery Mobile responsive hack to tables with */
|
||||||
|
|
|
@ -849,7 +849,7 @@ class Table {
|
||||||
$html .= "<thead>\n";
|
$html .= "<thead>\n";
|
||||||
$html .= "<tr>\n";
|
$html .= "<tr>\n";
|
||||||
//Empty head for white space between rows in the responsive vertical layout
|
//Empty head for white space between rows in the responsive vertical layout
|
||||||
$html .= "<th></th>\n";
|
$html .= "<th class='head_horizontal'></th>\n";
|
||||||
foreach ($this->head as $head) {
|
foreach ($this->head as $head) {
|
||||||
$html .= "<th class='head_horizontal'>" . $head . "</th>\n";
|
$html .= "<th class='head_horizontal'>" . $head . "</th>\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -267,7 +267,7 @@ class Agents {
|
||||||
|
|
||||||
|
|
||||||
$row[0] = $row[__('Agent')] = '<span class="tiny" style="margin-right: 5px;">' . $img_status . '</span>' .
|
$row[0] = $row[__('Agent')] = '<span class="tiny" style="margin-right: 5px;">' . $img_status . '</span>' .
|
||||||
'<a class="ui-link" data-ajax="false" href="index.php?page=agent&id=' . $agent['id_agente'] . '">' . io_safe_output($agent['nombre']) . '</a>';
|
'<a class="ui-link" data-ajax="false" href="index.php?page=agent&id=' . $agent['id_agente'] . '">' . ui_print_truncate_text(io_safe_output($agent['nombre']), 30, false) . '</a>';
|
||||||
//~ $row[1] = $row[__('Description')] = '<span class="small">' .
|
//~ $row[1] = $row[__('Description')] = '<span class="small">' .
|
||||||
//~ ui_print_truncate_text($agent["description"], 'description', false, true) .
|
//~ ui_print_truncate_text($agent["description"], 'description', false, true) .
|
||||||
//~ '</span>';
|
//~ '</span>';
|
||||||
|
|
|
@ -111,7 +111,7 @@ class Events {
|
||||||
$agent_name = '<span class="nobold">' . ui_print_agent_name ($event["id_agente"], true, 'agent_small', '', false, '', '', false, false) . '</span>';
|
$agent_name = '<span class="nobold">' . ui_print_agent_name ($event["id_agente"], true, 'agent_small', '', false, '', '', false, false) . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$row_1 = '<span class="events_agent"><b class="ui-table-cell-label">' . __('Agent') . '</b>' . $agent_name . '</span>';
|
$row_1 = '<span class="events_agent">' . $agent_name . '</span>';
|
||||||
$row_1 .= '<span class="events_timestamp">' . $status_icon . '<br>' . ui_print_timestamp ($event['timestamp_rep'], true, array('units' => 'tiny')) . '</span>';
|
$row_1 .= '<span class="events_timestamp">' . $status_icon . '<br>' . ui_print_timestamp ($event['timestamp_rep'], true, array('units' => 'tiny')) . '</span>';
|
||||||
|
|
||||||
$row[] = $row_1;
|
$row[] = $row_1;
|
||||||
|
|
Loading…
Reference in New Issue