Changeset 7443 for main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentmanagepage.pt
- Timestamp:
- 9 Jan 2012, 15:55:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r7213 r7443 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class=" form-status" tal:define="status view/status" tal:condition="status"> Form Status:2 <div class="alert-message error" tal:define="status view/status" tal:condition="status"> Form Status: 3 3 <span i18n:translate="" tal:content="view/status"> Form status summary 4 4 </span> 5 5 </div> 6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form"enctype="multipart/form-data">7 < div id="tabs">8 < ul>9 <li>10 < a href="#tab-1">11 <span>Settings12 </span></a>13 </li>14 <li>15 <a href="#tab-2">Courses</a>16 </li>17 <li>18 <a href="#tab-3">Certificates</a>19 </li>20 <li>21 <a href="#tab-4">Local Roles</a>22 </li>23 </ul>24 <div id="tab-1" >25 <table class=" zebra">6 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 7 <ul class="tabs" data-tabs="tabs"> 8 <li class="active"> 9 <a href="#tab-1"> 10 <span>Settings 11 </span></a> 12 </li> 13 <li> 14 <a href="#tab-2">Courses</a> 15 </li> 16 <li> 17 <a href="#tab-3">Certificates</a> 18 </li> 19 <li> 20 <a href="#tab-4">Local Roles</a> 21 </li> 22 </ul> 23 <div class="tab-content"> 24 <div id="tab-1" class="active"> 25 <table class="form-table"> 26 26 <tbody> 27 27 <tal:block repeat="widget view/widgets"> 28 28 <tr> 29 <td class="label">29 <td> 30 30 <label tal:attributes="for widget/name"> 31 <span class="required"tal:condition="widget/required">*31 <span tal:condition="widget/required">* 32 32 </span> 33 33 <span i18n:translate="" tal:content="widget/label">label 34 34 </span>: 35 35 </label> </td> 36 <td class="field">37 <span class="widget"tal:content="structure widget">36 <td> 37 <span tal:content="structure widget"> 38 38 <input type="text" /> 39 39 </span> … … 43 43 </tal:error> 44 44 <tal:hint tal:condition="widget/hint"> 45 <span class="hint"tal:content="structure widget/hint">hint45 <span tal:content="structure widget/hint">hint 46 46 </span> 47 47 </tal:hint> </td> … … 50 50 </tbody> 51 51 </table> 52 <div class="actionButtons"tal:condition="view/availableActions">52 <div tal:condition="view/availableActions"> 53 53 <span tal:repeat="action view/actions" tal:omit-tag=""> 54 54 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> … … 69 69 </thead> 70 70 <tbody> 71 <tr tal:repeat="entry view/getCourses" class="grade B"> <td>71 <tr tal:repeat="entry view/getCourses" class="gradeC"> <td> 72 72 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 73 73 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 76 76 </tbody> 77 77 </table> 78 <div class="actionButtons"tal:condition="view/availableActions">78 <div tal:condition="view/availableActions"> 79 79 <span tal:repeat="action view/actions" tal:omit-tag=""> 80 80 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> … … 95 95 </thead> 96 96 <tbody> 97 <tr tal:repeat="entry view/getCertificates" class="grade B"> <td>97 <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td> 98 98 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 99 99 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 102 102 </tbody> 103 103 </table> 104 <div class="actionButtons"tal:condition="view/availableActions">104 <div tal:condition="view/availableActions"> 105 105 <span tal:repeat="action view/actions" tal:omit-tag=""> 106 106 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> … … 123 123 </thead> 124 124 <tbody> 125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="grade B"> <td>125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 126 126 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 127 127 <td tal:content="entry/user_name"> USERNAME </td> … … 131 131 </tbody> 132 132 </table> 133 <div class="actionButtons"tal:condition="view/availableActions">133 <div tal:condition="view/availableActions"> 134 134 <span tal:repeat="action view/actions" tal:omit-tag=""> 135 135 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 136 136 </span> 137 137 </div> <br /><br /> 138 <table class=" zebra">138 <table class="form-table"> 139 139 <tr> <td> 140 140 <select id="user" name="user">
Note: See TracChangeset for help on using the changeset viewer.