style review
This commit is contained in:
parent
88b0802472
commit
9de5dadbf2
|
@ -235,9 +235,12 @@ if (!empty($all_data)) {
|
|||
// Don't specify px.
|
||||
$table->data = [];
|
||||
$table->size = [];
|
||||
$table->headstyle = [];
|
||||
$table->size[0] = '5%';
|
||||
$table->size[1] = '15%';
|
||||
$table->size[2] = '15%';
|
||||
$table->headstyle[1] = 'min-width: 12em;';
|
||||
$table->size[2] = '5%';
|
||||
$table->headstyle[2] = 'min-width: 65px;';
|
||||
$table->size[3] = '10%';
|
||||
$table->size[4] = '25%';
|
||||
$table->head = [];
|
||||
|
|
|
@ -51,11 +51,11 @@ $table->style[0] = 'font-weight: bold';
|
|||
$table->align = [];
|
||||
$table->align[1] = 'center';
|
||||
$table->align[3] = 'center';
|
||||
$table->align[8] = 'center';
|
||||
$table->align[8] = 'right';
|
||||
|
||||
$table->headstyle[1] = 'text-align:center';
|
||||
$table->headstyle[3] = 'text-align:center';
|
||||
$table->headstyle[8] = 'text-align:center';
|
||||
$table->headstyle[8] = 'text-align:right';
|
||||
|
||||
// $table->title = __('Tactical server information');
|
||||
$table->titleclass = 'tabletitle';
|
||||
|
|
|
@ -1275,7 +1275,7 @@ if ($create_alert || $update_alert) {
|
|||
$table->align[7] = 'left';
|
||||
|
||||
$table->head[8] = __('Action');
|
||||
$table->size[8] = '90px';
|
||||
$table->size[8] = '120px';
|
||||
$table->align[8] = 'left';
|
||||
|
||||
$table->head[9] = html_print_checkbox('all_delete_box', '1', false, true);
|
||||
|
|
|
@ -169,12 +169,12 @@ $table->rowspan[0][0] = 2;
|
|||
// Set initial conditions for these controls, later will be modified by javascript
|
||||
if (!$enable_init_date) {
|
||||
$table->style[1] = 'display: none';
|
||||
$table->style[2] = 'display: ""';
|
||||
$table->style[2] = 'display: flex;align-items: baseline;';
|
||||
$display_to = 'none';
|
||||
$display_item = '';
|
||||
} else {
|
||||
$table->style[1] = 'display: ""';
|
||||
$table->style[2] = 'display: ""';
|
||||
$table->style[1] = 'display: "block"';
|
||||
$table->style[2] = 'display: flex;align-items: baseline;';
|
||||
$display_to = '';
|
||||
$display_item = 'none';
|
||||
}
|
||||
|
@ -210,11 +210,11 @@ if ($html_enterprise !== ENTERPRISE_NOT_HOOK) {
|
|||
|
||||
$table->data[0][1] .= '</div>';
|
||||
|
||||
$table->data[1][1] = '<div style="float:left;padding-top:3px;">'.__('From').': </div>';
|
||||
$table->data[1][1] = '<div>'.__('From').': </div>';
|
||||
$table->data[1][1] .= html_print_input_text('date_init', $date_init, '', 12, 10, true).' ';
|
||||
$table->data[1][1] .= html_print_input_text('time_init', $time_init, '', 10, 7, true).' ';
|
||||
$table->data[1][2] = '<div style="float:left;padding-top:3px;display:'.$display_item.'" id="string_items">'.__('Items period before').':</div>';
|
||||
$table->data[1][2] .= '<div style="float:left;padding-top:3px;display:'.$display_to.'" id="string_to">'.__('to').':</div>';
|
||||
$table->data[1][2] = '<div style="display:'.$display_item.'" id="string_items">'.__('Items period before').':</div>';
|
||||
$table->data[1][2] .= '<div style="display:'.$display_to.'" id="string_to">'.__('to').':</div>';
|
||||
$table->data[1][2] .= html_print_input_text('date', $date, '', 12, 10, true).' ';
|
||||
$table->data[1][2] .= html_print_input_text('time', $time, '', 10, 7, true).' ';
|
||||
$table->data[1][2] .= html_print_submit_button(__('Update'), 'date_submit', false, 'class="sub next"', true);
|
||||
|
|
|
@ -778,7 +778,7 @@ $table->headstyle[7] = 'text-align: center';
|
|||
$table->head[8] = __('Action');
|
||||
$table->align[8] = 'center';
|
||||
$table->size[8] = '10%';
|
||||
$table->headstyle[8] = 'text-align: center';
|
||||
$table->headstyle[8] = 'min-width: 125px;text-align: center';
|
||||
|
||||
$table->head[9] = html_print_checkbox_extended(
|
||||
'allbox',
|
||||
|
|
Loading…
Reference in New Issue