- Timestamp:
- 12 Jan 2012, 16:19:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt
r7240 r7459 10 10 <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/> 11 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" /> 12 tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')" 13 type="text/css" /> 13 14 <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" /> 14 15 <link rel="alternate" type="application/rss+xml" title="RSS" … … 16 17 tal:attributes="title string:RSS feed of ${layout/getAppTitle}; 17 18 href python: view.url(layout.site, 'feed.rss')" /> 18 19 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"> 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"> 32 26 <tal:primary_nav content="structure provider:primary_nav" /> 33 27 <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> 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> 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"> 52 65 </div> 53 66 </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> 67 <span tal:replace="structure provider:actionbar" /> 68 <div tal:content="structure view/content"> THE CONTENT 69 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 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> 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 © WAeUP Group, 2008-2012 75 </p> 101 76 </div> 102 103 </div>104 <div id="ft" role="contentinfo">105 <p>Student Information and Registration Portal<br />106 Copyright © WAeUP Group, 2008-2011107 </p>108 77 </div> 109 78 </div>
Note: See TracChangeset for help on using the changeset viewer.