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

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

Contract breadcrumb to avoid line breaks in breadcrumb bar.

File size: 3.8 KB
RevLine 
[6690]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)"
[7459]12        tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')"
13        type="text/css" />
[6690]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>
[7459]20  <body>
21    <div class="topbar" data-scrollspy="scrollspy" >
22      <div class="topbar-inner">
23        <div  class="container">
[7461]24          <a class="brand" href="#"
25              tal:attributes="href python: view.url(layout.site)"
26              tal:content="layout/getAppAcronym">Acronym</a>
[7459]27          <ul class="nav">
[7184]28              <tal:primary_nav content="structure provider:primary_nav" />
[6693]29              <tal:primary_nav content="structure provider:primary_nav_student" />
[7459]30          </ul>
31          <ul class="nav secondary-nav">
32            <li tal:condition="not: layout/isAuthenticated">
33            <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
34                Login
35            </a>
36            </li>
37            <li tal:condition="layout/isAuthenticated">
38            <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
39                Contact
40            </a>
41            </li>
42            <li tal:condition="layout/isAuthenticated">
43            <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
44            </li>
45          </ul>
[6690]46        </div>
47      </div>
[7459]48    </div>
49    <div class="container">
50      <ul class="student-info-bar" tal:condition="layout/isAuthenticated">
51        <tal:breadcrumbs
52              tal:condition="python: layout.isAuthenticated()"
53              tal:content="structure provider:breadcrumbs" />
54        <span tal:condition="layout/getStudentName" class="wfstatus">
55            <span tal:replace="python:context.getStudent().student_id">Id
[7551]56            </span>
57            |
[7459]58            <span tal:replace="python:context.getStudent().state">State
59            </span>
60        </span>
61      </ul>
62      <div class="content">
[7469]63        <div class="actionbar" tal:condition="provider:actionbar">
64          &nbsp;<tal:actionbar content="structure provider:actionbar" />
65        </div>
[7459]66        <div tal:define="message context/@@messages"
67             tal:condition="python: len(message)>11">
68          <div tal:content="structure message">
[6690]69          </div>
70        </div>
[7463]71        <div class="alert-message error"
72          tal:define="status view/status|nothing"
73          tal:condition="status">
74          Form Status:
75          <span i18n:translate="" tal:content="view/status">
76            Form status summary
77          </span>
78        </div>
[7464]79        <h2 i18n:translate="" tal:condition="view/label|nothing"
80            tal:content="view/label">Label</h2>
[7459]81        <div tal:content="structure view/content"> THE CONTENT
[6690]82        </div>
[7459]83        <div class="footer">
84          <p>
85            Student Information and Registration Portal<br />
86            Copyright &copy; WAeUP Group, 2008-2012
87          </p>
88        </div>
[6690]89      </div>
90    </div>
91  </body>
92</html>
Note: See TracBrowser for help on using the repository browser.