- Timestamp:
- 23 Jun 2011, 07:06:33 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/searchpage.pt
r6455 r6460 41 41 </tbody> 42 42 </table> 43 <div id="actionsView">43 <div class="actionButtons"> 44 44 <input type="submit" name="disable" value="Disable ACs" /> 45 45 <input type="submit" name="enable" value="Enable ACs" /> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt
r6345 r6460 41 41 </table> 42 42 43 <div id="actionsView"> 44 <span class="actionButtons" tal:condition="view/availableActions"> 45 <input tal:repeat="action view/actions" 43 <span class="actionButtons" tal:condition="view/availableActions"> 44 <input tal:repeat="action view/actions" 46 45 tal:replace="structure action/render" 47 46 /> 48 </span> 49 </div> 47 </span> 50 48 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6383 r6460 54 54 </tbody> 55 55 </table> 56 <div id="actionsView"> 57 <span class="actionButtons" tal:condition="view/availableActions"> 58 <span tal:repeat="action view/actions" tal:omit-tag=""> 59 <input tal:condition="python:action.label in view.taboneactions" 60 tal:replace="structure action/render"/> 61 </span> 62 </span> 63 </div> 56 <span class="actionButtons" tal:condition="view/availableActions"> 57 <span tal:repeat="action view/actions" tal:omit-tag=""> 58 <input tal:condition="python:action.label in view.taboneactions" 59 tal:replace="structure action/render"/> 60 </span> 61 </span> 64 62 </div> 65 63 <div id="tab-2"> <h3>Applicants</h3> … … 90 88 </tbody> 91 89 </table><br /><br /> 92 <div id="actionsView"> 93 <span class="actionButtons" tal:condition="view/availableActions"> 94 <span tal:repeat="action view/actions" tal:omit-tag=""> 95 <input tal:condition="python:action.label in view.tabtwoactions" 96 tal:replace="structure action/render"/> 97 </span> 90 <span class="actionButtons" tal:condition="view/availableActions"> 91 <span tal:repeat="action view/actions" tal:omit-tag=""> 92 <input tal:condition="python:action.label in view.tabtwoactions" 93 tal:replace="structure action/render"/> 98 94 </span> 99 </ div>95 </span> 100 96 </div> 101 97 <div id="tab-3"> <br /> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
r6184 r6460 10 10 </ul> 11 11 </div> 12 <form action="." tal:attributes="action request/URL" method="POST" 13 class="edit-form" enctype="multipart/form-data"> 12 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 14 13 <div id="tabs"> 15 14 <ul> … … 42 41 <tbody> 43 42 <tr tal:repeat="entry context/values" class="gradeB"> <td> 44 <input type="checkbox" name="val_id" 45 tal:attributes="value entry/__name__" /> </td> 43 <input type="checkbox" name="val_id" tal:attributes="value entry/__name__" /> </td> 46 44 <td tal:content="entry/year">Year </td> <td> 47 <a href="" tal:attributes="href python:view.url(entry)" 48 tal:content="entry/__name__">Code</a> </td> 45 <a href="" tal:attributes="href python:view.url(entry)" tal:content="entry/__name__">Code</a> </td> 49 46 <td tal:content="entry/title">Title </td> 50 47 </tr> 51 48 </tbody> 52 49 </table> 53 <div id="actionsView"> 54 <span class="actionButtons" tal:condition="view/availableActions"> 55 <span tal:repeat="action view/actions" tal:omit-tag=""> 56 <input tal:condition="python:action.label in view.taboneactions" 57 tal:replace="structure action/render"/> 58 </span> 50 <span class="actionButtons" tal:condition="view/availableActions"> 51 <span tal:repeat="action view/actions" tal:omit-tag=""> 52 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 59 53 </span> 60 </ div>54 </span> 61 55 </div> 62 56 <div id="tab-2"> <br /> 63 <table class="display dataTableManage"> 64 <thead> 65 <tr> 66 <th> 67 </th> 68 <th>User Id 69 </th> 70 <th>Name 71 </th> 72 <th>Local Role 73 </th> 74 </tr> 75 </thead> 76 <tbody> 77 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 78 <td> 79 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 80 </td> 81 <td tal:content="entry/user_name"> USERNAME 82 </td> 83 <td tal:content="entry/user_title"> USERTITLE 84 </td> 85 <td tal:content="entry/local_role_title"> LOCAL ROLE 86 </td> 87 </tr> 88 </tbody> 89 </table> <br /><br /> 90 <div class="actionButtons" tal:condition="view/availableActions"> 91 <span tal:repeat="action view/actions" tal:omit-tag=""> 92 <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/> 93 </span> 94 </div> <br /><br /> 95 <table class="zebra"> 96 <tr> 97 <td> 98 <select id="user" name="user"> 99 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 100 <span tal:replace="user/val/description">USERTITLE 101 </span> 102 </option> 103 </select> 104 </td> 105 <td> 106 <select id="local_role" name="local_role"> 107 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 108 <span tal:replace="localrole/title">LOCALROLETITLE 109 </span> 110 </option> 111 </select> 112 </td> 113 <td> 114 <div class="actionButtons" tal:condition="view/availableActions"> 115 <span tal:repeat="action view/actions" tal:omit-tag=""> 116 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/> 117 </span> 118 </div> 119 </td> 120 </tr> 121 </table> 57 <table class="display dataTableManage"> 58 <thead> 59 <tr> 60 <th> 61 </th> 62 <th>User Id 63 </th> 64 <th>Name 65 </th> 66 <th>Local Role 67 </th> 68 </tr> 69 </thead> 70 <tbody> 71 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td> 72 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 73 <td tal:content="entry/user_name"> USERNAME </td> 74 <td tal:content="entry/user_title"> USERTITLE </td> 75 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 76 </tr> 77 </tbody> 78 </table> 79 <div class="actionButtons" tal:condition="view/availableActions"> 80 <span tal:repeat="action view/actions" tal:omit-tag=""> 81 <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/> 82 </span> 83 </div> <br /><br /> 84 <table class="zebra"> 85 <tr> <td> 86 <select id="user" name="user"> 87 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 88 <span tal:replace="user/val/description">USERTITLE 89 </span> 90 </option> 91 </select> </td> <td> 92 <select id="local_role" name="local_role"> 93 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 94 <span tal:replace="localrole/title">LOCALROLETITLE 95 </span> 96 </option> 97 </select> </td> <td> 98 <div tal:condition="view/availableActions"> 99 <span tal:repeat="action view/actions" tal:omit-tag=""> 100 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/> 101 </span> 102 </div> </td> 103 </tr> 104 </table> 122 105 </div> 123 106 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt
r6355 r6460 67 67 </p> 68 68 69 <div id="actionsView"> 70 <span class="actionButtons" tal:condition="view/availableActions"> 71 <input tal:repeat="action view/actions" 72 tal:replace="structure action/render" 73 /> 74 </span> 75 </div> 69 <span class="actionButtons" tal:condition="view/availableActions"> 70 <input tal:repeat="action view/actions" 71 tal:replace="structure action/render" 72 /> 73 </span> 76 74 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeup-base.css
r6447 r6460 53 53 54 54 .block .bd { 55 padding-bottom: 3em; 55 padding-bottom: 1em; 56 } 57 58 .actionButtons { 59 padding-top: 3em; 56 60 } 57 61 … … 98 102 99 103 .dataTables_info { 100 padding-top: 1 0px;104 padding-top: 15px; 101 105 } 102 106 103 107 .dataTables_paginate { 104 padding-top: 1 0px;108 padding-top: 15px; 105 109 } 106 110 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r6345 r6460 47 47 </tbody> 48 48 </table> 49 50 <div id="actionsView"> 51 <span class="actionButtons" tal:condition="view/availableActions"> 52 <span tal:repeat="action view/actions" 53 tal:omit-tag=""> 54 <input tal:condition="python:action.label in view.taboneactions" 55 tal:replace="structure action/render"/> 56 </span> 57 </span> 58 </div> 49 <span class="actionButtons" tal:condition="view/availableActions"> 50 <span tal:repeat="action view/actions" 51 tal:omit-tag=""> 52 <input tal:condition="python:action.label in view.taboneactions" 53 tal:replace="structure action/render"/> 54 </span> 55 </span> 59 56 60 57 </div> … … 107 104 </tbody> 108 105 </table> 109 110 <div id="actionsView"> 111 <span class="actionButtons" tal:condition="view/availableActions"> 112 <span tal:repeat="action view/actions" 113 tal:omit-tag=""> 114 <input tal:condition="python:action.label in view.tabtwoactions" 115 tal:replace="structure action/render"/> 116 </span> 117 </span> 118 </div> 106 <span class="actionButtons" tal:condition="view/availableActions"> 107 <span tal:repeat="action view/actions" 108 tal:omit-tag=""> 109 <input tal:condition="python:action.label in view.tabtwoactions" 110 tal:replace="structure action/render"/> 111 </span> 112 </span> 119 113 120 114 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt
r6345 r6460 40 40 </tbody> 41 41 </table> 42 43 <div id="actionsView"> 44 <span class="actionButtons" tal:condition="view/availableActions"> 45 <input tal:repeat="action view/actions" 46 tal:replace="structure action/render" 47 /> 48 </span> 49 </div> 42 <span class="actionButtons" tal:condition="view/availableActions"> 43 <input tal:repeat="action view/actions" 44 tal:replace="structure action/render" 45 /> 46 </span> 50 47 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r6345 r6460 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class="form-status" 3 tal:define="status view/status" 4 tal:condition="status"> 5 Form Status: 6 <span i18n:translate="" tal:content="view/status"> 7 Form status summary 8 </span> 2 <div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status: 3 <span i18n:translate="" tal:content="view/status"> Form status summary 4 </span> 9 5 </div> 10 6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 11 <div id="tabs"> 12 <ul> 13 <li> 14 <a href="#tab-1"> 15 <span>Settings 16 </span></a> 17 </li> 18 <li> 19 <a href="#tab-2">Courses</a></li> 20 <li> 21 <a href="#tab-3">Certificates</a> 22 </li> 23 <li> 24 <a href="#tab-4">Local Roles</a> 25 </li> 26 </ul> 27 <div id="tab-1"> 28 <table class="zebra"> 29 <tbody> 30 <tal:block repeat="widget view/widgets"> 31 <tr> 32 <td class="label"> 33 <label tal:attributes="for widget/name"> 34 <span class="required" tal:condition="widget/required">*</span> 35 <span i18n:translate="" tal:content="widget/label">label</span>: 36 </label> 37 </td> 38 <td class="field"> 39 <span class="widget" tal:content="structure widget"> 40 <input type="text" /> 41 </span> 42 <tal:error tal:condition="widget/error"> 43 <span tal:replace="structure widget/error">error</span> 44 </tal:error> 45 <tal:hint tal:condition="widget/hint"> 46 <span class="hint" tal:content="structure widget/hint">hint</span> 47 </tal:hint> 48 </td> 49 </tr> 50 </tal:block> 51 </tbody> 52 </table> 53 <div class="actionButtons" tal:condition="view/availableActions"> 54 <span tal:repeat="action view/actions" tal:omit-tag=""> 55 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 7 <div id="tabs"> 8 <ul> 9 <li> 10 <a href="#tab-1"> 11 <span>Settings 12 </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"> 26 <tbody> 27 <tal:block repeat="widget view/widgets"> 28 <tr> 29 <td class="label"> 30 <label tal:attributes="for widget/name"> 31 <span class="required" tal:condition="widget/required">* 32 </span> 33 <span i18n:translate="" tal:content="widget/label">label 34 </span>: 35 </label> </td> 36 <td class="field"> 37 <span class="widget" tal:content="structure widget"> 38 <input type="text" /> 56 39 </span> 57 </div> 58 </div> 59 <div id="tab-2"> <br /> 60 <table class="display dataTableManage"> 61 <thead> 62 <tr> 63 <th> </th> 64 <th>Code</th> 65 <th>Title</th> 66 </tr> 67 </thead> 68 <tbody> 69 <tr tal:repeat="entry view/getCourses" class="gradeB"> <td> 70 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 71 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> 72 <td tal:content="entry/container/title"> Title </td> 73 </tr> 74 </tbody> 75 </table> <br /><br /> 76 <div class="actionButtons" tal:condition="view/availableActions"> 77 <span tal:repeat="action view/actions" tal:omit-tag=""> 78 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 79 </span> 80 </div> 81 </div> 82 <div id="tab-3"> <br /> 83 <table class="display dataTableManage"> 84 <thead> 85 <tr> 86 <th> </th> 87 <th>Code</th> 88 <th>Title</th> 89 </tr> 90 </thead> 91 <tbody> 92 <tr tal:repeat="entry view/getCertificates" class="gradeB"> 93 <td> 94 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> 95 </td> 96 <td> 97 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> 98 </td> 99 <td tal:content="entry/container/title"> Title 100 </td> 101 </tr> 102 </tbody> 103 </table> <br /><br /> 104 <div class="actionButtons" tal:condition="view/availableActions"> 105 <span tal:repeat="action view/actions" tal:omit-tag=""> 106 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> 107 </span> 108 </div> 109 </div> 110 <div id="tab-4"> <br /> 111 <table class="display dataTableManage"> 112 <thead> 113 <tr> 114 <th> </th> 115 <th>User Id</th> 116 <th>Name</th> 117 <th>Local Role</th> 118 </tr> 119 </thead> 120 <tbody> 121 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 122 <td> 123 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 124 </td> 125 <td tal:content="entry/user_name"> USERNAME </td> 126 <td tal:content="entry/user_title"> USERTITLE </td> 127 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 128 </tr> 129 </tbody> 130 </table> <br /><br /> 131 <div class="actionButtons" tal:condition="view/availableActions"> 132 <span tal:repeat="action view/actions" tal:omit-tag=""> 133 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 134 </span> 135 </div> <br /><br /> 136 <table class="zebra"> 137 <tr> 138 <td> 139 <select id="user" name="user"> 140 <option tal:attributes="value user/name" tal:repeat="user view/getUsers"> 141 <span tal:replace="user/val/description">USERTITLE 142 </span> 143 </option> 144 </select> 145 </td> 146 <td> 147 <select id="local_role" name="local_role"> 148 <option tal:attributes="value localrole/name" tal:repeat="localrole view/getLocalRoles"> 149 <span tal:replace="localrole/title">LOCALROLETITLE 150 </span> 151 </option> 152 </select> 153 </td> 154 <td> 155 <div class="actionButtons" tal:condition="view/availableActions"> 156 <span tal:repeat="action view/actions" tal:omit-tag=""> 157 <input tal:condition="python:action.label in view.tabfouractions2" tal:replace="structure action/render"/> 158 </span> 159 </div> 160 </td> 161 </tr> 162 </table> 163 </div> 40 <tal:error tal:condition="widget/error"> 41 <span tal:replace="structure widget/error">error 42 </span> 43 </tal:error> 44 <tal:hint tal:condition="widget/hint"> 45 <span class="hint" tal:content="structure widget/hint">hint 46 </span> 47 </tal:hint> </td> 48 </tr> 49 </tal:block> 50 </tbody> 51 </table> 52 <div class="actionButtons" tal:condition="view/availableActions"> 53 <span tal:repeat="action view/actions" tal:omit-tag=""> 54 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 55 </span> 56 </div> 164 57 </div> 58 <div id="tab-2"> <br /> 59 <table class="display dataTableManage"> 60 <thead> 61 <tr> 62 <th> 63 </th> 64 <th>Code 65 </th> 66 <th>Title 67 </th> 68 </tr> 69 </thead> 70 <tbody> 71 <tr tal:repeat="entry view/getCourses" class="gradeB"> <td> 72 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 73 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> 74 <td tal:content="entry/container/title"> Title </td> 75 </tr> 76 </tbody> 77 </table> 78 <div class="actionButtons" tal:condition="view/availableActions"> 79 <span tal:repeat="action view/actions" tal:omit-tag=""> 80 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 81 </span> 82 </div> 83 </div> 84 <div id="tab-3"> <br /> 85 <table class="display dataTableManage"> 86 <thead> 87 <tr> 88 <th> 89 </th> 90 <th>Code 91 </th> 92 <th>Title 93 </th> 94 </tr> 95 </thead> 96 <tbody> 97 <tr tal:repeat="entry view/getCertificates" class="gradeB"> <td> 98 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 99 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> 100 <td tal:content="entry/container/title"> Title </td> 101 </tr> 102 </tbody> 103 </table> 104 <div class="actionButtons" tal:condition="view/availableActions"> 105 <span tal:repeat="action view/actions" tal:omit-tag=""> 106 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> 107 </span> 108 </div> 109 </div> 110 <div id="tab-4"> <br /> 111 <table class="display dataTableManage"> 112 <thead> 113 <tr> 114 <th> 115 </th> 116 <th>User Id 117 </th> 118 <th>Name 119 </th> 120 <th>Local Role 121 </th> 122 </tr> 123 </thead> 124 <tbody> 125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td> 126 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 127 <td tal:content="entry/user_name"> USERNAME </td> 128 <td tal:content="entry/user_title"> USERTITLE </td> 129 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 130 </tr> 131 </tbody> 132 </table> 133 <div class="actionButtons" tal:condition="view/availableActions"> 134 <span tal:repeat="action view/actions" tal:omit-tag=""> 135 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 136 </span> 137 </div> <br /><br /> 138 <table class="zebra"> 139 <tr> <td> 140 <select id="user" name="user"> 141 <option tal:attributes="value user/name" tal:repeat="user view/getUsers"> 142 <span tal:replace="user/val/description">USERTITLE 143 </span> 144 </option> 145 </select> </td> <td> 146 <select id="local_role" name="local_role"> 147 <option tal:attributes="value localrole/name" tal:repeat="localrole view/getLocalRoles"> 148 <span tal:replace="localrole/title">LOCALROLETITLE 149 </span> 150 </option> 151 </select> </td> <td> 152 <div tal:condition="view/availableActions"> 153 <span tal:repeat="action view/actions" tal:omit-tag=""> 154 <input tal:condition="python:action.label in view.tabfouractions2" tal:replace="structure action/render"/> 155 </span> 156 </div> </td> 157 </tr> 158 </table> 159 </div> 160 </div> 165 161 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainermanagepage.pt
r6344 r6460 51 51 </tbody> 52 52 </table> 53 54 <div id="actionsView"> 55 <span class="actionButtons" tal:condition="view/availableActions"> 56 <span tal:repeat="action view/actions" 57 tal:omit-tag=""> 58 <input tal:condition="python:action.label in view.taboneactions" 59 tal:replace="structure action/render"/> 60 </span> 53 <span class="actionButtons" tal:condition="view/availableActions"> 54 <span tal:repeat="action view/actions" 55 tal:omit-tag=""> 56 <input tal:condition="python:action.label in view.taboneactions" 57 tal:replace="structure action/render"/> 61 58 </span> 62 </ div>59 </span> 63 60 64 61 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r6345 r6460 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class="form-status" 3 tal:define="status view/status" 4 tal:condition="status"> 5 Form Status: 6 <span i18n:translate="" tal:content="view/status"> 7 Form status summary 8 </span> 2 <div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status: 3 <span i18n:translate="" tal:content="view/status"> Form status summary 4 </span> 9 5 </div> 10 6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 11 <div id="tabs"> 12 <ul> <li> 13 <a href="#tab-1"> 14 <span>Settings 15 </span></a></li> <li> 16 <a href="#tab-2"> 17 <span tal:content="view/subunits">Contents 18 </span> </a></li> <li> 19 <a href="#tab-3"> 20 <span>Local Roles 21 </span></a></li> 22 </ul> 23 <div id="tab-1"> 24 <table class="zebra"> 25 <tbody> 26 <tal:block repeat="widget view/widgets"> 27 <tr> 28 <td class="label"> 29 <label tal:attributes="for widget/name"> 30 <span class="required" tal:condition="widget/required">*</span> 31 <span i18n:translate="" tal:content="widget/label">label</span>: 32 </label> 33 </td> 34 <td class="field"> 35 <span class="widget" tal:content="structure widget"> 36 <input type="text" /> 37 </span> 38 <tal:error tal:condition="widget/error"> 39 <span tal:replace="structure widget/error">error</span> 40 </tal:error> 41 <tal:hint tal:condition="widget/hint"> 42 <span class="hint" tal:content="structure widget/hint">hint</span> 43 </tal:hint> 44 </td> 45 </tr> 46 </tal:block> 47 </tbody> 48 </table> 49 <div class="actionButtons" tal:condition="view/availableActions"> 50 <span tal:repeat="action view/actions" tal:omit-tag=""> 51 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 7 <div id="tabs"> 8 <ul> 9 <li> 10 <a href="#tab-1"> 11 <span>Settings 12 </span></a> 13 </li> 14 <li> 15 <a href="#tab-2"> 16 <span tal:content="view/subunits">Contents 17 </span> </a> 18 </li> 19 <li> 20 <a href="#tab-3"> 21 <span>Local Roles 22 </span></a> 23 </li> 24 </ul> 25 <div id="tab-1"> 26 <table class="zebra"> 27 <tbody> 28 <tal:block repeat="widget view/widgets"> 29 <tr> 30 <td class="label"> 31 <label tal:attributes="for widget/name"> 32 <span class="required" tal:condition="widget/required">* 33 </span> 34 <span i18n:translate="" tal:content="widget/label">label 35 </span>: 36 </label> </td> 37 <td class="field"> 38 <span class="widget" tal:content="structure widget"> 39 <input type="text" /> 52 40 </span> 53 </div> 54 </div> 55 <div id="tab-2"> 56 <h3 tal:content="view/subunits">Departments</h3> 57 <table class="zebra"> 58 <thead> 59 <tr> 60 <th> 61 </th> 62 <th>Code 63 </th> 64 <th>Title 65 </th> 66 </tr> 67 </thead> 68 <tbody> 69 <tr tal:repeat="dep context/values"> 70 <td> 71 <input type="checkbox" name="val_id" tal:attributes="value dep/code" /> 72 </td> 73 <td> 74 <a tal:attributes="href python: view.url(dep)" tal:content="dep/__name__"> ID</a> </td> <td> 75 <span tal:content="dep/title">ID 76 </span> 77 </td> 78 </tr> 79 </tbody> 80 </table> 81 <div class="actionButtons" tal:condition="view/availableActions"> 82 <span tal:repeat="action view/actions" tal:omit-tag=""> 83 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 84 </span> 85 </div> 86 </div> 87 <div id="tab-3"> <br /> 88 <table class="display dataTableManage"> 89 <thead> 90 <tr> 91 <th> 92 </th> 93 <th>User Id 94 </th> 95 <th>Name 96 </th> 97 <th>Local Role 98 </th> 99 </tr> 100 </thead> 101 <tbody> 102 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 103 <td> 104 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 105 </td> 106 <td tal:content="entry/user_name"> USERNAME 107 </td> 108 <td tal:content="entry/user_title"> USERTITLE 109 </td> 110 <td tal:content="entry/local_role_title"> LOCAL ROLE 111 </td> 112 </tr> 113 </tbody> 114 </table> <br /><br /> 115 <div class="actionButtons" tal:condition="view/availableActions"> 116 <span tal:repeat="action view/actions" tal:omit-tag=""> 117 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 118 </span> 119 </div> <br /><br /> 120 <table class="zebra"> 121 <tr> 122 <td> 123 <select id="user" name="user"> 124 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 125 <span tal:replace="user/val/description">USERTITLE 126 </span> 127 </option> 128 </select> 129 </td> 130 <td> 131 <select id="local_role" name="local_role"> 132 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 133 <span tal:replace="localrole/title">LOCALROLETITLE 134 </span> 135 </option> 136 </select> 137 </td> 138 <td> 139 <div class="actionButtons" tal:condition="view/availableActions"> 140 <span tal:repeat="action view/actions" tal:omit-tag=""> 141 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 142 </span> 143 </div> 144 </td> 145 </tr> 146 </table> 147 </div> 41 <tal:error tal:condition="widget/error"> 42 <span tal:replace="structure widget/error">error 43 </span> 44 </tal:error> 45 <tal:hint tal:condition="widget/hint"> 46 <span class="hint" tal:content="structure widget/hint">hint 47 </span> 48 </tal:hint> </td> 49 </tr> 50 </tal:block> 51 </tbody> 52 </table> 53 <div class="actionButtons" tal:condition="view/availableActions"> 54 <span tal:repeat="action view/actions" tal:omit-tag=""> 55 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 56 </span> 57 </div> 148 58 </div> 59 <div id="tab-2"> 60 <h3 tal:content="view/subunits">Departments</h3> 61 <table class="zebra"> 62 <thead> 63 <tr> 64 <th> 65 </th> 66 <th>Code 67 </th> 68 <th>Title 69 </th> 70 </tr> 71 </thead> 72 <tbody> 73 <tr tal:repeat="dep context/values"> <td> 74 <input type="checkbox" name="val_id" tal:attributes="value dep/code" /> </td> <td> 75 <a tal:attributes="href python: view.url(dep)" tal:content="dep/__name__"> ID</a> </td> <td> 76 <span tal:content="dep/title">ID 77 </span> </td> 78 </tr> 79 </tbody> 80 </table> 81 <div class="actionButtons" tal:condition="view/availableActions"> 82 <span tal:repeat="action view/actions" tal:omit-tag=""> 83 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 84 </span> 85 </div> 86 </div> 87 <div id="tab-3"> <br /> 88 <table class="display dataTableManage"> 89 <thead> 90 <tr> 91 <th> 92 </th> 93 <th>User Id 94 </th> 95 <th>Name 96 </th> 97 <th>Local Role 98 </th> 99 </tr> 100 </thead> 101 <tbody> 102 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td> 103 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 104 <td tal:content="entry/user_name"> USERNAME </td> 105 <td tal:content="entry/user_title"> USERTITLE </td> 106 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 107 </tr> 108 </tbody> 109 </table> 110 <div class="actionButtons" tal:condition="view/availableActions"> 111 <span tal:repeat="action view/actions" tal:omit-tag=""> 112 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 113 </span> 114 </div><br /><br /> 115 <table class="zebra"> 116 <tr> <td> 117 <select id="user" name="user"> 118 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 119 <span tal:replace="user/val/description">USERTITLE 120 </span> 121 </option> 122 </select> </td> <td> 123 <select id="local_role" name="local_role"> 124 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 125 <span tal:replace="localrole/title">LOCALROLETITLE 126 </span> 127 </option> 128 </select> </td> <td> 129 <div tal:condition="view/availableActions"> 130 <span tal:repeat="action view/actions" tal:omit-tag=""> 131 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 132 </span> 133 </div> </td> 134 </tr> 135 </table> 136 </div> 137 </div> 149 138 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/searchpage.pt
r6457 r6460 31 31 </tbody> 32 32 </table> 33 <div class="actionButtons"> 34 </div> 33 35 </span>
Note: See TracChangeset for help on using the changeset viewer.