source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt @ 7669

Last change on this file since 7669 was 7669, checked in by Henrik Bettermann, 13 years ago

Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.

File size: 3.9 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml"
3      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4      i18n:domain="waeup.sirp"
5      xml:lang="en">
6  <head>
7    <title>WAeUP - your way up
8    </title>
9    <!--base href="http://localhost:8080/app/@@page"
10     tal:attributes="href python: view.url(layout.site)" / -->
11    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
12    <meta name="robots" content="index, follow" />
13    <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/>
14    <link rel="stylesheet" media="only screen and (max-device-width: 480px)"
15        tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')"
16        type="text/css" />
17    <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" />
18    <link rel="alternate" type="application/rss+xml" title="RSS"
19        href="http://www.example.net/feed.rss"
20        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
21            href python: view.url(layout.site, 'feed.rss')" />
22  </head>
23  <body>
24    <div class="topbar" data-scrollspy="scrollspy" >
25      <div class="topbar-inner">
26        <div  class="container">
27          <a class="brand" href="#"
28              tal:attributes="href python: view.url(layout.site)"
29              tal:content="layout/getAppAcronym">Acronym</a>
30          <ul class="nav">
31              <tal:primary_nav content="structure provider:primary_nav" />
32              <tal:primary_nav content="structure provider:primary_nav_student" />
33          </ul>
34          <ul class="nav secondary-nav">
35            <li tal:condition="not: layout/isAuthenticated">
36            <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
37                Login
38            </a>
39            </li>
40            <li tal:condition="layout/isAuthenticated">
41            <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
42                Contact
43            </a>
44            </li>
45            <li tal:condition="layout/isAuthenticated">
46            <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
47            </li>
48          </ul>
49        </div>
50      </div>
51    </div>
52    <div class="container">
53      <ul class="student-info-bar" tal:condition="layout/isAuthenticated">
54        <tal:breadcrumbs
55              tal:condition="python: layout.isAuthenticated()"
56              tal:content="structure provider:breadcrumbs" />
57        <span tal:condition="layout/getStudentName" class="wfstatus">
58            <span tal:replace="python:context.getStudent().student_id">Id
59            </span>
60            |
61            <span tal:replace="python:context.getStudent().state">State
62            </span>
63        </span>
64      </ul>
65      <div class="content">
66        <div class="actionbar" tal:condition="provider:actionbar">
67          <tal:actionbar content="structure provider:actionbar" />&nbsp;
68        </div>
69        <div tal:define="message context/@@messages"
70             tal:condition="python: len(message)>11">
71          <div tal:content="structure message">
72          </div>
73        </div>
74        <div class="alert-message error"
75          tal:define="status view/status|nothing"
76          tal:condition="status">
77          Form Status:
78          <span tal:content="view/status">
79            Form status summary
80          </span>
81        </div>
82        <h1 tal:condition="view/label|nothing"
83            tal:content="view/label">Label</h1>
84        <div tal:content="structure view/content"> THE CONTENT
85        </div>
86        <div class="footer">
87          <p>
88            Student Information and Registration Portal<br />
89            Copyright &copy; WAeUP Group, 2008-2012
90          </p>
91        </div>
92      </div>
93    </div>
94  </body>
95</html>
Note: See TracBrowser for help on using the repository browser.