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

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

Merge Bootstrap branch into trunk.

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