Task #1913 : cosmetic CSS
This commit is contained in:
parent
c24c4a3de5
commit
2986417e32
8 changed files with 18 additions and 17 deletions
|
|
@ -356,11 +356,8 @@ var ManageTable = function (p_table_name)
|
|||
var x = here.parseXML(req);
|
||||
var obj = {id: control, "cssclass": here.cssclass, "html": loading()};
|
||||
create_div(obj);
|
||||
var pos = calcy(3);
|
||||
if (window.innerWidth < 1200) {
|
||||
here.mt_style["margin-left"]="2%";
|
||||
here.mt_style["max-width"]="80%";
|
||||
}
|
||||
var pos = calcy(50);
|
||||
|
||||
here.mt_style["top"]=pos+"px";
|
||||
$(obj.id).setStyle(here.mt_style);
|
||||
remove_waiting_box();
|
||||
|
|
|
|||
|
|
@ -66,4 +66,6 @@ echo HtmlInput::title_box($poste_analytic->getp("po_name"), $div, "close", "", "
|
|||
|
||||
echo $anc_grandlivre->display_html(0);
|
||||
$anc_grandlivre->pa_id=$poste_analytic->pa_id;
|
||||
echo $anc_grandlivre->show_button();
|
||||
echo $anc_grandlivre->button_export_csv();
|
||||
echo HtmlInput::button_close($div);
|
||||
|
||||
|
|
@ -328,9 +328,9 @@ class Anc_Operation
|
|||
$ret.=td(h($row['oa_description']));
|
||||
$js="anc_remove_operation(".$gDossier.",".$oldgroup.")";
|
||||
|
||||
$ret.="<td>".HtmlInput::image_click("trash-24.gif", $js, _("Effacer"))."</td>";
|
||||
$ret.="<td>".Icon_Action::trash(uniqid(), $js) ."</td>";
|
||||
$js="anc_detail_op({$row['oa_group']},{$gDossier})";
|
||||
$ret .= "<td>". HtmlInput::image_click("crayon-mod-b24.png", $js, _("Modifier"))."</td>";
|
||||
$ret .= "<td>". Icon_Action::modify(uniqid(), $js)."</td>";
|
||||
$ret.="</tr>";
|
||||
}
|
||||
$ret.='</table>';
|
||||
|
|
|
|||
|
|
@ -597,12 +597,12 @@ class Periode
|
|||
// Updatable
|
||||
$js=sprintf("%s.box_display('%d')", $p_js, $obj->p_id);
|
||||
echo "<td>";
|
||||
echo HtmlInput::image_click("crayon-mod-b24.png", $js, _("Effacer"));
|
||||
echo Icon_Action::modify(uniqid(), $js);
|
||||
echo "</td>";
|
||||
//removable
|
||||
$js=sprintf("%s.remove('%d')", $p_js, $obj->p_id);
|
||||
echo "<td>";
|
||||
echo HtmlInput::image_click("trash-24.gif", $js, _("Effacer"));
|
||||
echo Icon_Action::trash(uniqid(), $js);
|
||||
echo "</td>";
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -23,10 +23,11 @@
|
|||
* CA ....
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/noalyss_parameter_folder.class.php';
|
||||
|
||||
global $g_user;
|
||||
$http=new HttpInput();
|
||||
echo '<div class="content">';
|
||||
require_once NOALYSS_INCLUDE.'/class/noalyss_parameter_folder.class.php';
|
||||
if (isset($_POST['record_company']))
|
||||
{
|
||||
$m = new Noalyss_Parameter_Folder($cn);
|
||||
|
|
@ -162,7 +163,8 @@ $all->value = '';
|
|||
echo "<tr>" . td(_("Pays"), 'style="text-align:right"') . $all->input("p_pays", $my->MY_PAYS) . "</tr>";
|
||||
$all->value = '';
|
||||
echo "<tr>" . td(_("Numéro de Tva"), 'style="text-align:right"') . $all->input("p_tva", $my->MY_TVA) . "</tr>";
|
||||
echo "<tr>" . td(_("Utilisation de la compta. analytique"), 'style="text-align:right"') . $compta->input("p_compta", $array) . "</tr>";
|
||||
echo "<tr>" . td(_("Utilisation de la compta. analytique"), 'style="text-align:right"') .
|
||||
$compta->input("p_compta", $array) . "</tr>";
|
||||
echo '<tr>'. td(_("Opération analytique uniquement pour les postes comptables commençant par")).
|
||||
'<td>'.
|
||||
$anc_filter->input().
|
||||
|
|
|
|||
|
|
@ -861,7 +861,7 @@ class HtmlInput
|
|||
}
|
||||
elseif ($p_mod=='hide')
|
||||
{
|
||||
$r.=Icon_Action::hide("⨉", "$('$p_div').hide();$p_js");
|
||||
$r.=Icon_Action::hide("×", "$('$p_div').hide();$p_js");
|
||||
}
|
||||
elseif ($p_mod=='custom')
|
||||
{
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ class Icon_Action
|
|||
static function close($p_div)
|
||||
{
|
||||
$r='';
|
||||
$r.=sprintf('<A class="icon" onclick="removeDiv(\'%s\')">⨉</A>',
|
||||
$r.=sprintf('<A class="icon" style="font-size:150%%" onclick="removeDiv(\'%s\')">×</A>',
|
||||
$p_div);
|
||||
return $r;
|
||||
}
|
||||
|
|
@ -211,7 +211,7 @@ class Icon_Action
|
|||
static function hide($action, $javascript)
|
||||
{
|
||||
$r='';
|
||||
$r.='<span id="hide" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
|
||||
$r.='<span id="hide" style="font-size:150%%" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
|
||||
return $r;
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -866,7 +866,7 @@ function check()
|
|||
$js=sprintf("%s.input('%s','%s');", $this->object_name,
|
||||
$p_row[$this->table->primary_key], $this->object_name
|
||||
);
|
||||
echo HtmlInput::image_click("crayon-mod-b24.png", $js, _("Modifier"));
|
||||
echo Icon_Action::modify(uniqid(), $js);
|
||||
echo "</td>";
|
||||
}
|
||||
}
|
||||
|
|
@ -879,7 +879,7 @@ function check()
|
|||
$js=sprintf("%s.remove('%s','%s');", $this->object_name,
|
||||
$p_row[$this->table->primary_key], $this->object_name
|
||||
);
|
||||
echo HtmlInput::image_click("trash-24.gif", $js, _("Effacer"));
|
||||
echo Icon_Action::trash(uniqid(), $js);
|
||||
echo "</td>";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue