- Timestamp:
- 12 Jun 2012, 07:17:01 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/containermanagepage.pt
r7811 r8685 2 2 i18n:domain="waeup.kofa" 3 3 method="POST" enctype="multipart/form-data"> 4 <table> 5 <thead> 6 <tr> 7 <th> 8 </th> 9 <th i18n:translate="">Id 10 </th> 11 <th i18n:translate="">Name 12 </th> 13 </tr> 14 </thead> 15 <tbody> 16 <tr tal:repeat="hostel context/values"> <td> 17 <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td> 18 <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td> 19 <span tal:content="hostel/hostel_name">ID 20 </span> </td> 21 </tr> 22 </tbody> 23 </table> 24 <div tal:condition="view/availableActions"> 25 <span tal:repeat="action view/actions" tal:omit-tag=""> 26 <input tal:replace="structure action/render"/> 27 </span> 4 5 6 <ul class="tabs" data-tabs="tabs"> 7 <li tal:attributes="class view/tab1"> 8 <a href="#tab-1"> 9 <span i18n:translate="">Settings 10 </span></a> 11 </li> 12 <li tal:attributes="class view/tab2"> 13 <a href="#tab-2" i18n:translate="">Hostels</a> 14 </li> 15 </ul> 16 17 <div class="tab-content"> 18 <div id="tab-1" tal:attributes="class view/tab1"> 19 <table class="form-table"> 20 <tbody> 21 <tal:widgets content="structure provider:widgets" /> 22 </tbody> 23 </table> 24 <div tal:condition="view/availableActions"> 25 <span tal:repeat="action view/actions" tal:omit-tag=""> 26 <input tal:condition="python:action.label in view.taboneactions" 27 tal:replace="structure action/render"/> 28 </span> 29 </div> 30 </div> 31 <div id="tab-2" tal:attributes="class view/tab2"> <br /> 32 <table class="display dataTableManage"> 33 <thead> 34 <tr> 35 <th> 36 </th> 37 <th i18n:translate="">Id 38 </th> 39 <th i18n:translate="">Name 40 </th> 41 </tr> 42 </thead> 43 <tbody> 44 <tr tal:repeat="hostel context/values"> <td> 45 <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td> 46 <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td> 47 <span tal:content="hostel/hostel_name">ID 48 </span> </td> 49 </tr> 50 </tbody> 51 </table> 52 <div tal:condition="view/availableActions"> 53 <span tal:repeat="action view/actions" tal:omit-tag=""> 54 <input tal:condition="python:action.label in view.tabtwoactions" 55 tal:replace="structure action/render"/> 56 </span> 57 </div> 58 </div> 28 59 </div> 29 60 </form> -
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/containerpage.pt
r7811 r8685 1 <div i18n:domain="waeup.kofa" 2 i18n:translate="" tal:condition="python: not len(context.keys())"> 3 There no subobjects registered yet. 4 </div> 1 <table class="form-table" i18n:domain="waeup.kofa"> 2 <tbody> 3 <tal:block repeat="widget view/widgets"> 4 <tr> 5 <td class="fieldname"> 6 <span tal:content="widget/label">LABEL</span>: 7 </td> 8 <td> 9 <span tal:content="structure widget"> 10 <input type="text" /> 11 </span> 12 </td> 13 </tr> 14 </tal:block> 15 </tbody> 16 </table> 5 17 6 18 <table i18n:domain="waeup.kofa">
Note: See TracChangeset for help on using the changeset viewer.