Ignore:
Timestamp:
1 May 2011, 12:00:22 (14 years ago)
Author:
Henrik Bettermann
Message:

Implement department manage page by using jQueryUI tabs.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt

    r4789 r6002  
    11<script type="text/javascript">
    22  var tabView = new YAHOO.widget.TabView('table-tabs');
    3 </script>
    4 <div id="table-tabs" class="yui-navset">
    5   <ul class="yui-nav">
    6     <li class="selected"><a href="#tab1"><em>Courses</em></a></li>
    7     <li><a href="#tab2"><em>Certificates</em></a></li>
    8   </ul>             
    9   <div class="yui-content">
    10     <div id="tab1">
    11        
    12       <div name="thecoursetable"
    13            tal:condition="python: len(context.courses.keys())">
    14         <div tal:replace="structure view/coursetable/renderHTML" />
    15       </div>
     3</script>
    164
     5<h2 i18n:translate=""
     6tal:condition="view/label"
     7tal:content="view/label">Label</h2>
     8
     9<div id="tabs">
     10    <ul>
     11      <li><a href="#tab-1"><span>Courses</span></a></li>
     12      <li><a href="#tab-2"><span>Certificates</span></a></li>
     13    </ul>
     14    <div id="tab-1"> 
     15        <div name="thecoursetable" tal:condition="python: len(context.courses.keys())">
     16        <div tal:replace="structure view/coursetable/renderHTML"></div>
     17        </div>
     18    </div>
     19    <div id="tab-2"> 
     20        <div name="thecerttable">
     21        <div tal:replace="structure view/certificatetable/renderHTML"></div>
     22        </div>
    1723    </div>
    18     <div id="tab2">
    19 
    20       <div name="thecerttable">
    21         <div tal:replace="structure view/certificatetable/renderHTML" />
    22       </div>
    23 
    24     </div>
    25   </div>
    2624</div>
Note: See TracChangeset for help on using the changeset viewer.