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

Last change on this file since 446 was 446, checked in by misc, 14 years ago
  • put the style outside of the widget to change language
  • Property svn:keywords set to Id Rev
File size: 1.5 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   
25    <p id="locale_select" style="float: right">[% INCLUDE 'includes/locale_select.tt' %]</p>
26    <p id="menu" style="clear: both;">
27    <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> ::
28    <a href="[% c.uri_for('/newpoll') %]">[% l('Create a new poll') %]</a>
29    [% IF voteid %]
30    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
31        [% l('Your poll:') _ ' ' %][% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
32    </a>
33    [% END %]
34    </p>
35</div>
Note: See TracBrowser for help on using the repository browser.