/[wopi2]/trunk/template/question_list.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/template/question_list.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (hide annotations)
Fri Jun 25 20:51:16 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/html
File size: 826 byte(s)
improvements, mostly in design.

1 dpavlin 6 <div class="question_list">
2     [% IF poll.questions -%]
3     <table id="zebra" cellspacing="0">
4     <thead>
5     <th>var</th>
6     <th>question</th>
7     <th>edit</th>
8     <th>del</th>
9     </thead>
10     <tbody>
11     [% FOR que IN poll.questions -%]
12     [% IF que %]
13     <tr[% IF order == que.order %] class="selected"[% END %]>
14     <td><em>[% que.var %] </em></td>
15     <td>[% que.q %]</td>
16     <td>
17     <a href="[% self %]?do=edit_question;order=[% loop.index %]"><img src="/icons/small/text.png" alt="edit" title="edit" border="0"></a>
18     </td>
19     <td>
20     <a href="[% self %]?do=delete_question;order=[% loop.index %]" onClick="confirm('Are you sure that you want to delete question [% loop.index %]?');" ><img src="/icons/small/burst.png" alt="delete" title="delete" border="0"></a>
21     </td>
22     </tr>
23     [% END -%]
24     [% END -%]
25     </tbody>
26     </table>
27     [% END -%]
28     </div>
29    

  ViewVC Help
Powered by ViewVC 1.1.26