Fix: Bad view in menu admin page
This commit is contained in:
parent
e90e29c201
commit
30a908e99e
@ -205,7 +205,7 @@ function tree_showline($tab,$rang)
|
||||
print '<li id=li'.$tab[0].'>';
|
||||
|
||||
// Content of line
|
||||
print '<strong><a href="edit.php?menu_handler='.$menu_handler.'&action=edit&menuId='.$tab[0].'">'.$tab[2].'</a></strong>';
|
||||
print '<strong> <a href="edit.php?menu_handler='.$menu_handler.'&action=edit&menuId='.$tab[0].'">'.$tab[2].'</a></strong>';
|
||||
print '<div class="menuEdit"><a href="edit.php?menu_handler='.$menu_handler.'&action=edit&menuId='.$tab[0].'">'.img_edit('default',0,'class="menuEdit" id="edit'.$tab[0].'"').'</a></div>';
|
||||
print '<div class="menuNew"><a href="edit.php?menu_handler='.$menu_handler.'&action=create&menuId='.$tab[0].'">'.img_edit_add('default',0,'class="menuNew" id="new'.$tab[0].'"').'</a></div>';
|
||||
print '<div class="menuDel"><a href="index.php?menu_handler='.$menu_handler.'&action=delete&menuId='.$tab[0].'">'.img_delete('default',0,'class="menuDel" id="del'.$tab[0].'"').'</a></div>';
|
||||
|
||||
@ -1015,11 +1015,6 @@ ul.arbre li {
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Uniquement pour les navigateurs a moteur gecko */
|
||||
ul.arbre li:last-child {
|
||||
border-left: 0;
|
||||
background: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/line.gif' ?>) no-repeat 0 0;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
|
||||
@ -753,3 +753,117 @@ table.cal_event td { border: 0px; padding-left: 0px; padding-right: 2px; padding
|
||||
.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal; !important }
|
||||
.cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal; !important }
|
||||
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Admin Menu */
|
||||
/* ============================================================================== */
|
||||
|
||||
/* CSS a appliquer a l'arbre hierarchique */
|
||||
|
||||
/* Lien plier /deplier tout */
|
||||
.arbre-switch {
|
||||
text-align: right;
|
||||
padding: 0 5px;
|
||||
margin: 0 0 -18px 0;
|
||||
}
|
||||
|
||||
/* Arbre */
|
||||
ul.arbre {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
/* strong : A modifier en fonction de la balise choisie */
|
||||
ul.arbre strong {
|
||||
font-weight: normal;
|
||||
padding: 0 0 0 20px;
|
||||
margin: 0 0 0 -7px;
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/branch.gif' ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 1px 50%;
|
||||
}
|
||||
ul.arbre strong.arbre-plier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/plus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre strong.arbre-deplier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/minus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
ul.arbre li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.menuNew
|
||||
{
|
||||
display:block;
|
||||
border:0px;
|
||||
}
|
||||
|
||||
img.menuEdit
|
||||
{
|
||||
border: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
img.menuDel
|
||||
{
|
||||
display:none;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
div.menuNew
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:270px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
div.menuEdit
|
||||
{
|
||||
margin-top:-15px;
|
||||
margin-left:250px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuDel
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:290px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuFleche
|
||||
{
|
||||
margin-top:-16px;
|
||||
margin-left:320px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -932,3 +932,117 @@ cursor: pointer;
|
||||
.cal_past_month { background: #EEEEEE; border: solid 1px #ACBCBB; }
|
||||
.cal_current_month { background: #FFFFFF; border: solid 1px #ACBCBB; }
|
||||
.cal_today { background: #DDFFDD; border: solid 1px #ACBCBB; }
|
||||
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Admin Menu */
|
||||
/* ============================================================================== */
|
||||
|
||||
/* CSS a appliquer a l'arbre hierarchique */
|
||||
|
||||
/* Lien plier /deplier tout */
|
||||
.arbre-switch {
|
||||
text-align: right;
|
||||
padding: 0 5px;
|
||||
margin: 0 0 -18px 0;
|
||||
}
|
||||
|
||||
/* Arbre */
|
||||
ul.arbre {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
/* strong : A modifier en fonction de la balise choisie */
|
||||
ul.arbre strong {
|
||||
font-weight: normal;
|
||||
padding: 0 0 0 20px;
|
||||
margin: 0 0 0 -7px;
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/branch.gif' ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 1px 50%;
|
||||
}
|
||||
ul.arbre strong.arbre-plier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/plus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre strong.arbre-deplier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/minus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
ul.arbre li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.menuNew
|
||||
{
|
||||
display:block;
|
||||
border:0px;
|
||||
}
|
||||
|
||||
img.menuEdit
|
||||
{
|
||||
border: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
img.menuDel
|
||||
{
|
||||
display:none;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
div.menuNew
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:270px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
div.menuEdit
|
||||
{
|
||||
margin-top:-15px;
|
||||
margin-left:250px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuDel
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:290px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuFleche
|
||||
{
|
||||
margin-top:-16px;
|
||||
margin-left:320px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
@ -1332,14 +1332,10 @@ ul.arbre li {
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
/* This is to create an indent */
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Uniquement pour les navigateurs a moteur gecko */
|
||||
ul.arbre li:last-child {
|
||||
border-left: 0;
|
||||
background: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/line.gif' ?>) no-repeat 0 0;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
|
||||
@ -969,3 +969,118 @@ table.cal_event td { border: 0px; padding-left: 0px; padding-right: 2px; padding
|
||||
.cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
|
||||
.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
|
||||
.cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; }
|
||||
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Admin Menu */
|
||||
/* ============================================================================== */
|
||||
|
||||
/* CSS a appliquer a l'arbre hierarchique */
|
||||
|
||||
/* Lien plier /deplier tout */
|
||||
.arbre-switch {
|
||||
text-align: right;
|
||||
padding: 0 5px;
|
||||
margin: 0 0 -18px 0;
|
||||
}
|
||||
|
||||
/* Arbre */
|
||||
ul.arbre {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
/* strong : A modifier en fonction de la balise choisie */
|
||||
ul.arbre strong {
|
||||
font-weight: normal;
|
||||
padding: 0 0 0 20px;
|
||||
margin: 0 0 0 -7px;
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/branch.gif' ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 1px 50%;
|
||||
}
|
||||
ul.arbre strong.arbre-plier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/plus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre strong.arbre-deplier {
|
||||
background-image: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/minus.gif' ?>);
|
||||
cursor: pointer;
|
||||
}
|
||||
ul.arbre ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
ul.arbre li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.menuNew
|
||||
{
|
||||
display:block;
|
||||
border:0px;
|
||||
}
|
||||
|
||||
img.menuEdit
|
||||
{
|
||||
border: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
img.menuDel
|
||||
{
|
||||
display:none;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
div.menuNew
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:270px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
div.menuEdit
|
||||
{
|
||||
margin-top:-15px;
|
||||
margin-left:250px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuDel
|
||||
{
|
||||
margin-top:-20px;
|
||||
margin-left:290px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
div.menuFleche
|
||||
{
|
||||
margin-top:-16px;
|
||||
margin-left:320px;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
width:30px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1005,7 +1005,6 @@ form.inplaceeditor-form a { /* The cancel link */
|
||||
/* Admin Menu */
|
||||
/* ============================================================================== */
|
||||
|
||||
|
||||
/* CSS a appliquer a l'arbre hierarchique */
|
||||
|
||||
/* Lien plier /deplier tout */
|
||||
@ -1048,11 +1047,6 @@ ul.arbre li {
|
||||
ul.arbre li li {
|
||||
margin: 0 0 0 16px;
|
||||
}
|
||||
/* Uniquement pour les navigateurs a moteur gecko */
|
||||
ul.arbre li:last-child {
|
||||
border-left: 0;
|
||||
background: url(<?php echo $dolibarr_main_url_root.'/theme/common/treemenu/line.gif' ?>) no-repeat 0 0;
|
||||
}
|
||||
/* Classe pour masquer */
|
||||
.hide {
|
||||
display: none;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user