From d5c1081b98246ab45834908ff0f198da2730bad9 Mon Sep 17 00:00:00 2001 From: pyg77 <pyg@framasoft.net> Date: Thu, 14 Mar 2013 14:24:58 +0100 Subject: [PATCH] Meilleur affichage du cadre de rappel --- studs.php | 10 +++++----- style.css | 8 +++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/studs.php b/studs.php index 5b5c51f8..deba752b 100644 --- a/studs.php +++ b/studs.php @@ -240,17 +240,17 @@ $titre=str_replace("\\","",$dsondage->titre); echo '<H2>'.stripslashes($titre).'</H2>'."\n"; //affichage du nom de l'auteur du sondage -echo _("Initiator of the poll") .' : '.stripslashes($dsondage->nom_admin).'<br>'."\n"; -echo 'Adresse : <code>'.getUrlSondage($dsondage->id_sondage).'</code><br>'."\n";; +echo '<div class="initiator"><span class="mlabel">'. _("Initiator of the poll") .' :</span><span class="nom"> '.stripslashes($dsondage->nom_admin).'</span></div>'."\n"; +echo '<div class="adress"><span class="mlabel">'.'Adresse : </span><code>'.getUrlSondage($dsondage->id_sondage).'</code></div>'."\n";; //affichage des commentaires du sondage if ($dsondage->commentaires) { - echo _("Comments") .' :<br>'."\n"; + echo '<div class="admin_comment"><span class="mlabel">'._("Comments") .' :</span><br>'."\n"; $commentaires = $dsondage->commentaires; $commentaires=nl2br(str_replace("\\","",$commentaires)); - echo $commentaires; - echo '<br>'."\n"; + echo '<span class="mcontent">'. $commentaires .'</span>'; + echo '</div>'."\n"; } echo '<br>'."\n"; diff --git a/style.css b/style.css index 0011eccb..d3be3dc3 100644 --- a/style.css +++ b/style.css @@ -288,6 +288,11 @@ div.bodydate table{ font-size:12px; font-weight:bold; } + +.mlabel { + font-weight: bold; +} + /*cadre de commentaires*/ div.presentationdate { width:70%; @@ -333,6 +338,7 @@ div.cadre { text-align:center; margin:0 auto; } + /*information au sujet de la participation au sondage*/ div.cadre div.information { margin-bottom:20px; @@ -364,7 +370,7 @@ div.cadre td.vide, div.cadre td.sujet { text-align:center; } -div.cadre td.vide, div.cadre td.ok, div.cadre td.non, div.cadre td.sujet, div.cadre td.nom { +div.cadre td.vide, div.cadre td.ok, div.cadre td.non, div.cadre td.sujet, div.cadre td.nom, div.cadre td.jour { border-right: 1px solid #BBB !important; border-bottom: 1px solid #BBB !important; -- GitLab