[3] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
[276] | 2 | <!-- $Id$ --> |
---|
[3] | 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <title>[% page.title %]</title> |
---|
[36] | 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
[35] | 7 | <link rel="stylesheet" href="[% c.uri_for('/static', 'vote.css') %]" type="text/css"> |
---|
[3] | 8 | <link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon"> |
---|
[343] | 9 | [% FOREACH file = [ 'controls.js', 'dragdrop.js', 'effects.js', 'prototype.js' ] %] |
---|
| 10 | <script type="text/javascript" language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype', |
---|
| 11 | file) %]"></script> |
---|
| 12 | [% END %] |
---|
[3] | 13 | |
---|
[262] | 14 | <link rel="stylesheet" href="[% c.uri_for('/static', 'dhtmlxCalendar', 'dhtmlxcalendar.css') %]" type="text/css"> |
---|
[343] | 15 | [% FOREACH file = [ 'dhtmlxcommon.js', 'dhtmlxcalendar.js' ] %] |
---|
| 16 | <script type="text/javascript" language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar', |
---|
[422] | 17 | file) %]"></script> |
---|
[343] | 18 | [% END %] |
---|
[262] | 19 | |
---|
[3] | 20 | </head> |
---|
| 21 | <body> |
---|
[45] | 22 | <div id="header"> |
---|
[278] | 23 | <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p> |
---|
[345] | 24 | <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST"> |
---|
[321] | 25 | [% INCLUDE 'includes/locale_select.tt' %] |
---|
| 26 | <input type="submit"> |
---|
[279] | 27 | </form> |
---|
| 28 | <p id="menu" style="clear: both;"> |
---|
[284] | 29 | <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> :: |
---|
| 30 | <a href="[% c.uri_for('/newpoll') %]">[% l('Create a new poll') %]</a> |
---|
[45] | 31 | [% IF voteid %] |
---|
[226] | 32 | :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]"> |
---|
[284] | 33 | [% l('Your poll:') _ ' ' %][% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %] |
---|
[45] | 34 | </a> |
---|
| 35 | [% END %] |
---|
| 36 | </p> |
---|
| 37 | </div> |
---|