Ignore:
Timestamp:
11 Jan 2012, 09:49:58 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7240 r7449  
    1616        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
    1717            href python: view.url(layout.site, 'feed.rss')" />
    18 
    1918  </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">
     19  <body>
     20    <div class="topbar" data-scrollspy="scrollspy" >
     21      <div class="topbar-inner">
     22        <div  class="container">
     23          <a class="brand" href="#">Acronym</a>
     24          <ul class="nav">
    3225              <tal:primary_nav content="structure provider:primary_nav" />
    3326              <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>
     27          </ul>
     28          <ul class="nav secondary-nav">
     29            <li tal:condition="not: layout/isAuthenticated">
     30            <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
     31                Login
     32            </a>
     33            </li>
     34            <li tal:condition="layout/isAuthenticated">
     35            <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     36                Contact
     37            </a>
     38            </li>
     39            <li tal:condition="layout/isAuthenticated">
     40            <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
     41            </li>
     42          </ul>
     43        </div>
     44      </div>
     45    </div>
     46
     47    <div class="container">
     48      <div class="content">
     49        <div tal:define="message context/@@messages"
     50             tal:condition="python: len(message)>11">
     51          <div tal:content="structure message">
    5252          </div>
    5353        </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>
     54        <div tal:condition="provider:actionbar">
     55          <span tal:replace="structure provider:actionbar" />
     56          <br /><br />
    6957        </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>
     58        <div tal:content="structure view/content"> THE CONTENT
    10159        </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>
     60        <div class="footer">
     61          <p class="pull-right"><a href="#">Back to top</a></p>
     62          <p>
     63            Student Information and Registration Portal<br />
     64            Copyright &copy; WAeUP Group, 2008-2012
     65          </p>
     66        </div>
    10867      </div>
    10968    </div>
     69
    11070  </body>
    11171</html>
Note: See TracChangeset for help on using the changeset viewer.