Changeset 6184 for main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
- Timestamp:
- 21 May 2011, 18:51:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6111 r6184 1 1 <form action="." tal:attributes="action request/URL" method="POST" 2 2 class="edit-form" enctype="multipart/form-data"> 3 4 <h2 i18n:translate="" 5 tal:condition="view/label" 6 tal:content="view/label">Label</h2> 7 8 <div class="form-status" 9 tal:define="status view/status" 10 tal:condition="status"> 11 12 <div i18n:translate="" tal:content="view/status"> 13 Form status summary 3 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 4 <div class="form-status" tal:define="status view/status" tal:condition="status"> 5 <div i18n:translate="" tal:content="view/status"> Form status summary 14 6 </div> 15 16 7 <ul class="errors" tal:condition="view/errors"> 17 8 <li tal:repeat="error view/error_views"> 18 <span tal:replace="structure error">Error Type</span> 9 <span tal:replace="structure error">Error Type 10 </span> 19 11 </li> 20 12 </ul> 21 13 </div> 22 23 14 <div id="tabs"> 24 15 <ul> 25 <li><a href="#tab-1"><span>Settings</span></a></li> 26 <li><a href="#tab-2"><span>Applicants</span></a></li> 16 <li> 17 <a href="#tab-1"> 18 <span>Settings 19 </span></a> 20 </li> 21 <li> 22 <a href="#tab-2"> 23 <span>Applicants 24 </span></a> 25 </li> 26 <li> 27 <a href="#tab-3"> 28 <span>Local Roles 29 </span></a> 30 </li> 27 31 </ul> 28 32 <div id="tab-1"> 33 <table class="zebra"> 34 <tbody> 35 <tal:block repeat="widget view/widgets"> 36 <tr> 37 <td class="label" tal:define="hint widget/hint"> 38 <label tal:condition="python:hint" tal:attributes="for widget/name"> 39 <span class="required" tal:condition="widget/required" >* 40 </span> 41 <span i18n:translate="" tal:content="widget/label">label 42 </span>: 43 </label> 44 <label tal:condition="python:not hint" tal:attributes="for widget/name"> 45 <span class="required" tal:condition="widget/required" >* 46 </span> 47 <span i18n:translate="" tal:content="widget/label">label 48 </span>: 49 </label> </td> 50 <td class="field"> 51 <div class="widget" tal:content="structure widget"> 52 <input type="text" /> 53 </div> 54 <div class="error" tal:condition="widget/error"> 55 <span tal:replace="structure widget/error">error 56 </span> 57 </div> </td> 58 </tr> 59 </tal:block> 60 </tbody> 61 </table> 62 <div id="actionsView"> 63 <span class="actionButtons" tal:condition="view/availableActions"> 64 <span tal:repeat="action view/actions" tal:omit-tag=""> 65 <input tal:condition="python:action.label in view.taboneactions" 66 tal:replace="structure action/render"/> 67 </span> 68 </span> 69 </div> 70 </div> 71 <div id="tab-2"> <h3>Applicants</h3> 72 <table id="datatable" class="display"> 73 <thead> 74 <tr> 75 <th> 76 </th> 77 <th>ID 78 </th> 79 <th>status 80 </th> 81 </tr> 82 </thead> 83 <tbody> 84 <tr tal:repeat="appl context/values"> <td> 85 <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> </td> <td> 86 <a tal:attributes="href python: view.url(appl)" 87 tal:content="appl/__name__"> ID </a> </td> <td> 88 <span tal:condition="not: appl/locked">in progress 89 </span> 90 <span tal:condition="appl/locked">submitted 91 </span> </td> 92 </tr> 93 </tbody> 94 </table> 95 <div id="actionsView"> 96 <span class="actionButtons" tal:condition="view/availableActions"> 97 <span tal:repeat="action view/actions" tal:omit-tag=""> 98 <input tal:condition="python:action.label in view.tabtwoactions" 99 tal:replace="structure action/render"/> 100 </span> 101 </span> 102 </div> 103 </div> 104 <div id="tab-3"> <br /> 105 <table class="display dataTableManage"> 106 <thead> 107 <tr> 108 <th> 109 </th> 110 <th>User Id 111 </th> 112 <th>Name 113 </th> 114 <th>Local Role 115 </th> 116 </tr> 117 </thead> 118 <tbody> 119 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 120 <td> 121 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 122 </td> 123 <td tal:content="entry/user_name"> USERNAME 124 </td> 125 <td tal:content="entry/user_title"> USERTITLE 126 </td> 127 <td tal:content="entry/local_role_title"> LOCAL ROLE 128 </td> 129 </tr> 130 </tbody> 131 </table> <br /><br /> 132 <div class="actionButtons" tal:condition="view/availableActions"> 133 <span tal:repeat="action view/actions" tal:omit-tag=""> 134 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 135 </span> 136 </div> <br /><br /> 29 137 <table class="zebra"> 30 <tbody> 31 <tal:block repeat="widget view/widgets"> 32 <tr> 33 <td class="label" tal:define="hint widget/hint"> 34 <label tal:condition="python:hint" 35 tal:attributes="for widget/name"> 36 <span class="required" tal:condition="widget/required" 37 >*</span><span i18n:translate="" 38 tal:content="widget/label">label</span>: 39 </label> 40 <label tal:condition="python:not hint" 41 tal:attributes="for widget/name"> 42 <span class="required" tal:condition="widget/required" 43 >*</span><span i18n:translate="" 44 tal:content="widget/label">label</span>: 45 </label> 46 </td> 47 <td class="field"> 48 <div class="widget" tal:content="structure widget"> 49 <input type="text" /> 50 </div> 51 <div class="error" tal:condition="widget/error"> 52 <span tal:replace="structure widget/error">error</span> 53 </div> 54 </td> 55 </tr> 56 </tal:block> 57 </tbody> 138 <tr> 139 <td> 140 <select id="user" name="user"> 141 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 142 <span tal:replace="user/val/description">USERTITLE 143 </span> 144 </option> 145 </select> 146 </td> 147 <td> 148 <select id="local_role" name="local_role"> 149 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 150 <span tal:replace="localrole/title">LOCALROLETITLE 151 </span> 152 </option> 153 </select> 154 </td> 155 <td> 156 <div class="actionButtons" tal:condition="view/availableActions"> 157 <span tal:repeat="action view/actions" tal:omit-tag=""> 158 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 159 </span> 160 </div> 161 </td> 162 </tr> 58 163 </table> 59 <div id="actionsView">60 <span class="actionButtons" tal:condition="view/availableActions">61 <span tal:repeat="action view/actions"62 tal:omit-tag="">63 <input tal:condition="python:action.label in view.taboneactions"64 tal:replace="structure action/render"/>65 </span>66 </span>67 </div>68 </div>69 <div id="tab-2">70 <h3>Applicants</h3>71 <table id="datatable" class="display">72 <thead>73 <tr>74 <th> </th><th>ID</th><th>status</th>75 </tr>76 </thead>77 <tbody>78 <tr tal:repeat="appl context/values">79 <td>80 <input type="checkbox"81 name="val_id"82 tal:attributes="value appl/__name__" />83 </td>84 <td>85 <a tal:attributes="href python: view.url(appl)"86 tal:content="appl/__name__">87 ID88 </a>89 </td>90 <td>91 <span tal:condition="not: appl/locked">in progress</span>92 <span tal:condition="appl/locked">submitted</span>93 </td>94 </tr>95 </tbody>96 </table>97 <div id="actionsView">98 <span class="actionButtons" tal:condition="view/availableActions">99 <span tal:repeat="action view/actions"100 tal:omit-tag="">101 <input tal:condition="python:action.label in view.tabtwoactions"102 tal:replace="structure action/render"/>103 </span>104 </span>105 </div>106 164 </div> 107 165 </div>
Note: See TracChangeset for help on using the changeset viewer.