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

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

Rebuild applicants package (1st part). Applicants now have an applicant_id and a password and can use the regular login page to enter the portal.

Add user_type attribute to SIRPPrincipal objects.

Add some permissions in students package.

Some tests are still missing and will be re-added soon.

File size: 4.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')" type="text/css" />
13    <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" />
14    <link rel="alternate" type="application/rss+xml" title="RSS"
15        href="http://www.example.net/feed.rss"
16        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
17            href python: view.url(layout.site, 'feed.rss')" />
18
19  </head>
20  <body class="rounded yui-skin-sam">
21    <div id="doc3" class="yui-t7">
22      <div id="hd" role="banner">
23        <div id="hd">
24          <h1 id="logo">
25            <a href="" tal:attributes="href view/application_url">
26              <span class="uni-logo">
27              </span> </a>
28            <span id="uni-title" tal:content="layout/getAppTitle"> Sample University
29            </span> </h1>
30          <div id="navigation" class="yui-navset" style="text-align:right;">
31            <ul id="primary-navigation">
32              <tal:primary_nav content="structure provider:primary_nav" />
33              <tal:primary_nav content="structure provider:primary_nav_student" />
34            </ul>
35            <ul id="user-navigation">
36              <li tal:condition="not: layout/isAuthenticated">
37              <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
38                  Login
39              </a>
40              </li>
41              <li tal:condition="layout/isAuthenticated">
42              <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
43                  Contact
44              </a>
45              </li>
46              <li tal:condition="layout/isAuthenticated">
47              <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
48              </li>
49            </ul>
50            <div class="clear">
51            </div>
52          </div>
53        </div>
54      </div>
55      <div id="bd" role="main">
56
57        <div class="yui-b">
58          <div class="block" >
59            <div class="studentmenu">
60              <div tal:condition="layout/getStudentName"
61                   tal:replace="structure provider:top_student">
62                Student Links
63              </div>
64              <div tal:content="structure provider:actionbar">
65                Student Actions
66              </div>
67            </div>
68          </div>
69        </div>
70
71        <div id="yui-main">
72          <div class="yui-b">
73            <div class="yui-g">
74              <div class="block">
75                <div class="bd">
76                  <div class="actionbar">
77                    <span tal:condition="layout/getStudentName" class="wfstatus">
78                    Id:
79                    <span tal:replace="python:context.getStudent().student_id"
80                        class="wfstatus">Id</span>
81                    &nbsp;&nbsp;
82                    State:
83                    <span tal:replace="python:context.getStudent().state"
84                        class="wfstatus">State</span>
85                    </span>
86                  </div>
87                  <div class="alert warning ui-state-error"
88                      tal:define="message context/@@messages"
89                      tal:condition="python: len(message)>11">
90                    <span class="ui-icon ui-icon-alert">A
91                    </span>
92                    <span tal:content="structure message">
93                    </span>
94                  </div>
95                  <div tal:replace="structure view/content"> THE CONTENT
96                  </div>
97                </div>
98              </div>
99            </div>
100          </div>
101        </div>
102
103      </div>
104      <div id="ft" role="contentinfo">
105        <p>Student Information and Registration Portal<br />
106            Copyright &copy; WAeUP Group, 2008-2011
107        </p>
108      </div>
109    </div>
110  </body>
111</html>
Note: See TracBrowser for help on using the repository browser.