group_management styles profiles
This commit is contained in:
parent
4f27ae1021
commit
4a42756ec6
|
@ -516,14 +516,22 @@ if ($tab == 'tree') {
|
||||||
$table = new StdClass();
|
$table = new StdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'info_table';
|
$table->class = 'info_table';
|
||||||
|
$table->headstyle = [];
|
||||||
$table->head = [];
|
$table->head = [];
|
||||||
$table->head[0] = __('ID');
|
$table->head[0] = __('ID');
|
||||||
|
$table->headstyle[0] = 'min-width: 100px;';
|
||||||
$table->head[1] = __('Name');
|
$table->head[1] = __('Name');
|
||||||
|
$table->headstyle[1] = 'min-width: 100px;';
|
||||||
$table->head[2] = __('Icon');
|
$table->head[2] = __('Icon');
|
||||||
|
$table->headstyle[2] = 'min-width: 100px;';
|
||||||
$table->head[3] = __('Alerts');
|
$table->head[3] = __('Alerts');
|
||||||
|
$table->headstyle[3] = 'min-width: 100px;';
|
||||||
$table->head[4] = __('Parent');
|
$table->head[4] = __('Parent');
|
||||||
|
$table->headstyle[4] = 'min-width: 100px;';
|
||||||
$table->head[5] = __('Description');
|
$table->head[5] = __('Description');
|
||||||
|
$table->headstyle[5] = 'min-width: 100px;';
|
||||||
$table->head[6] = __('Actions');
|
$table->head[6] = __('Actions');
|
||||||
|
$table->headstyle[6] = 'min-width: 100px;';
|
||||||
$table->align = [];
|
$table->align = [];
|
||||||
$table->align[0] = 'left';
|
$table->align[0] = 'left';
|
||||||
$table->align[2] = 'left';
|
$table->align[2] = 'left';
|
||||||
|
|
|
@ -760,6 +760,9 @@ switch ($action) {
|
||||||
|
|
||||||
$table->head = [];
|
$table->head = [];
|
||||||
$table->align = [];
|
$table->align = [];
|
||||||
|
$table->headstyle = [];
|
||||||
|
$table->style = [];
|
||||||
|
|
||||||
$table->align[2] = 'left';
|
$table->align[2] = 'left';
|
||||||
$table->align[3] = 'left';
|
$table->align[3] = 'left';
|
||||||
$table->align[4] = 'left';
|
$table->align[4] = 'left';
|
||||||
|
@ -775,7 +778,9 @@ switch ($action) {
|
||||||
$table->size[4] = '2%';
|
$table->size[4] = '2%';
|
||||||
$table->size[5] = '2%';
|
$table->size[5] = '2%';
|
||||||
$table->size[6] = '2%';
|
$table->size[6] = '2%';
|
||||||
$table->size['csv'] = '5%';
|
$table->size[7] = '5%';
|
||||||
|
$table->headstyle[7] = 'min-width: 30px;';
|
||||||
|
$table->style[7] = 'text-align: center;';
|
||||||
|
|
||||||
$next = 4;
|
$next = 4;
|
||||||
// Calculate dinamically the number of the column.
|
// Calculate dinamically the number of the column.
|
||||||
|
@ -814,7 +819,6 @@ switch ($action) {
|
||||||
// $table->size = array ();
|
// $table->size = array ();
|
||||||
$table->size[$next] = '10%';
|
$table->size[$next] = '10%';
|
||||||
$table->align[$next] = 'left';
|
$table->align[$next] = 'left';
|
||||||
$table->headstyle[$next] = 'text-align:left;';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$columnview = false;
|
$columnview = false;
|
||||||
|
@ -996,7 +1000,6 @@ switch ($action) {
|
||||||
$table->head[$next] = '<span title="Operations">'.__('Op.').'</span>'.html_print_checkbox('all_delete', 0, false, true, false);
|
$table->head[$next] = '<span title="Operations">'.__('Op.').'</span>'.html_print_checkbox('all_delete', 0, false, true, false);
|
||||||
$table->size = [];
|
$table->size = [];
|
||||||
// $table->size[$next] = '80px';
|
// $table->size[$next] = '80px';
|
||||||
$table->style[$next] = 'text-align:left;';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($edit) {
|
if ($edit) {
|
||||||
|
|
Loading…
Reference in New Issue