Cosmetic : hightlight element in follow-up and plugin

This commit is contained in:
sparkyx 2024-12-26 12:34:57 +01:00
parent 4415f9a129
commit 2f5558add0
3 changed files with 16 additions and 4 deletions

View file

@ -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;
}

View file

@ -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>

View file

@ -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">