Changeset 7459 for main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Timestamp:
- 12 Jan 2012, 16:19:57 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Files:
-
- 1 deleted
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/actionbutton.pt
r6717 r7459 1 <span class="yui-button" tal:condition="viewlet/target_url"> 2 <span class="first-child"> 3 <a href="" 4 tal:attributes="href viewlet/target_url"> 5 <img src="" alt="edit" 6 tal:attributes="src viewlet/icon_url; 7 alt viewlet/alt"/> 8 <span tal:content="viewlet/text">TEXT</span></a> 9 </span> 10 </span> 1 <a class="btn actionbar" tal:condition="viewlet/target_url" 2 tal:attributes="href viewlet/target_url"> 3 <img src="" alt="edit" 4 tal:attributes="src viewlet/icon_url; 5 alt viewlet/alt"/> 6 <span tal:replace="viewlet/text">TEXT</span> 7 </a> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/breadcrumbs.pt
r5389 r7459 1 <div class="breadcrumbs"> 2 <span tal:repeat="item viewlet/getEntries"> 3 <a href="#" 4 tal:attributes="href item/url"> 5 <span tal:content="item/title"> 6 Entry 7 </span> 1 <span tal:repeat="item viewlet/getEntries"> 2 <li> 3 <a href="#" tal:attributes="href item/url"> 4 <span tal:content="item/title">Entry</span> 8 5 </a> 9 <span tal:condition="not: repeat/item/end"> 10 > 11 </span> 12 </span> 13 </div> 6 <span tal:condition="not: repeat/item/end" class="divider">/</span> 7 </li> 8 </span> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatecoursepage.pt
r6008 r7459 1 1 <h2 tal:content="context/longtitle">TITLE</h2> 2 2 3 <table class=" zebra">3 <table class="form-table"> 4 4 <thead> 5 5 </thead> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r7335 r7459 3 3 tal:content="view/label">Label</h2> 4 4 5 <div class=" form-status"5 <div class="alert-message error" 6 6 tal:define="status view/status" 7 7 tal:condition="status"> … … 13 13 14 14 <form action="." tal:attributes="action request/URL" method="POST" 15 class="edit-form"enctype="multipart/form-data">15 enctype="multipart/form-data"> 16 16 17 <div id="tabs"> 18 <ul> 19 <li><a href="#tab-1"><span>Settings</span></a></li> 17 <ul class="tabs" data-tabs="tabs"> 18 <li class="active"><a href="#tab-1"><span>Settings</span></a></li> 20 19 <li><a href="#tab-2"><span>Course Referrers</span></a></li> 21 20 <li><a href="#tab-3"><span>Local Roles</span></a></li> 22 21 </ul> 23 22 24 <div id="tab-1"> 25 <table class="zebra"> 23 <div class="tab-content"> 24 <div id="tab-1" class="active"> 25 <table class="form-table"> 26 <tbody> 27 <tal:block repeat="widget view/widgets"> 28 <tr> 29 <td class="fieldname"> 30 <span tal:condition="widget/required">*</span> 31 <span i18n:translate="" tal:content="widget/label">label</span>: 32 </td> 33 <td> 34 <span tal:content="structure widget"> 35 <input type="text" /> 36 </span> 37 <tal:error tal:condition="widget/error"> 38 <span tal:replace="structure widget/error">error</span> 39 </tal:error> 40 <tal:hint tal:condition="widget/hint"> 41 <span tal:content="structure widget/hint">hint</span> 42 </tal:hint> 43 </td> 44 </tr> 45 </tal:block> 46 </tbody> 47 </table> 48 <div tal:condition="view/availableActions"> 49 <span tal:repeat="action view/actions" 50 tal:omit-tag=""> 51 <input tal:condition="python:action.label in view.taboneactions" 52 tal:replace="structure action/render"/> 53 </span> 54 </div> 55 </div> 56 <div id="tab-2"> 57 <h3>Course Referrers</h3> 58 <table class="display dataTableManage"> 59 <thead> 60 <tr> 61 <th> </th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th> 62 <th>Mandatory</th> 63 </tr> 64 </thead> 26 65 <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">*</span> 32 <span i18n:translate="" tal:content="widget/label">label</span>: 33 </label> 66 <tr tal:repeat="cc context/values" class="gradeC"> 67 <td> 68 <input type="checkbox" 69 name="val_id" 70 tal:attributes="value cc/__name__" /> 34 71 </td> 35 <td class="field">36 <span class="widget" tal:content="structure widget">37 <input type="text" />72 <td> 73 <span tal:content="cc/level"> 74 LEVEL 38 75 </span> 39 <tal:error tal:condition="widget/error"> 40 <span tal:replace="structure widget/error">error</span> 41 </tal:error> 42 <tal:hint tal:condition="widget/hint"> 43 <span class="hint" tal:content="structure widget/hint">hint</span> 44 </tal:hint> 76 </td> 77 <td tal:content="cc/course/semester">SEMESTER</td> 78 <td> 79 <a tal:attributes="href python: view.url(cc)" 80 tal:content="cc/__name__"> 81 REFERRER CODE 82 </a> 83 </td> 84 <td> 85 <a tal:attributes="href python:view.url(cc.course)" 86 tal:content="cc/course/code"> 87 COURSE CODE 88 </a> 89 </td> 90 <td> 91 <span tal:content="cc/course/title"> 92 COURSE TITLE 93 </span> 94 </td> 95 <td> 96 <span tal:content="cc/core_or_elective"> 97 MANDATORY 98 </span> 45 99 </td> 46 100 </tr> 47 </tal:block>48 101 </tbody> 49 </table> 50 <div class="actionButtons" tal:condition="view/availableActions"> 51 <span tal:repeat="action view/actions" 52 tal:omit-tag=""> 53 <input tal:condition="python:action.label in view.taboneactions" 54 tal:replace="structure action/render"/> 55 </span> 56 </div> 57 </div> 58 <div id="tab-2"> 59 <h3>Course Referrers</h3> 60 <table class="display dataTableManage"> 61 <thead> 62 <tr> 63 <th> </th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th> 64 <th>Mandatory</th> 102 </table> 103 <div tal:condition="view/availableActions"> 104 <span tal:repeat="action view/actions" 105 tal:omit-tag=""> 106 <input tal:condition="python:action.label in view.tabtwoactions" 107 tal:replace="structure action/render"/> 108 </span> 109 </div> 110 </div> 111 <div id="tab-3"> <br /> 112 <table class="display dataTableManage"> 113 <thead> 114 <tr> 115 <th> 116 </th> 117 <th>User Id 118 </th> 119 <th>Name 120 </th> 121 <th>Local Role 122 </th> 123 </tr> 124 </thead> 125 <tbody> 126 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 127 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 128 <td tal:content="entry/user_name"> USERNAME </td> 129 <td tal:content="entry/user_title"> USERTITLE </td> 130 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 131 </tr> 132 </tbody> 133 </table> 134 <div tal:condition="view/availableActions"> 135 <span tal:repeat="action view/actions" tal:omit-tag=""> 136 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 137 </span> 138 </div><br /><br /> 139 <table class="form-table"> 140 <tr> <td> 141 <select id="user" name="user"> 142 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 143 <span tal:replace="user/val/title">USERTITLE 144 </span> 145 </option> 146 </select> </td> <td> 147 <select id="local_role" name="local_role"> 148 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 149 <span tal:replace="localrole/title">LOCALROLETITLE 150 </span> 151 </option> 152 </select> </td> <td> 153 <div tal:condition="view/availableActions"> 154 <span tal:repeat="action view/actions" tal:omit-tag=""> 155 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 156 </span> 157 </div> </td> 65 158 </tr> 66 </thead> 67 <tbody> 68 <tr tal:repeat="cc context/values"> 69 <td> 70 <input type="checkbox" 71 name="val_id" 72 tal:attributes="value cc/__name__" /> 73 </td> 74 <td> 75 <span tal:content="cc/level"> 76 LEVEL 77 </span> 78 </td> 79 <td tal:content="cc/course/semester">SEMESTER</td> 80 <td> 81 <a tal:attributes="href python: view.url(cc)" 82 tal:content="cc/__name__"> 83 REFERRER CODE 84 </a> 85 </td> 86 <td> 87 <a tal:attributes="href python:view.url(cc.course)" 88 tal:content="cc/course/code"> 89 COURSE CODE 90 </a> 91 </td> 92 <td> 93 <span tal:content="cc/course/title"> 94 COURSE TITLE 95 </span> 96 </td> 97 <td> 98 <span tal:content="cc/core_or_elective"> 99 MANDATORY 100 </span> 101 </td> 102 </tr> 103 </tbody> 104 </table> 105 <div class="actionButtons" tal:condition="view/availableActions"> 106 <span tal:repeat="action view/actions" 107 tal:omit-tag=""> 108 <input tal:condition="python:action.label in view.tabtwoactions" 109 tal:replace="structure action/render"/> 110 </span> 159 </table> 111 160 </div> 112 161 </div> 113 <div id="tab-3"> <br />114 <table class="display dataTableManage">115 <thead>116 <tr>117 <th> 118 </th>119 <th>User Id120 </th>121 <th>Name122 </th>123 <th>Local Role124 </th>125 </tr>126 </thead>127 <tbody>128 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>129 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>130 <td tal:content="entry/user_name"> USERNAME </td>131 <td tal:content="entry/user_title"> USERTITLE </td>132 <td tal:content="entry/local_role_title"> LOCAL ROLE </td>133 </tr>134 </tbody>135 </table>136 <div class="actionButtons" tal:condition="view/availableActions">137 <span tal:repeat="action view/actions" tal:omit-tag="">138 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>139 </span>140 </div><br /><br />141 <table class="zebra">142 <tr> <td>143 <select id="user" name="user">144 <option tal:repeat="user view/getUsers" tal:attributes="value user/name">145 <span tal:replace="user/val/title">USERTITLE146 </span>147 </option>148 </select> </td> <td>149 <select id="local_role" name="local_role">150 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">151 <span tal:replace="localrole/title">LOCALROLETITLE152 </span>153 </option>154 </select> </td> <td>155 <div tal:condition="view/availableActions">156 <span tal:repeat="action view/actions" tal:omit-tag="">157 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>158 </span>159 </div> </td>160 </tr>161 </table>162 </div>163 </div>164 162 </form> 165 163 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt
r6344 r7459 1 1 <h2 tal:content="context/longtitle">TITLE</h2> 2 2 3 <table class=" zebra">3 <table class="form-table"> 4 4 <thead> 5 5 </thead> … … 7 7 <tal:block repeat="widget view/widgets"> 8 8 <tr> 9 <td> 10 <label tal:attributes="for widget/name"> 11 <span i18n:translate="" 9 <td class="fieldname"> 10 <span i18n:translate="" 12 11 tal:content="widget/label">label</span>: 13 </label>14 12 </td> 15 <td class="field"tal:on-error="default">16 <div class="widget"tal:content="structure widget">13 <td tal:on-error="default"> 14 <div tal:content="structure widget"> 17 15 <input type="text" /> 18 16 </div> … … 33 31 </thead> 34 32 <tbody> 35 <tr tal:repeat="cc context/values" >33 <tr tal:repeat="cc context/values" class="gradeC"> 36 34 <td> 37 35 <span tal:content="cc/level"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt
r6916 r7459 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> 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"> 10 9 <a href="#tab-1"> 11 10 <span>Site Settings … … 16 15 </li> 17 16 </ul> 18 <div id="tab-1"> 19 <table class="zebra"> 17 <div class="tab-content"> 18 <div id="tab-1" class="active"> 19 <table class="form-table"> 20 20 <tbody> 21 21 <tal:block repeat="widget view/widgets"> 22 22 <tr> 23 <td class="label"> 24 <label tal:attributes="for widget/name"> 25 <span class="required" tal:condition="widget/required">* 23 <td class="fieldname"> 24 <span tal:condition="widget/required">* 26 25 </span> 27 26 <span i18n:translate="" tal:content="widget/label">label 28 27 </span>: 29 </label></td>30 <td class="field">31 <span class="widget"tal:content="structure widget">28 </td> 29 <td> 30 <span tal:content="structure widget"> 32 31 <input type="text" /> 33 32 </span> … … 37 36 </tal:error> 38 37 <tal:hint tal:condition="widget/hint"> 39 <span class="hint"tal:content="structure widget/hint">hint38 <span tal:content="structure widget/hint">hint 40 39 </span> 41 40 </tal:hint> </td> … … 44 43 </tbody> 45 44 </table> 46 <div class="actionButtons"tal:condition="view/availableActions">45 <div tal:condition="view/availableActions"> 47 46 <span tal:repeat="action view/actions" tal:omit-tag=""> 48 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 47 <input tal:condition="python:action.label in view.taboneactions" 48 tal:replace="structure action/render"/> 49 49 </span> 50 50 </div> … … 61 61 </thead> 62 62 <tbody> 63 <tr tal:repeat="entry view/getSessionConfigurations" class="grade B"> <td>63 <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td> 64 64 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 65 65 <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td> … … 67 67 </tbody> 68 68 </table> 69 <div class="actionButtons"tal:condition="view/availableActions">69 <div tal:condition="view/availableActions"> 70 70 <span tal:repeat="action view/actions" tal:omit-tag=""> 71 71 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/contactform.pt
r7227 r7459 1 1 <form action="." tal:attributes="action request/URL" method="post" 2 class="edit-form"enctype="multipart/form-data">2 enctype="multipart/form-data"> 3 3 4 4 <h2 i18n:translate="" … … 6 6 tal:content="view/label">Label</h2> 7 7 8 <div class=" form-status"8 <div class="alert-message error" 9 9 tal:define="status view/status" 10 10 tal:condition="status"> … … 21 21 tal:content="widget/label">Label 22 22 </div> 23 <div class="widget"tal:content="structure widget">23 <div tal:content="structure widget"> 24 24 Textbody 25 25 </div> … … 27 27 </tal:block> 28 28 29 <div class="actionButtons"tal:condition="view/availableActions">29 <div tal:condition="view/availableActions"> 30 30 <input tal:repeat="action view/actions" 31 31 tal:replace="structure action/render" -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/coursepage.pt
r5946 r7459 1 1 <h2 tal:content="context/title">TITLE</h2> 2 2 3 <table class=" listing">3 <table class="form-table"> 4 4 <thead> 5 5 </thead> 6 6 <tbody> 7 <tr class="odd">7 <tr> 8 8 <td>Code:</td> 9 9 <td tal:content="context/__name__">CODE</td> 10 10 </tr> 11 <tr class="even">11 <tr> 12 12 <td>Title:</td> 13 13 <td tal:content="context/title">THE TITLE</td> 14 14 </tr> 15 <tr class="odd">15 <tr> 16 16 <td>Credits:</td> 17 17 <td tal:content="context/credits">CREDITS</td> 18 18 </tr> 19 <tr class="even">19 <tr> 20 20 <td>Passmark:</td> 21 21 <td tal:content="context/passmark">PASSMARK</td> 22 22 </tr> 23 <tr class="odd">23 <tr> 24 24 <td>Semester/Term:</td> 25 25 <td tal:content="context/semester">SEMESTER</td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport1page.pt
r6908 r7459 16 16 </thead> 17 17 <tbody> 18 <tr tal:repeat="file view/getFiles" 19 tal:attributes="class python: repeat['file'].odd() and 'odd' or ''"> 18 <tr tal:repeat="file view/getFiles"> 20 19 <td> 21 <button type="submit" name="select" 20 <button type="submit" name="select" class="btn primary" 22 21 tal:attributes="value file/name">Select</button> 23 22 </td> … … 29 28 </tbody> 30 29 </table> 31 <input type="submit" name="cancel" value="Cancel" />30 <input type="submit" name="cancel" class="btn" value="Cancel" /> 32 31 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt
r6908 r7459 13 13 </p> 14 14 <div> 15 <table class = "zebra"15 <table 16 16 tal:define="body view/getPreviewBody; 17 17 headers view/getPreviewHeader; … … 19 19 <thead> 20 20 <tr> 21 <th style="border: 1px solid #888;" 22 tal:repeat="headerfield headers" 21 <th tal:repeat="headerfield headers" 23 22 tal:content="headerfield"> headerfield 24 23 </th> … … 28 27 <tr tal:repeat="row body"> 29 28 <td tal:repeat="value row" 30 tal:content="value" 31 style="border: 1px solid #000;"> value 29 tal:content="value"> value 32 30 </td> 33 31 </tr> … … 62 60 </p> 63 61 </div> 64 <input type="submit" name="cancel" value="Cancel" />65 <input type="submit" name="back1" value="Back to step 1" />66 <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"62 <input class="btn" type="submit" name="cancel" value="Cancel" /> 63 <input class="btn danger" type="submit" name="back1" value="Back to step 1" /> 64 <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''" 67 65 type="submit" name="proceed" value="Proceed to step 3..." /> 68 66 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport3page.pt
r6908 r7459 1 <div class="alert-message success" tal:condition="not: view/getWarnings"> 2 Header fields OK 3 </div> 4 1 5 <h2 i18n:translate="" 2 6 tal:condition="view/label" … … 25 29 tal:attributes="value view/mode" /> 26 30 </p> 27 <div class="alert notice ui-state-info" tal:condition="not: view/getWarnings"> 28 <span class="ui-icon ui-icon-info">A</span> 29 Header fields OK 30 </div> 31 31 32 <div> 32 <table class = "zebra"33 <table class="condensed-table" 33 34 tal:define="body view/getPreviewBody; 34 35 headers view/headerfields; … … 36 37 <thead> 37 38 <tr> 38 <th style="border: 1px solid #888;" 39 tal:repeat="headerfield headers" 39 <th tal:repeat="headerfield headers" 40 40 tal:content="headerfield"> 41 41 headerfield … … 43 43 </tr> 44 44 <tr> 45 <th style="border: 1px solid #888; text-align=center;" 46 tal:repeat="headerfield headers"> 45 <th tal:repeat="headerfield headers"> 47 46 <i>change to:</i> 48 47 </th> 49 48 </tr> 50 49 <tr> 51 <th style="border: 1px solid #888;" 52 tal:repeat="headerfield headers"> 50 <th tal:repeat="headerfield headers"> 53 51 <select name="headerfield"> 54 52 <option tal:repeat="opt view/getPossibleHeaders" … … 65 63 <tr tal:repeat="row body"> 66 64 <td tal:repeat="value row" 67 tal:content="value" 68 style="border: 1px solid #000;"> 65 tal:content="value"> 69 66 value 70 67 </td> … … 74 71 </div> 75 72 76 <input type="submit" name="cancel" value="Cancel" />77 <input type="reset" name="reset" value="Reset" />78 <input type="submit" name="update" value="Set headerfields" />79 <br /> 80 <input type="submit" name="back2" value="Back to step 2" />81 <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"73 <input class="btn" type="submit" name="cancel" value="Cancel" /> 74 <input class="btn" type="reset" name="reset" value="Reset" /> 75 <input class="btn" type="submit" name="update" value="Set headerfields" /> 76 <br /><br /> 77 <input class="btn danger" type="submit" name="back2" value="Back to step 2" /> 78 <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''" 82 79 type="submit" name="proceed" value="Perform import..." /> 83 80 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport4page.pt
r6908 r7459 18 18 </p> 19 19 <form method="POST"> 20 <input type="submit" name="finish" value="Back to data center" />21 <input type="submit" name="showlog" value="View processing log" />20 <input class="btn primary" type="submit" name="finish" value="Back to data center" /> 21 <input class="btn" type="submit" name="showlog" value="View processing log" /> 22 22 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt
r6909 r7459 1 <h2 i18n:translate="" 2 tal:condition="view/label" 3 tal:content="view/label">Label</h2> 4 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 5 2 <div tal:define="files view/files"> 6 <p tal:condition="not: files"> 7 Currently no log files are available. 3 <p tal:condition="not: files">Currently no log files are available. 8 4 </p> 9 <table tal:condition="files" >5 <table tal:condition="files" class="condensed-table"> 10 6 <thead> 11 7 <tr> 12 <th></th><th>File</th><th>Date</th><th>Size</th> 8 <th> 9 </th> 10 <th>File 11 </th> 12 <th>Date 13 </th> 14 <th>Size 15 </th> 13 16 </tr> 14 17 </thead> 15 18 <tbody> 16 <tr tal:repeat="file files" 17 tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'"> 18 <td class="text-center"> 19 <form method="POST"> 20 <input type="submit" name="show" value="Show" /> 21 <input type="hidden" name="logname" 22 tal:attributes="value file/name" /> 23 </form> 24 </td> 25 <td tal:content="file/name">file.name</td> 26 <td tal:content="file/uploaddate">Fri Jan 15 17:44:25 2010</td> 27 <td tal:content="file/getSize">12 bytes</td> 19 <tr tal:repeat="file files" tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'"> 20 <td class="text-center"> 21 <form method="POST"> 22 <input type="submit" class="btn primary" name="show" value="Show" /> 23 <input type="hidden" name="logname" tal:attributes="value file/name" /> 24 </form></td> 25 <td tal:content="file/name">file.name</td> 26 <td tal:content="file/uploaddate">Fri Jan 15 17:44:25 2010</td> 27 <td tal:content="file/getSize">12 bytes</td> 28 28 </tr> 29 29 </tbody> 30 30 </table> 31 32 31 <form method="POST"> 33 <input type="submit" name="back" value="Back to Data Center" />32 <input type="submit" class="btn" name="back" value="Back to Data Center" /> 34 33 </form> 35 36 34 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogsshowfilepage.pt
r4858 r7459 4 4 5 5 <form method="POST"> 6 <input type="submit" name="back" value="Back" />6 <input class="btn primary" type="submit" name="back" value="Back" /> 7 7 </form> 8 8 9 <div class="bd">9 <div> 10 10 <pre tal:content="view/filecontents"> 11 11 blah, blah … … 14 14 15 15 <form method="POST"> 16 <input type="submit" name="back" value="Back" />16 <input class="btn primary" type="submit" name="back" value="Back" /> 17 17 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacentermanagepage.pt
r6909 r7459 5 5 <form method="POST"> 6 6 <div> 7 <label for="newpath">Storage path:</label>7 Storage path: 8 8 <input type="text" name="newpath" 9 9 tal:attributes="value context/storage" /> 10 10 <br /><br /> 11 <div> 12 <input type="checkbox" name="move" checked="checked" /> 13 <label for="move">Copy existing data to new storage?</label> 14 </div> 15 <div> 16 <input type="checkbox" name="overwrite" checked="no" /> 17 <label for="overwrite">Overwrite contents in new location?</label> 18 </div> 19 <br /> 20 <input type="submit" name="save" value="Save" /> 21 <input type="reset" name="reset" value="Reset" /> 22 <input type="submit" name="cancel" value="Cancel" /> 11 Copy existing data to new storage? 12 <input type="checkbox" name="move" checked="checked" /> 13 <br /><br /> 14 Overwrite contents in new location? 15 <input type="checkbox" name="overwrite" checked="no" /> 16 <br /><br /> 17 <input class="btn primary" type="submit" name="save" value="Save" /> 18 <input class="btn" type="reset" name="reset" value="Reset" /> 19 <input class="btn" type="submit" name="cancel" value="Cancel" /> 23 20 </div> 24 21 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterpage.pt
r4958 r7459 19 19 </thead> 20 20 <tbody> 21 <tr tal:repeat="file context/getFiles" 22 tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'"> 21 <tr tal:repeat="file context/getFiles"> 23 22 <td tal:content="file/name">thefilename</td> 24 23 <td tal:content="file/size">12 k</td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenteruploadpage.pt
r6908 r7459 5 5 <form method="post" enctype="multipart/form-data"> 6 6 <input type="file" name="uploadfile:file" /> 7 <br /><br /> 7 8 <div> 8 <input type="submit" name="SUBMIT" value="Upload" />9 <input type="submit" name="CANCEL" value="Cancel" />9 <input class="btn primary" type="submit" name="SUBMIT" value="Upload" /> 10 <input class="btn" type="submit" name="CANCEL" value="Cancel" /> 10 11 </div> 11 12 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_display_form.pt
r7384 r7459 3 3 tal:content="view/label">Label</h2> 4 4 5 <table class=" zebra">5 <table class="form-table"> 6 6 <tbody> 7 7 <tal:block repeat="widget view/widgets"> 8 8 <tr> 9 <td class="fieldname" width="33%">9 <td class="fieldname"> 10 10 <tal:block content="widget/label"/>: 11 11 </td> … … 18 18 </tbody> 19 19 <tfoot> 20 <tr class="controls">20 <tr> 21 21 <td colspan="2" class="align-right"> 22 22 <input tal:repeat="action view/actions" -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt
r7112 r7459 1 1 <form action="." tal:attributes="action request/URL" method="post" 2 class="edit-form"enctype="multipart/form-data">2 enctype="multipart/form-data"> 3 3 4 4 <h2 i18n:translate="" … … 6 6 tal:content="view/label">Label</h2> 7 7 8 <div class=" form-status"8 <div class="alert-message error" 9 9 tal:define="status view/status" 10 10 tal:condition="status"> … … 13 13 Form status summary 14 14 </span> 15 <ul tal:condition="view/errors">16 <li tal:repeat="error view/error_views">17 <span tal:replace="structure error">Error Type</span>18 </li>19 </ul>20 15 </div> 21 16 22 <table class=" zebra">17 <table class="form-table"> 23 18 <tbody> 24 19 <tal:block repeat="widget view/widgets"> 25 20 <tr> 26 <td class="label"> 27 <label tal:attributes="for widget/name"> 28 <span class="required" tal:condition="widget/required">*</span> 29 <span i18n:translate="" tal:content="widget/label">label</span>: 30 </label> 21 <td class="fieldname"> 22 <span tal:condition="widget/required">*</span> 23 <span i18n:translate="" tal:content="widget/label">label</span>: 31 24 </td> 32 <td class="field">33 <span class="widget"tal:content="structure widget">25 <td> 26 <span tal:content="structure widget"> 34 27 <input type="text" /> 35 28 </span> … … 38 31 </tal:error> 39 32 <tal:hint tal:condition="widget/hint"> 40 <span class="hint"tal:content="structure widget/hint">hint</span>33 <span tal:content="structure widget/hint">hint</span> 41 34 </tal:hint> 42 35 </td> … … 46 39 </tbody> 47 40 </table> 48 <div class="actionButtons"tal:condition="view/availableActions">41 <div tal:condition="view/availableActions"> 49 42 <input tal:repeat="action view/actions" 50 43 tal:replace="structure action/render" -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r7213 r7459 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"> 30 <label tal:attributes="for widget/name"> 31 <span class="required" tal:condition="widget/required">* 29 <td class="fieldname"> 30 <span tal:condition="widget/required">* 32 31 </span> 33 32 <span i18n:translate="" tal:content="widget/label">label 34 33 </span>: 35 </label></td>36 <td class="field">37 <span class="widget"tal:content="structure widget">34 </td> 35 <td> 36 <span tal:content="structure widget"> 38 37 <input type="text" /> 39 38 </span> … … 43 42 </tal:error> 44 43 <tal:hint tal:condition="widget/hint"> 45 <span class="hint"tal:content="structure widget/hint">hint44 <span tal:content="structure widget/hint">hint 46 45 </span> 47 46 </tal:hint> </td> … … 50 49 </tbody> 51 50 </table> 52 <div class="actionButtons"tal:condition="view/availableActions">51 <div tal:condition="view/availableActions"> 53 52 <span tal:repeat="action view/actions" tal:omit-tag=""> 54 53 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> … … 69 68 </thead> 70 69 <tbody> 71 <tr tal:repeat="entry view/getCourses" class="grade B"> <td>70 <tr tal:repeat="entry view/getCourses" class="gradeC"> <td> 72 71 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 73 72 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 76 75 </tbody> 77 76 </table> 78 <div class="actionButtons"tal:condition="view/availableActions">77 <div tal:condition="view/availableActions"> 79 78 <span tal:repeat="action view/actions" tal:omit-tag=""> 80 79 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> … … 95 94 </thead> 96 95 <tbody> 97 <tr tal:repeat="entry view/getCertificates" class="grade B"> <td>96 <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td> 98 97 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 99 98 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 102 101 </tbody> 103 102 </table> 104 <div class="actionButtons"tal:condition="view/availableActions">103 <div tal:condition="view/availableActions"> 105 104 <span tal:repeat="action view/actions" tal:omit-tag=""> 106 105 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> … … 123 122 </thead> 124 123 <tbody> 125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="grade B"> <td>124 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 126 125 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 127 126 <td tal:content="entry/user_name"> USERNAME </td> … … 131 130 </tbody> 132 131 </table> 133 <div class="actionButtons"tal:condition="view/availableActions">132 <div tal:condition="view/availableActions"> 134 133 <span tal:repeat="action view/actions" tal:omit-tag=""> 135 134 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 136 135 </span> 137 136 </div> <br /><br /> 138 <table class=" zebra">137 <table class="form-table"> 139 138 <tr> <td> 140 139 <select id="user" name="user"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt
r6461 r7459 3 3 tal:content="view/label">Label</h2> 4 4 5 <div id="tabs"> 6 <ul> 7 <li><a href="#tab-1"><span>Courses</span></a></li> 8 <li><a href="#tab-2"><span>Certificates</span></a></li> 9 </ul> 10 11 <div id="tab-1"> 5 <ul class="tabs" data-tabs="tabs"> 6 <li class="active"><a href="#tab-1"><span>Courses</span></a></li> 7 <li><a href="#tab-2"><span>Certificates</span></a></li> 8 </ul> 9 <div class="tab-content"> 10 <div id="tab-1" class="active"> 12 11 <br /> 13 12 <table class="display dataTable"> … … 18 17 </thead> 19 18 <tbody> 20 <tr tal:repeat="entry view/getCourses" 21 class="gradeB"> 19 <tr tal:repeat="entry view/getCourses" class="gradeC"> 22 20 <td> 23 21 <a href="" … … 42 40 </thead> 43 41 <tbody> 44 <tr tal:repeat="entry view/getCertificates" 45 class="gradeB"> 42 <tr tal:repeat="entry view/getCertificates" class="gradeC"> 46 43 <td> 47 44 <a href="" … … 55 52 </tbody> 56 53 </table> 57 <br /><br />58 54 </div> 59 55 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultiescontainermanagepage.pt
r7333 r7459 3 3 tal:content="view/label">Label</h2> 4 4 5 <div class=" form-status"5 <div class="alert-message error" 6 6 tal:define="status view/status" 7 7 tal:condition="status"> … … 13 13 14 14 <form action="." tal:attributes="action request/URL" method="POST" 15 class="edit-form"enctype="multipart/form-data">15 enctype="multipart/form-data"> 16 16 17 <div id="tabs"> 18 <ul> 19 <li><a href="#tab-1"> 20 <span tal:content="view/subunits">Contents</span> 21 </a></li> 22 </ul> 23 24 <div id="tab-1"> 25 <h3 tal:content="view/subunits">Faculties</h3> 26 <table class="zebra"> 27 <thead> 28 <tr> 29 <th> </th><th>Code</th><th>Title</th> 30 </tr> 31 </thead> 32 <tbody> 33 <tr tal:repeat="dep context/values"> 34 <td> 35 <input type="checkbox" 36 name="val_id" 37 tal:attributes="value dep/code" /> 38 </td> 39 <td> 40 <a tal:attributes="href python: view.url(dep)" 41 tal:content="dep/__name__"> 42 ID 43 </a> 44 </td> 45 <td> 46 <span tal:content="dep/title"> 47 ID 48 </span> 49 </td> 50 </tr> 51 </tbody> 52 </table> 53 <div 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"/> 58 </span> 59 </div> 60 61 </div> 17 <table> 18 <thead> 19 <tr> 20 <th> </th><th>Code</th><th>Title</th> 21 </tr> 22 </thead> 23 <tbody> 24 <tr tal:repeat="dep context/values"> 25 <td> 26 <input type="checkbox" 27 name="val_id" 28 tal:attributes="value dep/code" /> 29 </td> 30 <td> 31 <a tal:attributes="href python: view.url(dep)" 32 tal:content="dep/__name__"> 33 ID 34 </a> 35 </td> 36 <td> 37 <span tal:content="dep/title"> 38 ID 39 </span> 40 </td> 41 </tr> 42 </tbody> 43 </table> 44 <div tal:condition="view/availableActions"> 45 <span tal:repeat="action view/actions" 46 tal:omit-tag=""> 47 <input tal:condition="python:action.label in view.taboneactions" 48 tal:replace="structure action/render"/> 49 </span> 62 50 </div> 63 51 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r7213 r7459 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" 3 tal:condition="status"> Form Status: 3 4 <span i18n:translate="" tal:content="view/status"> Form status summary 4 5 </span> 5 6 </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">16 <span tal:content="view/subunits">Contents17 </span> </a>18 </li>19 <li>20 < a href="#tab-3">21 <span>Local Roles22 </span></a>23 </li>24 </ul>25 <div id="tab-1" >26 <table class=" zebra">7 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 8 <ul class="tabs" data-tabs="tabs"> 9 <li class="active"> 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 class="tab-content"> 26 <div id="tab-1" class="active"> 27 <table class="form-table"> 27 28 <tbody> 28 29 <tal:block repeat="widget view/widgets"> 29 30 <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"> 31 <td class="fieldname"> 32 <span tal:condition="widget/required">* 33 </span> 34 <span i18n:translate="" tal:content="widget/label">label 35 </span>: 36 </td> 37 <td> 38 <span tal:content="structure widget"> 39 39 <input type="text" /> 40 40 </span> … … 44 44 </tal:error> 45 45 <tal:hint tal:condition="widget/hint"> 46 <span class="hint"tal:content="structure widget/hint">hint46 <span tal:content="structure widget/hint">hint 47 47 </span> 48 48 </tal:hint> </td> … … 51 51 </tbody> 52 52 </table> 53 <div class="actionButtons"tal:condition="view/availableActions">53 <div tal:condition="view/availableActions"> 54 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"/> 55 <input tal:condition="python:action.label in view.taboneactions" 56 tal:replace="structure action/render"/> 56 57 </span> 57 58 </div> … … 59 60 <div id="tab-2"> 60 61 <h3 tal:content="view/subunits">Departments</h3> 61 <table class="zebra">62 <table> 62 63 <thead> 63 64 <tr> … … 72 73 <tbody> 73 74 <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> 75 <input type="checkbox" name="val_id" 76 tal:attributes="value dep/code" /> </td> <td> 77 <a tal:attributes="href python: view.url(dep)" 78 tal:content="dep/__name__"> ID</a> </td> <td> 76 79 <span tal:content="dep/title">ID 77 80 </span> </td> … … 79 82 </tbody> 80 83 </table> 81 <div class="actionButtons"tal:condition="view/availableActions">84 <div tal:condition="view/availableActions"> 82 85 <span tal:repeat="action view/actions" tal:omit-tag=""> 83 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 86 <input tal:condition="python:action.label in view.tabtwoactions" 87 tal:replace="structure action/render"/> 84 88 </span> 85 89 </div> … … 100 104 </thead> 101 105 <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> 106 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 107 <input type="checkbox" name="role_id" 108 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 104 109 <td tal:content="entry/user_name"> USERNAME </td> 105 110 <td tal:content="entry/user_title"> USERTITLE </td> … … 108 113 </tbody> 109 114 </table> 110 <div class="actionButtons"tal:condition="view/availableActions">115 <div tal:condition="view/availableActions"> 111 116 <span tal:repeat="action view/actions" tal:omit-tag=""> 112 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 117 <input tal:condition="python:action.label in view.tabthreeactions1" 118 tal:replace="structure action/render"/> 113 119 </span> 114 120 </div><br /><br /> 115 <table class=" zebra">121 <table class="form-table"> 116 122 <tr> <td> 117 123 <select id="user" name="user"> … … 122 128 </select> </td> <td> 123 129 <select id="local_role" name="local_role"> 124 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 130 <option tal:repeat="localrole view/getLocalRoles" 131 tal:attributes="value localrole/name"> 125 132 <span tal:replace="localrole/title">LOCALROLETITLE 126 133 </span> … … 129 136 <div tal:condition="view/availableActions"> 130 137 <span tal:repeat="action view/actions" tal:omit-tag=""> 131 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 138 <input tal:condition="python:action.label in view.tabthreeactions2" 139 tal:replace="structure action/render"/> 132 140 </span> 133 141 </div> </td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt
r5993 r7459 5 5 </div> 6 6 7 <table class="zebra">7 <table> 8 8 <thead> 9 9 <tr> … … 14 14 <tbody> 15 15 <tr tal:repeat="value context/values"> 16 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 16 <td> <a tal:attributes="href value/__name__"> 17 <span tal:content="value/code">Name</span></a></td> 17 18 <td tal:content="value/longtitle">Title</td> 18 19 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/loginpage.pt
r7369 r7459 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 2 <form method="post"> 3 <table id="login" class="form "summary="Table for entering login information">3 <table id="login" class="form-table" summary="Table for entering login information"> 4 4 <tbody> 5 5 <tr> 6 <th> 7 <label for="form.login">User Name or Student Id 8 </label> 9 </th> <td> 10 <input type="text" id="login" name="form.login" size="20" /> </td> 6 <td class="fieldname"> 7 User Name or Student Id: 8 </td> 9 <td> 10 <input type="text" id="login" name="form.login" size="20" /> 11 </td> 11 12 </tr> 12 13 <tr> 13 <t h>14 <label for="form.password">Password15 </label>16 < /th><td>14 <td class="fieldname"> 15 Password: 16 </td> 17 <td> 17 18 <input type="password" id="password" name="form.password" size="20" value="" /> 18 19 … … 23 24 </table> 24 25 <input type="hidden" name="camefrom" tal:attributes="value view/camefrom" /> 25 <input type="submit" name="SUBMIT" value="Login" /><br /><br />26 <input class="btn primary" type="submit" name="SUBMIT" value="Login" /><br /><br /> 26 27 <p>Don't forget to logout or exit your browser when you're done. 27 28 If you are having trouble logging in, make sure to enable cookies in your web browser. -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/messages.pt
r6225 r7459 1 <ul> 2 <li 3 tal:repeat="message view/messages" 4 tal:attributes="class message/type" 5 tal:content="structure message/message">Sauron will arrive soon! 6 </li> 7 </ul> 1 <div 2 tal:repeat="message view/messages" 3 tal:attributes="class message/type" 4 tal:content="structure message/message">Sauron will arrive soon! 5 </div> 6 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/myrolespage.pt
r7179 r7459 1 1 <h3 i18n:translate="">My Portal Roles:</h3> 2 <span tal:repeat="role view/getSiteRoles"> 3 <div tal:content="role" >ROLE</div> 4 </span> 5 <br /><br /> 2 <table class="form-table"> 3 <tr tal:repeat="role view/getSiteRoles"> 4 <td> 5 <div tal:content="role" >ROLE</div> 6 </td> 7 </tr> 8 </table> 9 6 10 <h3 i18n:translate="">My Local Roles:</h3> 7 <table >11 <table class="form-table"> 8 12 <tr tal:repeat="role view/getLocalRoles"> 9 13 <td valign="top" ><span tal:content="role" >ROLE</span>:</td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/notfound.pt
r6190 r7459 3 3 </h2> 4 4 5 <div class="error"><b>Please note the following:</b></div>5 <div><b>Please note the following:</b></div> 6 6 <div> 7 7 <ol class="list"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/plainactionbutton.pt
r7367 r7459 1 <span class="yui-button"tal:condition="viewlet/target_url">2 <span class="first-child">1 <span tal:condition="viewlet/target_url"> 2 <span> 3 3 <a href="" 4 4 tal:attributes="href viewlet/target_url"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/searchpage.pt
r6460 r7459 3 3 <input type="text" name="query" 4 4 tal:attributes="value view/query" /> 5 <input type="submit" name="SUBMIT" value="Search" />5 <input class="btn primary" type="submit" name="SUBMIT" value="Search" /> 6 6 </form> 7 7 <br /> … … 31 31 </tbody> 32 32 </table> 33 <div class="actionButtons">34 </div>35 33 </span> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt
r6723 r7459 13 13 tal:attributes="title string:RSS feed of ${layout/getAppTitle}; 14 14 href python: view.url(layout.site, 'feed.rss')" /> 15 </head> 16 <body> 17 <div class="topbar" data-scrollspy="scrollspy" > 18 <div class="topbar-inner"> 19 <div class="container-fluid"> 20 <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a> 21 <ul class="nav"> 22 <tal:primary_nav content="structure provider:primary_nav" /> 23 </ul> 24 <ul class="nav secondary-nav"> 25 <li tal:condition="not: layout/isAuthenticated"> 26 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 27 Login 28 </a> 29 </li> 30 <li tal:condition="layout/isAuthenticated"> 31 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 32 Contact 33 </a> 34 </li> 35 <li tal:condition="layout/isAuthenticated"> 36 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 37 </li> 38 </ul> 39 </div> 40 </div> 41 </div> 15 42 16 </head> 17 <body class="rounded yui-skin-sam"> 18 <div id="doc3" class="yui-t1"> 19 <div id="hd" role="banner"> 20 <div id="hd"> 21 <h1 id="logo"> 22 <a href="" tal:attributes="href view/application_url"> 23 <span class="uni-logo"> 24 </span> </a> 25 <span id="uni-title" tal:content="layout/getAppTitle"> Sample University 26 </span> </h1> 27 <div id="navigation" class="yui-navset" style="text-align:right;"> 28 <ul id="primary-navigation"> 29 <tal:primary_nav content="structure provider:primary_nav" /> 43 <ul class="breadcrumb"> 44 <tal:breadcrumbs 45 tal:condition="python: layout.isAuthenticated()" 46 tal:content="structure provider:breadcrumbs" /> 47 <span tal:condition="layout/getStudentName" class="wfstatus"> 48 Student Id: 49 <span tal:replace="python:context.getStudent().student_id">Id 50 </span> 51 State: 52 <span tal:replace="python:context.getStudent().state">State 53 </span> 54 </span> 55 </ul> 56 57 <div class="container-fluid"> 58 <div class="sidebar"> 59 <div class="well"> 60 <div tal:condition="layout/getStudentName"> 61 <h5 tal:content="layout/getStudentName">Student name</h5> 62 <ul> 63 <tal:left content="structure provider:left_studentmanage" /> 30 64 </ul> 31 <ul id="user-navigation"> 32 <li tal:condition="not: layout/isAuthenticated"> 33 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 34 Login 35 </a> 36 </li> 37 <li tal:condition="layout/isAuthenticated"> 38 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 39 Contact 40 </a> 41 </li> 42 <li tal:condition="layout/isAuthenticated"> 43 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 44 </li> 65 </div> 66 <div tal:condition="layout/isAuthenticated"> 67 <h5 tal:content="layout/getUserTitle">Username</h5> 68 <ul> 69 <tal:left content="structure provider:left" /> 45 70 </ul> 46 <div class="clear">47 </div>48 71 </div> 49 72 </div> 50 73 </div> 51 <div id="bd" role="main"> 52 <span tal:condition="python: layout.isAuthenticated()" 53 tal:content="structure provider:breadcrumbs" /> 54 55 <div class="yui-b"> 56 <div class="block" tal:condition="layout/getStudentName"> 57 <div class="hd"> 58 <h2 tal:content="layout/getStudentName">Student name</h2> 59 </div> 60 <div class="bd"> 61 <tal:left content="structure provider:left_studentmanage" /> 62 </div> 63 </div> 64 <div class="block" tal:condition="layout/isAuthenticated"> 65 <div class="hd"> 66 <h2 tal:content="layout/getUserTitle">Username</h2> 67 </div> 68 <div class="bd"> 69 <tal:left content="structure provider:left" /> 70 </div> 74 <div class="span13 content"> 75 <div 76 tal:define="message context/@@messages" 77 tal:condition="python: len(message)>11"> 78 <div tal:content="structure message"> 71 79 </div> 72 80 </div> 73 74 <div id="yui-main"> 75 <div class="yui-b"> 76 <div class="yui-g"> 77 <div class="block"> 78 <div class="hd" tal:condition="python: layout.isAuthenticated()"> 79 <span tal:content="view/title"> THE CONTENT TITLE </span> 80 <span tal:condition="layout/getStudentName" class="wfstatus"> 81 Sudent Id: <span tal:content="python:context.getStudent().student_id">Student Id</span> 82 83 State: <span tal:content="python:context.getStudent().state">State</span> 84 </span> 85 </div> 86 <div class="bd"> 87 <div class="actionbar"> 88 <tal:actionbar content="structure provider:actionbar" /> 89 </div> 90 <div class="alert warning ui-state-error" 91 tal:define="message context/@@messages" 92 tal:condition="python: len(message)>11"> 93 <span class="ui-icon ui-icon-alert">A 94 </span> 95 <span tal:content="structure message"> 96 </span> 97 </div> 98 <div tal:replace="structure view/content"> THE CONTENT 99 </div> 100 </div> 101 </div> 102 </div> 103 </div> 81 <span tal:replace="structure provider:actionbar" /> 82 <div tal:content="structure view/content"> THE CONTENT 104 83 </div> 105 106 </div> 107 <div id="ft" role="contentinfo"> 108 <p>Student Information and Registration Portal<br /> 109 Copyright © WAeUP Group, 2008-2011 110 </p> 84 <div class="footer"> 85 <p class="pull-right"><a href="#">Back to top</a></p> 86 <p> 87 Student Information and Registration Portal<br /> 88 Copyright © WAeUP Group, 2008-2012 89 </p> 90 </div> 111 91 </div> 112 92 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt
r7240 r7459 10 10 <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/> 11 11 <link rel="stylesheet" media="only screen and (max-device-width: 480px)" 12 tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')" type="text/css" /> 12 tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')" 13 type="text/css" /> 13 14 <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" /> 14 15 <link rel="alternate" type="application/rss+xml" title="RSS" … … 16 17 tal:attributes="title string:RSS feed of ${layout/getAppTitle}; 17 18 href python: view.url(layout.site, 'feed.rss')" /> 18 19 19 </head> 20 <body class="rounded yui-skin-sam"> 21 <div id="doc3" class="yui-t7"> 22 <div id="hd" role="banner"> 23 <div id="hd"> 24 <h1 id="logo"> 25 <a href="" tal:attributes="href view/application_url"> 26 <span class="uni-logo"> 27 </span> </a> 28 <span id="uni-title" tal:content="layout/getAppTitle"> Sample University 29 </span> </h1> 30 <div id="navigation" class="yui-navset" style="text-align:right;"> 31 <ul id="primary-navigation"> 20 <body> 21 <div class="topbar" data-scrollspy="scrollspy" > 22 <div class="topbar-inner"> 23 <div class="container"> 24 <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a> 25 <ul class="nav"> 32 26 <tal:primary_nav content="structure provider:primary_nav" /> 33 27 <tal:primary_nav content="structure provider:primary_nav_student" /> 34 </ul> 35 <ul id="user-navigation"> 36 <li tal:condition="not: layout/isAuthenticated"> 37 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 38 Login 39 </a> 40 </li> 41 <li tal:condition="layout/isAuthenticated"> 42 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 43 Contact 44 </a> 45 </li> 46 <li tal:condition="layout/isAuthenticated"> 47 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 48 </li> 49 </ul> 50 <div class="clear"> 51 </div> 28 </ul> 29 <ul class="nav secondary-nav"> 30 <li tal:condition="not: layout/isAuthenticated"> 31 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 32 Login 33 </a> 34 </li> 35 <li tal:condition="layout/isAuthenticated"> 36 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 37 Contact 38 </a> 39 </li> 40 <li tal:condition="layout/isAuthenticated"> 41 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 42 </li> 43 </ul> 44 </div> 45 </div> 46 </div> 47 <div class="container"> 48 <ul class="student-info-bar" tal:condition="layout/isAuthenticated"> 49 <tal:breadcrumbs 50 tal:condition="python: layout.isAuthenticated()" 51 tal:content="structure provider:breadcrumbs" /> 52 <span tal:condition="layout/getStudentName" class="wfstatus"> 53 Student Id: 54 <span tal:replace="python:context.getStudent().student_id">Id 55 </span> 56 State: 57 <span tal:replace="python:context.getStudent().state">State 58 </span> 59 </span> 60 </ul> 61 <div class="content"> 62 <div tal:define="message context/@@messages" 63 tal:condition="python: len(message)>11"> 64 <div tal:content="structure message"> 52 65 </div> 53 66 </div> 54 </div> 55 <div id="bd" role="main"> 56 57 <div class="yui-b"> 58 <div class="block" > 59 <div class="studentmenu"> 60 <div tal:condition="layout/getStudentName" 61 tal:replace="structure provider:top_student"> 62 Student Links 63 </div> 64 <div tal:content="structure provider:actionbar"> 65 Student Actions 66 </div> 67 </div> 68 </div> 67 <span tal:replace="structure provider:actionbar" /> 68 <div tal:content="structure view/content"> THE CONTENT 69 69 </div> 70 71 <div id="yui-main"> 72 <div class="yui-b"> 73 <div class="yui-g"> 74 <div class="block"> 75 <div class="bd"> 76 <div class="actionbar"> 77 <span tal:condition="layout/getStudentName" class="wfstatus"> 78 Id: 79 <span tal:replace="python:context.getStudent().student_id" 80 class="wfstatus">Id</span> 81 82 State: 83 <span tal:replace="python:context.getStudent().state" 84 class="wfstatus">State</span> 85 </span> 86 </div> 87 <div class="alert warning ui-state-error" 88 tal:define="message context/@@messages" 89 tal:condition="python: len(message)>11"> 90 <span class="ui-icon ui-icon-alert">A 91 </span> 92 <span tal:content="structure message"> 93 </span> 94 </div> 95 <div tal:replace="structure view/content"> THE CONTENT 96 </div> 97 </div> 98 </div> 99 </div> 100 </div> 70 <div class="footer"> 71 <p class="pull-right"><a href="#">Back to top</a></p> 72 <p> 73 Student Information and Registration Portal<br /> 74 Copyright © WAeUP Group, 2008-2012 75 </p> 101 76 </div> 102 103 </div>104 <div id="ft" role="contentinfo">105 <p>Student Information and Registration Portal<br />106 Copyright © WAeUP Group, 2008-2011107 </p>108 77 </div> 109 78 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/subobjectlist.pt
r5936 r7459 8 8 </thead> 9 9 <tbody> 10 <tr tal:repeat="row viewletmanager/rows" 11 tal:attributes="class python: repeat['row'].odd() and 'odd' or 'even'"> 10 <tr tal:repeat="row viewletmanager/rows"> 12 11 <td tal:repeat="viewlet row"> 13 12 <div tal:replace="structure viewlet/render"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/universitypage.pt
r6907 r7459 1 <h 2 tal:content="view/label">Title</h2>1 <h1 tal:content="view/label">Title</h1> 2 2 3 3 <span tal:replace="structure view/frontpage">Frontpage</span> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usereditformpage.pt
r7149 r7459 1 1 <form action="." tal:attributes="action request/URL" method="post" 2 class="edit-form"enctype="multipart/form-data">2 enctype="multipart/form-data"> 3 3 4 4 <h2 i18n:translate="" … … 6 6 tal:content="view/label">Label</h2> 7 7 8 <div class=" form-status"8 <div class="alert-message error" 9 9 tal:define="status view/status" 10 10 tal:condition="status"> … … 20 20 </div> 21 21 22 <table class=" zebra">22 <table class="form-table"> 23 23 <tbody> 24 24 <tal:block repeat="widget view/widgets"> 25 25 <tr> 26 <td class="label"> 27 <label tal:attributes="for widget/name"> 28 <span class="required" tal:condition="widget/required">*</span> 29 <span i18n:translate="" tal:content="widget/label">label</span>: 30 </label> 26 <td class="fieldname"> 27 <span tal:condition="widget/required">*</span> 28 <span i18n:translate="" tal:content="widget/label">label</span>: 31 29 </td> 32 <td class="field">33 <span class="widget"tal:content="structure widget">30 <td> 31 <span tal:content="structure widget"> 34 32 <input type="text" /> 35 33 </span> … … 38 36 </tal:error> 39 37 <tal:hint tal:condition="widget/hint"> 40 <span class="hint"tal:content="structure widget/hint">hint</span>38 <span tal:content="structure widget/hint">hint</span> 41 39 </tal:hint> 42 40 </td> … … 44 42 </tal:block> 45 43 <tr> 46 <td class=" label"><label>Password:</label></td>44 <td class="fieldname">Password:</td> 47 45 <td> 48 46 <input name="password" type="password" /> … … 50 48 </tr> 51 49 <tr> 52 <td class=" label"><label>Retype password:</label></td>50 <td class="fieldname">Retype password:</td> 53 51 <td> 54 52 <input name="control_password" type="password" /> … … 58 56 </tbody> 59 57 </table> 60 <div class="actionButtons"tal:condition="view/availableActions">58 <div tal:condition="view/availableActions"> 61 59 <input tal:repeat="action view/actions" 62 60 tal:replace="structure action/render" -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/userscontainerpage.pt
r7178 r7459 1 1 <h2>Portal Users</h2> 2 2 3 <p> 4 Here you can manage portal users. 5 </p> 6 7 <table class="zebra"> 3 <table> 8 4 <thead> 9 5 <tr> 10 6 <th>User ID</th> 11 7 <th>Name</th> 12 <th>Description</th>13 8 <th>Portal Roles</th> 14 9 <th>Local Roles</th> … … 20 15 <td tal:content="account/name">User name</td> 21 16 <td tal:content="account/title">Title</td> 22 <td tal:content="account/description">Description</td>23 17 <td tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td> 24 18 <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td> … … 27 21 <input type="hidden" name="userid" 28 22 tal:attributes="value account/name"/> 29 <input type="submit" name="manage" value="manage" />30 <input type="submit" name="delete" value="delete" />23 <input class="btn" type="submit" name="manage" value="manage" /> 24 <input class="btn" type="submit" name="delete" value="delete" /> 31 25 </form> 32 26 </td>
Note: See TracChangeset for help on using the changeset viewer.