source: trunk/root/templates/includes/header.tt @ 427

Last change on this file since 427 was 427, checked in by misc, 14 years ago
  • move the date/time to the bottom of the page, so the upper corner is

free to place something else

  • Property svn:keywords set to Id Rev
File size: 1.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- $Id$ -->
3<html>
4<head>
5<title>[% page.title %]</title>
6<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7<link rel="stylesheet" href="[% c.uri_for('/static', 'vote.css') %]" type="text/css">
8<link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon">
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 %]
13
14<link rel="stylesheet" href="[% c.uri_for('/static', 'dhtmlxCalendar', 'dhtmlxcalendar.css') %]" type="text/css">
15[% FOREACH file = [ 'dhtmlxcommon.js', 'dhtmlxcalendar.js' ] %]
16<script type="text/javascript" language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
17    file) %]"></script>
18[% END %]
19
20</head>
21<body>
22<div id="header">
23    <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p>
24        <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST">
25        [% INCLUDE 'includes/locale_select.tt' %]
26        <input type="submit">
27        </form>
28    <p id="menu" style="clear: both;">
29    <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> ::
30    <a href="[% c.uri_for('/newpoll') %]">[% l('Create a new poll') %]</a>
31    [% IF voteid %]
32    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
33        [% l('Your poll:') _ ' ' %][% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
34    </a>
35    [% END %]
36    </p>
37</div>
Note: See TracBrowser for help on using the repository browser.