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

Last change on this file since 276 was 276, checked in by nanardon, 15 years ago
  • chomp whitespace
  • add macro for locales
  • Property svn:keywords set to Id Rev
File size: 1.7 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
10<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
11    'controls.js') %]"></SCRIPT>
12<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
13    'dragdrop.js') %]"></SCRIPT>
14<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
15    'effects.js') %]"></SCRIPT>
16<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
17    'prototype.js') %]"></SCRIPT>
18
19<link rel="stylesheet" href="[% c.uri_for('/static', 'dhtmlxCalendar', 'dhtmlxcalendar.css') %]" type="text/css">
20<script language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
21    'dhtmlxcommon.js') %]"></SCRIPT>
22<script language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
23    'dhtmlxcalendar.js') %]"></SCRIPT>
24
25</head>
26<body>
27<div id="header">
28    <p id="title"><b>Epoll:</b> [% c.loc('systÚme de vote en ligne') %]</p>
29    <p id="now" style="float: right">Page générée le [% c.model('Vote').dbtime | html %]</p>
30    <p id="menu">
31    <a href="[% c.uri_for('/') %]">Acceuil</a> ::
32    <a href="[% c.uri_for('/newpoll') %]">Créer un nouveau vote</a>
33    [% IF voteid %]
34    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
35        Votre vote: [% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
36    </a>
37    [% END %]
38    </p>
39</div>
Note: See TracBrowser for help on using the repository browser.