Changeset 169 for trunk/root


Ignore:
Timestamp:
04/06/09 23:59:10 (15 years ago)
Author:
nanardon
Message:
  • split ballot admin page into subsection
Location:
trunk/root
Files:
1 added
5 edited

Legend:

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

    r109 r169  
    127127#vote_done {} 
    128128 
    129 #ballot { 
     129.ballot { 
    130130    border-style: inset; 
    131131    border-width: 10px; 
     132    padding: 10px; 
     133    background-color: Silver; 
     134} 
     135 
     136#ballot { 
    132137    margin-left: 30%; 
    133138    margin-right: 30%; 
    134139    margin-top: 20px; 
    135140    margin-bottom: 20px; 
    136     padding: 10px; 
    137     background-color: Silver; 
    138141} 
    139142 
  • trunk/root/templates/admin/default.tt

    r167 r169  
    4545<input type="text" name="free_choice" value="[% c.req.param('free_choice') || thisvote.free_choice || 0 | html %]"> 
    4646<br> 
    47 <input type="submit" value="Enregistrer"> 
     47<input type="submit" name="pollparam" value="Enregistrer"> 
    4848</form> 
    4949</td> 
  • trunk/root/templates/ballot/default.tt

    r164 r169  
    3737[% INCLUDE 'includes/ballot_form.tt' %] 
    3838 
    39 <hr> 
    40 <input type="submit" name="ballot" value="Voter &gt;&gt;"> 
    4139<p>Votre vote ne sera pris en compte qu'aprÚs confirmation</p> 
    4240[% END %] 
  • trunk/root/templates/includes/admin_menu.tt

    r167 r169  
    55<a href="[% c.uri_for('/admin', voteid) %]">[% poll.info.label | html %]</a> 
    66:: <a href="[% c.uri_for('/admin', voteid, 'voting') %]">Electeurs</a> 
     7[% IF poll.status == 'BEFORE' %] 
     8:: <a href="[% c.uri_for('/admin', voteid, 'ballot') %]">Bulletins</a> 
     9[% END %] 
    710</div> 
  • trunk/root/templates/includes/ballot_form.tt

    r165 r169  
    1 [% vote = c.model('Vote') %] 
    21[% poll = c.model('Vote').poll(voteid) %] 
    32[% thisvote = poll.info() %] 
     
    1514[% count = count + 1 %] 
    1615[% END %] 
     16<hr> 
     17<input type="submit" name="ballot" value="Voter &gt;&gt;"> 
Note: See TracChangeset for help on using the changeset viewer.