[7710] | 1 | <form action="." tal:attributes="action request/URL" |
---|
[7811] | 2 | i18n:domain="waeup.kofa" method="POST" enctype="multipart/form-data"> |
---|
[11254] | 3 | <ul class="tabs nav nav-tabs" data-tabs="tabs"> |
---|
| 4 | <li class="active"> |
---|
| 5 | <a href="#tab1" data-toggle="tab"> |
---|
[8388] | 6 | <span i18n:translate="">Introduction |
---|
| 7 | </span></a> |
---|
| 8 | </li> |
---|
[11254] | 9 | <li> |
---|
| 10 | <a href="#tab2" data-toggle="tab"> |
---|
[7459] | 11 | <span tal:content="view/subunits">Contents |
---|
| 12 | </span></a> |
---|
| 13 | </li> |
---|
[11254] | 14 | <li> |
---|
| 15 | <a href="#tab3" data-toggle="tab"> |
---|
[7710] | 16 | <span i18n:translate="">Local Roles |
---|
[7459] | 17 | </span></a> |
---|
| 18 | </li> |
---|
| 19 | </ul> |
---|
| 20 | <div class="tab-content"> |
---|
[11254] | 21 | <div id="tab1" class="active tab-pane"> |
---|
| 22 | <br /> |
---|
[8388] | 23 | <table class="form-table"> |
---|
| 24 | <tbody> |
---|
| 25 | <tal:widgets content="structure provider:widgets" /> |
---|
| 26 | </tbody> |
---|
| 27 | </table> |
---|
| 28 | <div tal:condition="view/availableActions"> |
---|
| 29 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
| 30 | <input tal:condition="python:action.label in view.taboneactions" |
---|
| 31 | tal:replace="structure action/render"/> |
---|
| 32 | </span> |
---|
| 33 | </div> |
---|
| 34 | </div> |
---|
[11254] | 35 | <div id="tab2" class="tab-pane"> |
---|
| 36 | <br /> |
---|
[8406] | 37 | <p i18n:translate="note_armp"> |
---|
| 38 | Please note that containers will be opened in manage mode here. |
---|
| 39 | All application record links will be loaded into your browser which |
---|
| 40 | can take a considerable time depending on your bandwidth. |
---|
| 41 | Please be patient until all records have been loaded. |
---|
| 42 | </p> |
---|
[11254] | 43 | <table class="kofa-data-table dataTableManage"> |
---|
[6184] | 44 | <thead> |
---|
| 45 | <tr> |
---|
| 46 | <th> |
---|
| 47 | </th> |
---|
[7710] | 48 | <th i18n:translate="">Year |
---|
[6184] | 49 | </th> |
---|
[7710] | 50 | <th i18n:translate="">Code |
---|
[6184] | 51 | </th> |
---|
[7710] | 52 | <th i18n:translate="">Title |
---|
[6184] | 53 | </th> |
---|
[8547] | 54 | <th i18n:translate="">Records |
---|
| 55 | </th> |
---|
[13217] | 56 | <th i18n:translate="">Application Deadline |
---|
| 57 | </th> |
---|
[6184] | 58 | </tr> |
---|
| 59 | </thead> |
---|
| 60 | <tbody> |
---|
[11254] | 61 | <tr tal:repeat="entry context/values"> <td> |
---|
[7710] | 62 | <input type="checkbox" name="val_id" |
---|
| 63 | tal:attributes="value entry/__name__" /> </td> |
---|
| 64 | <td tal:content="entry/year">YEAR</td> <td> |
---|
| 65 | <a href="" |
---|
[8406] | 66 | tal:attributes="href python:view.url(entry) + '/manage'" |
---|
[7710] | 67 | tal:content="entry/__name__">CODE</a> </td> |
---|
| 68 | <td tal:content="entry/title">TITLE</td> |
---|
[13217] | 69 | <td tal:content="python: len(entry)">RECORDS</td> |
---|
| 70 | <td><span tal:content="python: layout.formatDatetime(entry.enddate)"> |
---|
| 71 | END</span></td> |
---|
[6184] | 72 | </tr> |
---|
| 73 | </tbody> |
---|
| 74 | </table> |
---|
[7459] | 75 | <div tal:condition="view/availableActions"> |
---|
[6460] | 76 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
[8388] | 77 | <input tal:condition="python:action.label in view.tabtwoactions" |
---|
[7710] | 78 | tal:replace="structure action/render"/> |
---|
[6184] | 79 | </span> |
---|
[6461] | 80 | </div> |
---|
[6184] | 81 | </div> |
---|
[11254] | 82 | <div id="tab3" class="tab-pane"> |
---|
[8388] | 83 | <br /> |
---|
[11254] | 84 | <table class="kofa-data-table dataTableManage"> |
---|
[6460] | 85 | <thead> |
---|
| 86 | <tr> |
---|
| 87 | <th> |
---|
| 88 | </th> |
---|
[7710] | 89 | <th i18n:translate="">User Id |
---|
[6460] | 90 | </th> |
---|
[7710] | 91 | <th i18n:translate="">Name |
---|
[6460] | 92 | </th> |
---|
[7710] | 93 | <th i18n:translate="">Local Role |
---|
[6460] | 94 | </th> |
---|
| 95 | </tr> |
---|
| 96 | </thead> |
---|
| 97 | <tbody> |
---|
[11254] | 98 | <tr tal:repeat="entry view/getUsersWithLocalRoles"> |
---|
[7710] | 99 | <td> <input type="checkbox" name="role_id" |
---|
| 100 | tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> |
---|
| 101 | <td tal:content="entry/user_name">USERNAME</td> |
---|
| 102 | <td tal:content="entry/user_title">USERTITLE</td> |
---|
| 103 | <td tal:content="entry/local_role_title">LOCAL ROLE</td> |
---|
[6460] | 104 | </tr> |
---|
| 105 | </tbody> |
---|
| 106 | </table> |
---|
[7459] | 107 | <div tal:condition="view/availableActions"> |
---|
[6460] | 108 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
[8388] | 109 | <input tal:condition="python:action.label in view.tabthreeactions1" |
---|
[7710] | 110 | tal:replace="structure action/render"/> |
---|
[6460] | 111 | </span> |
---|
| 112 | </div> <br /><br /> |
---|
[11254] | 113 | <div class="form-inline"> |
---|
| 114 | <br /> |
---|
| 115 | <div class="form-group"> |
---|
| 116 | <select id="user" name="user" class="form-control"> |
---|
| 117 | <option tal:repeat="user view/getUsers" |
---|
| 118 | tal:attributes="value user/name"> |
---|
[15964] | 119 | <span tal:replace="user/val">USERSTRING</span> |
---|
[11254] | 120 | </option> |
---|
| 121 | </select> |
---|
| 122 | </div> |
---|
| 123 | <div class="form-group"> |
---|
| 124 | <select id="local_role" name="local_role" class="form-control"> |
---|
| 125 | <option tal:repeat="localrole view/getLocalRoles" |
---|
| 126 | tal:attributes="value localrole/name"> |
---|
[14264] | 127 | <span tal:replace="localrole/title">LOCALROLETITLE</span> |
---|
[11254] | 128 | </option> |
---|
| 129 | </select> |
---|
| 130 | </div> |
---|
| 131 | <div class="form-group" tal:condition="view/availableActions"> |
---|
| 132 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
| 133 | <input tal:condition="python:action.label in view.tabthreeactions2" |
---|
| 134 | tal:replace="structure action/render"/> |
---|
| 135 | </span> |
---|
| 136 | </div> |
---|
| 137 | </div> |
---|
[6184] | 138 | </div> |
---|
| 139 | </div> |
---|
| 140 | </form> |
---|