Look and feel v19

This commit is contained in:
Laurent Destailleur 2023-09-20 03:02:31 +02:00
parent f7af03308a
commit 864d4ad776
4 changed files with 36 additions and 9 deletions

View File

@ -378,6 +378,9 @@ div.cadre td.nom {
text-align:center;
padding: 8px;
}
div.cadre td.sujet, div.cadre td.annee, div.cadre td.mois, div.cadre td.jour {
padding: 8px !important;
}
div.cadre td.casevide {
background-color: white;
text-align:center;

View File

@ -500,7 +500,7 @@ while ($compteur < $num) {
print '<tr>'."\n";
// Name
print '<td class="nom">'.dol_htmlentities($obj->name).'</td>'."\n";
print '<td class="nom">'.img_picto($obj->name, 'user', 'class="pictofixedwidth"').dol_htmlentities($obj->name).'</td>'."\n";
// si la ligne n'est pas a changer, on affiche les données
if (!$testligneamodifier) {
@ -829,7 +829,7 @@ print '<br>';
$comments = $object->getComments();
if ($comments) {
print '<br><u><span class="bold opacitymedium">'.$langs->trans("CommentsOfVoters").':</span></u><br>'."\n";
print '<br>'.img_picto('', 'note', 'class="pictofixedwidth"').'<span class="bold opacitymedium">'.$langs->trans("CommentsOfVoters").':</span><br>'."\n";
foreach ($comments as $obj) {
// ligne d'un usager pré-authentifié
@ -840,7 +840,7 @@ if ($comments) {
print '<a href="'.$_SERVER["PHP_SELF"].'?deletecomment='.$obj->id_comment.'&sondage='.$numsondage.'"> '.img_picto('', 'delete.png', '', false, 0, 0, '', 'nomarginleft').'</a> ';
}
//else print img_picto('', 'ellipsis-h', '', false, 0, 0, '', 'nomarginleft').' ';
print dol_htmlentities($obj->usercomment).':</span> <span class="comment">'.dol_nl2br(dol_htmlentities($obj->comment))."</span></div>";
print img_picto('', 'user', 'class="pictofixedwidth"').dol_htmlentities($obj->usercomment).':</span> <span class="comment">'.dol_nl2br(dol_htmlentities($obj->comment))."</span></div>";
}
}

View File

@ -7689,13 +7689,9 @@ table.jPicker {
}
/* ============================================================================== */
/* CSS style used for small screen */
/* CSS style used for survey */
/* ============================================================================== */
.topmenuimage {
background-size: 22px auto;
top: 2px;
}
.opensurveydescription * {
width: 100%;
}
@ -7713,6 +7709,22 @@ table.jPicker {
padding: 15px;
border-radius: 8px;
}
.survey_borders .resultats .nom {
text-align: <?php echo $left; ?>
}
.survey_borders .resultats .sujet, .survey_borders .resultats .jour {
min-width: 100px;
}
/* ============================================================================== */
/* CSS style used for small screen */
/* ============================================================================== */
.topmenuimage {
background-size: 22px auto;
top: 2px;
}
@media only screen and (max-width: 767px)
{
.imgopensurveywizard, .imgautosize { width:95%; height: auto; }

View File

@ -7623,7 +7623,7 @@ table.jPicker {
}
/* ============================================================================== */
/* CSS style used for small screen */
/* CSS style used for survey */
/* ============================================================================== */
.opensurveydescription * {
@ -7643,6 +7643,18 @@ table.jPicker {
padding: 15px;
border-radius: 8px;
}
.survey_borders .resultats .nom {
text-align: <?php echo $left; ?>
}
.survey_borders .resultats .sujet {
min-width: 100px;
}
/* ============================================================================== */
/* CSS style used for small screen */
/* ============================================================================== */
@media only screen and (max-width: 767px)
{
.imgopensurveywizard, .imgautosize { width:95%; height: auto; }