mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Change visual
This commit is contained in:
parent
c50bbb7eea
commit
899759a3ca
@ -369,7 +369,10 @@ switch ($action) {
|
|||||||
$search_name = "%$search%' OR description LIKE '%$search%";
|
$search_name = "%$search%' OR description LIKE '%$search%";
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_aux->width = '99%';
|
$table_aux->width = '100%';
|
||||||
|
$table_aux->class = 'databox filters';
|
||||||
|
$table_aux->cellpadding = 0;
|
||||||
|
$table_aux->cellspacing = 0;
|
||||||
if(defined('METACONSOLE')){
|
if(defined('METACONSOLE')){
|
||||||
$table_aux->class = 'databox_filters';
|
$table_aux->class = 'databox_filters';
|
||||||
$table_aux->width = '96%';
|
$table_aux->width = '96%';
|
||||||
@ -456,10 +459,15 @@ switch ($action) {
|
|||||||
$table->width = '0px';
|
$table->width = '0px';
|
||||||
if (sizeof ($reports)) {
|
if (sizeof ($reports)) {
|
||||||
$table->id = 'report_list';
|
$table->id = 'report_list';
|
||||||
$table->width = '98%';
|
$table->width = '100%';
|
||||||
|
$table->class = 'databox data';
|
||||||
|
$table->cellpadding = 0;
|
||||||
|
$table->cellspacing = 0;
|
||||||
if(defined('METACONSOLE')){
|
if(defined('METACONSOLE')){
|
||||||
|
$table->class = 'databox';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
}
|
}
|
||||||
|
|
||||||
$table->head = array ();
|
$table->head = array ();
|
||||||
$table->align = array ();
|
$table->align = array ();
|
||||||
$table->align[2] = 'center';
|
$table->align[2] = 'center';
|
||||||
@ -470,6 +478,13 @@ switch ($action) {
|
|||||||
$table->head[1] = __('Description');
|
$table->head[1] = __('Description');
|
||||||
$table->head[2] = __('HTML');
|
$table->head[2] = __('HTML');
|
||||||
$table->head[3] = __('XML');
|
$table->head[3] = __('XML');
|
||||||
|
$table->size[0] = '20%';
|
||||||
|
$table->size[1] = '30%';
|
||||||
|
$table->size[2] = '2%';
|
||||||
|
$table->size[3] = '2%';
|
||||||
|
$table->size[4] = '2%';
|
||||||
|
$table->size[5] = '2%';
|
||||||
|
$table->size[6] = '2%';
|
||||||
|
|
||||||
$next = 4;
|
$next = 4;
|
||||||
//Calculate dinamically the number of the column
|
//Calculate dinamically the number of the column
|
||||||
@ -481,21 +496,22 @@ switch ($action) {
|
|||||||
if (check_acl ($config['id_user'], 0, "RM")) {
|
if (check_acl ($config['id_user'], 0, "RM")) {
|
||||||
|
|
||||||
$table->head[$next] = __('Private');
|
$table->head[$next] = __('Private');
|
||||||
$table->size[$next] = '40px';
|
$table->size[$next] = '2%';
|
||||||
if(defined('METACONSOLE'))
|
if(defined('METACONSOLE'))
|
||||||
$table->align[$next] = '';
|
$table->align[$next] = '';
|
||||||
else
|
else
|
||||||
$table->align[$next] = 'center';
|
$table->align[$next] = 'center';
|
||||||
$next++;
|
$next++;
|
||||||
$table->head[$next] = __('Group');
|
$table->head[$next] = __('Group');
|
||||||
$table->align[$next] = 'center';
|
$table->size[$next] = '15%';
|
||||||
|
|
||||||
$next++;
|
$next++;
|
||||||
if(!defined('METACONSOLE'))
|
if(!defined('METACONSOLE'))
|
||||||
$table->head[$next] = '<span title="Operations">' .
|
$table->head[$next] = '<span title="Operations">' .
|
||||||
__('Op.') . '</span>';
|
__('Op.') . '</span>';
|
||||||
|
|
||||||
$table->size = array ();
|
//$table->size = array ();
|
||||||
$table->size[$next] = '80px';
|
$table->size[$next] = '5%';
|
||||||
$table->style[$next] = 'text-align:center;';
|
$table->style[$next] = 'text-align:center;';
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -632,15 +648,14 @@ switch ($action) {
|
|||||||
html_print_table ($table);
|
html_print_table ($table);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo "<br />";
|
ui_print_info_message ( array ( 'no_close' => true, 'message' => __('No data found.') ) );
|
||||||
echo "<div class='nf'>".__('No data found.')."</div>";
|
|
||||||
}
|
}
|
||||||
if (check_acl ($config['id_user'], 0, "RW")) {
|
if (check_acl ($config['id_user'], 0, "RW")) {
|
||||||
echo '<form method="post" action="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=main&action=new&pure='.$pure.'">';
|
echo '<form method="post" action="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=main&action=new&pure='.$pure.'">';
|
||||||
if (defined("METACONSOLE"))
|
if (defined("METACONSOLE"))
|
||||||
echo '<div class="action-buttons" style="width: 100%; ">';
|
echo '<div class="action-buttons" style="width: 100%; ">';
|
||||||
else
|
else
|
||||||
echo '<div class="action-buttons" style="width: 98%; margin-top: 5px;">';
|
echo '<div class="action-buttons" style="width: 100%;">';
|
||||||
html_print_submit_button (__('Create report'), 'create', false, 'class="sub next"');
|
html_print_submit_button (__('Create report'), 'create', false, 'class="sub next"');
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
@ -72,8 +72,8 @@ if (is_ajax ()) {
|
|||||||
|
|
||||||
$table_relations = new stdClass();
|
$table_relations = new stdClass();
|
||||||
$table_relations->id = 'module_' . $id_agente_modulo . '_relations';
|
$table_relations->id = 'module_' . $id_agente_modulo . '_relations';
|
||||||
$table_relations->width = '98%';
|
$table_relations->width = '100%';
|
||||||
$table_relations->class = 'databox';
|
$table_relations->class = 'databox filters';
|
||||||
$table_relations->style = array();
|
$table_relations->style = array();
|
||||||
$table_relations->style[0] = 'font-weight: bold;';
|
$table_relations->style[0] = 'font-weight: bold;';
|
||||||
$table_relations->style[2] = 'font-weight: bold;';
|
$table_relations->style[2] = 'font-weight: bold;';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user