Ignore:
Timestamp:
16 Jan 2012, 07:06:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Redirect to specified tabs using the request's QUERY_STRING value. This suboptimal solution will be replaced later by a pure Javascript solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/hostelmanagepage.pt

    r7464 r7484  
    33
    44  <ul class="tabs" data-tabs="tabs">
    5     <li class="active"><a href="#tab-1"><span>Hostel Data</span></a></li>
    6     <li><a href="#tab-2"><span>Beds</span></a></li>
     5    <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Hostel Data</span></a></li>
     6    <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Beds</span></a></li>
    77  </ul>
    88
    99  <div class="tab-content">
    10     <div id="tab-1" class="active">
     10    <div id="tab-1" tal:attributes="class view/tab1">
    1111      <table class="form-table">
    1212      <tbody>
     
    4141    </div>
    4242
    43     <div id="tab-2">
     43    <div id="tab-2" tal:attributes="class view/tab2">
    4444      <h3>Beds</h3>
    4545      <table class="display dataTableManage">
Note: See TracChangeset for help on using the changeset viewer.