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

Last change on this file since 255 was 255, checked in by nanardon, 15 years ago
  • use prototype to validate poll date
  • Property svn:keywords set to Id Rev
File size: 1.5 KB
RevLine 
[3]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<title>[% page.title %]</title>
[36]5<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[35]6<link rel="stylesheet" href="[% c.uri_for('/static', 'vote.css') %]" type="text/css">
[3]7<link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon">
8
[61]9<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'CalendarPopup.js') %]"></SCRIPT>
[255]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>
[61]18
[3]19</head>
20<body>
[227]21<!-- $Id$ -->
[45]22<div id="header">
23    <p id="title"><b>Epoll:</b> systÚme de vote en ligne</p>
[109]24    <p id="now" style="float: right">Page générée le [% c.model('Vote').dbtime | html %]</p>
[45]25    <p id="menu">
[252]26    <a href="[% c.uri_for('/') %]">Acceuil</a> ::
[45]27    <a href="[% c.uri_for('/newpoll') %]">Créer un nouveau vote</a>
28    [% IF voteid %]
[226]29    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
[206]30        Votre vote: [% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
[45]31    </a>
32    [% END %]
33    </p>
34</div>
Note: See TracBrowser for help on using the repository browser.