Changeset 37 for trunk/root


Ignore:
Timestamp:
03/16/09 00:12:04 (15 years ago)
Author:
nanardon
Message:
  • more html improvement
Location:
trunk/root
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/static/vote.css

    r36 r37  
    1515    border-style: outset; 
    1616    border-width: 5px; 
     17    padding: 1em; 
    1718} 
    1819 
     
    2425    border-style: outset; 
    2526    border-width: 5px; 
     27    padding: 1em; 
    2628} 
    2729 
    2830#vote_done {} 
     31 
     32#ballot { 
     33    border-style: inset; 
     34    border-width: 10px; 
     35    margin-left: 30%; 
     36    margin-right: 30%; 
     37    margin-top: 20px; 
     38    margin-bottom: 20px; 
     39    padding: 10px; 
     40    background-color: Silver; 
     41} 
  • trunk/root/templates/ballot/default.tt

    r22 r37  
    55[% INCLUDE 'includes/poll.tt' %] 
    66 
     7<div id="ballot"> 
     8<form action="[% c.uri_for(voteid) %]" method="POST"> 
    79[% IF c.req.param('ballot') %] 
    8 Confirmez votre vote: 
    9 <form action="[% c.uri_for(voteid) %]"> 
     10<p>Confirmez votre vote:</p> 
    1011[% FOREACH ch = c.req.param('sbal') %] 
    1112[% choices.$ch | html %] 
     
    1718<input type="hidden" name="fsbal" value="[% ch %]"> 
    1819[% END %] 
     20<hr> 
    1921<input type="submit" name="confirm"> 
    2022<input type="submit" name="Modify" value="Modifier mon vote"> 
     
    2325[% ELSE %] 
    2426 
    25 [% IF vote_error %][% vote_error %][% END %] 
     27[% IF vote_error %]<p class="alert">[% vote_error %]</p>[% END %] 
    2628 
    27 <form action="[% c.uri_for(voteid) %]"> 
    2829[% FOREACH choice = vote.vote_choices(voteid) %] 
    2930[% key = vote.choice_info(choice).key %] 
     
    3738[% count = count + 1 %] 
    3839[% END %] 
     40<hr> 
    3941<input type="submit" name="ballot"> 
    40 </form> 
    4142 
    4243[% END %] 
     44</form> 
     45</div> 
  • trunk/root/templates/ballot/done.tt

    r22 r37  
     1 
     2<div id="ballot"> 
    13Vote réussi. 
    24 
    3 Les résultats seront disponibles ici: 
    4 <a href="[% c.uri_for('/vote', voteid) %]">Ici</a>. 
     5<p>Les résultats seront disponibles ici: 
     6<a href="[% c.uri_for('/vote', voteid) %]">Ici</a>.</p> 
     7</div> 
Note: See TracChangeset for help on using the changeset viewer.