Cosmetic : hightlight element in follow-up and plugin
This commit is contained in:
parent
4415f9a129
commit
2f5558add0
3 changed files with 16 additions and 4 deletions
|
|
@ -478,6 +478,16 @@ tr.highlight {
|
|||
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{
|
||||
background-color:#DDE6FF;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,9 +103,9 @@ $nb_profile=count($a_profile);
|
|||
</td>
|
||||
<td>
|
||||
<?php echo h($a_plugin[$e]->me_description);?>
|
||||
<span style="display:block">
|
||||
<span style="display:block; font-style: italic">
|
||||
<?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>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -585,8 +585,10 @@ catch(exception) { alert('<?php echo j(_('Je ne peux pas ajouter de fichier'))?>
|
|||
<div id="div_action_attached_doc">
|
||||
<h2 class="h-section">
|
||||
<?php
|
||||
echo _('Pièces attachées');
|
||||
printf("(%s)",count($aAttachedFile));
|
||||
$a= _('Pièces attachées');
|
||||
// variable: color if files
|
||||
$class=( count($aAttachedFile)>0)?"cell highlight":"";
|
||||
printf('%s <span class="%s"> (%s)</span>',$a,$class,count($aAttachedFile));
|
||||
?>
|
||||
</h2>
|
||||
<div class="noprint">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue