Cosmetic : hightlight element in follow-up and plugin
This commit is contained in:
parent
415b7c6307
commit
3fe64ba9e1
3 changed files with 16 additions and 4 deletions
|
|
@ -517,6 +517,16 @@ tr.highlight {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* highlight a small element (span)
|
||||||
|
*/
|
||||||
|
.cell.highlight {
|
||||||
|
color: darkred !important;
|
||||||
|
background-color: lightgoldenrodyellow;
|
||||||
|
color: antiquewhite !important;
|
||||||
|
background-color: lightskyblue;
|
||||||
|
padding: 2px 10px 2px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
td.odd{
|
td.odd{
|
||||||
background-color:#DDE6FF;
|
background-color:#DDE6FF;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,9 +103,9 @@ $nb_profile=count($a_profile);
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php echo h($a_plugin[$e]->me_description);?>
|
<?php echo h($a_plugin[$e]->me_description);?>
|
||||||
<span style="display:block">
|
<span style="display:block; font-style: italic">
|
||||||
<?php
|
<?php
|
||||||
printf(_("Installé par défaut dans %s"),$a_plugin[$e]->depend);
|
printf(_("Installé par défaut dans le menu <span class=\" cell highlight\">AD: %s </span>"),$a_plugin[$e]->depend);
|
||||||
?>
|
?>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -585,8 +585,10 @@ catch(exception) { alert('<?php echo j(_('Je ne peux pas ajouter de fichier'))?>
|
||||||
<div id="div_action_attached_doc">
|
<div id="div_action_attached_doc">
|
||||||
<h2 class="h-section">
|
<h2 class="h-section">
|
||||||
<?php
|
<?php
|
||||||
echo _('Pièces attachées');
|
$a= _('Pièces attachées');
|
||||||
printf("(%s)",count($aAttachedFile));
|
// variable: color if files
|
||||||
|
$class=( count($aAttachedFile)>0)?"cell highlight":"";
|
||||||
|
printf('%s <span class="%s"> (%s)</span>',$a,$class,count($aAttachedFile));
|
||||||
?>
|
?>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="noprint">
|
<div class="noprint">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue