Changeset 7443 for main/waeup.sirp
- Timestamp:
- 9 Jan 2012, 15:55:34 (13 years ago)
- Location:
- main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser
- Files:
-
- 1 added
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/resources.py
r7442 r7443 140 140 toggleall = ResourceInclusion(waeup_sirp, 'toggleall.js') 141 141 142 #: A resource that binds jQueryUItabs to <div> tags with class142 #: A resource that binds Bootstrap tabs to <div> tags with class 143 143 #: ``tabs``. 144 144 #: 145 #: If you want jQuery tabs for some <div>s in your page then you145 #: If you want Bootstrap tabs in your page then you 146 146 #: have to perform two steps: 147 147 #: … … 159 159 #: into the HTML page generated. 160 160 #: 161 #: * In your HTML code add some ``<div>`` tag with ``class`` set to 162 #: ``tabs``, like this: 161 #: * In your HTML code add some tags with like this: 163 162 #: 164 163 #: .. code-block:: html 165 #: 166 #: <div id="tabs"> 167 #: <ul> 168 #: <li><a href="#tab-1"><span>Tab 1 Heading</span></a></li> 169 #: <li><a href="#tab-2"><span>Tab 2 Heading</span></a></li> 170 #: </ul> 171 #: <div id="tab-1"> 172 #: Content of tab 1 173 #: </div> 174 #: <div id="tab-2"> 175 #: Content of tab 2 176 #: </div> 177 #: </div> 164 165 #: <ul class="tabs" data-tabs="tabs" > 166 #: <li class="active"><a href="#tab-1">Tab 1 Heading</a></li> 167 #: <li><a href="#tab-2">Tab 2 Heading</a></li> 168 #: <li><a href="#tab-3">Tab 3 Heading</a></li> 169 #: </ul> 170 171 #: <div class="tab-content"> 172 #: <div id="tab-1" class="active">...</div> 173 #: <div id="tab-2">...</div> 174 #: <div id="tab-3">...</div> 175 #: </div> 178 176 #: 179 177 #: When the HTML is rendered, clicking into one of the tabs will make 180 178 #: other <div>s disappear. See 181 179 #: 182 #: http:// jqueryui.com/demos/tabs/180 #: http://twitter.github.com/bootstrap/javascript.html#tabs 183 181 #: 184 182 #: for details. 185 183 #: 186 tabs = ResourceInclusion(waeup_sirp, 'tabs.js', 187 depends=[jquery, jqueryui]) 184 tabs = ResourceInclusion(waeup_sirp, 'bootstrap-tabs.js', 185 depends=[jquery]) 186 188 187 189 188 #: Resource that makes datatables for jQuery UI available. -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/static/waeup-base.css
r7442 r7443 4 4 'waeuptheme-<SOME-NAME>.css' and include a utility and a resource in theming.py 5 5 and resources.py respectively. */ 6 7 body { 8 padding-top: 60px; 9 } 10 11 h2 { 12 margin-bottom: 12px; 13 } 14 15 label { 16 padding-top: 0px; 17 } 18 19 .breadcrumb { 20 margin-left: 20px; 21 margin-right: 20px; 22 min-width: 940px; 23 } 24 25 .form-table td { 26 padding: 5px 5px 4px; 27 border-top: none; 28 } 29 30 .error { 31 color: red; 32 } 33 34 35 /* dataTables stuff */ 36 37 .dataTables_wrapper { 38 min-height: 150px; 39 } -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatecoursepage.pt
r6008 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r7335 r7443 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> 30 <label tal:attributes="for widget/name"> 31 <span tal:condition="widget/required">*</span> 32 <span i18n:translate="" tal:content="widget/label">label</span>: 33 </label> 34 </td> 35 <td> 36 <span tal:content="structure widget"> 37 <input type="text" /> 38 </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 tal:content="structure widget/hint">hint</span> 44 </tal:hint> 45 </td> 46 </tr> 47 </tal:block> 48 </tbody> 49 </table> 50 <div 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> 65 </tr> 66 </thead> 26 67 <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> 68 <tr tal:repeat="cc context/values"> 69 <td> 70 <input type="checkbox" 71 name="val_id" 72 tal:attributes="value cc/__name__" /> 34 73 </td> 35 <td class="field">36 <span class="widget" tal:content="structure widget">37 <input type="text" />74 <td> 75 <span tal:content="cc/level"> 76 LEVEL 38 77 </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> 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> 45 101 </td> 46 102 </tr> 47 </tal:block>48 103 </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> 104 </table> 105 <div 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> 111 </div> 112 </div> 113 <div id="tab-3"> <br /> 114 <table class="display dataTableManage"> 115 <thead> 116 <tr> 117 <th> 118 </th> 119 <th>User Id 120 </th> 121 <th>Name 122 </th> 123 <th>Local Role 124 </th> 125 </tr> 126 </thead> 127 <tbody> 128 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <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 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="form-table"> 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">USERTITLE 146 </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">LOCALROLETITLE 152 </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> 65 160 </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> 161 </table> 111 162 </div> 112 163 </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 164 </form> 165 165 -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatepage.pt
r6344 r7443 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> … … 13 13 </label> 14 14 </td> 15 <td class="field"tal:on-error="default">16 <div class="widget"tal:content="structure widget">15 <td tal:on-error="default"> 16 <div tal:content="structure widget"> 17 17 <input type="text" /> 18 18 </div> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/configurationmanagepage.pt
r6916 r7443 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class=" form-status" tal:define="status view/status" tal:condition="status"> Form Status:2 <div class="alert-message error" tal:define="status view/status" tal:condition="status"> Form Status: 3 3 <span i18n:translate="" tal:content="view/status"> Form status summary 4 4 </span> 5 5 </div> 6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 7 <div id="tabs"> 8 <ul> 9 <li> 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">23 <td> 24 24 <label tal:attributes="for widget/name"> 25 <span class="required"tal:condition="widget/required">*25 <span tal:condition="widget/required">* 26 26 </span> 27 27 <span i18n:translate="" tal:content="widget/label">label 28 28 </span>: 29 29 </label> </td> 30 <td class="field">31 <span class="widget"tal:content="structure widget">30 <td> 31 <span tal:content="structure widget"> 32 32 <input type="text" /> 33 33 </span> … … 37 37 </tal:error> 38 38 <tal:hint tal:condition="widget/hint"> 39 <span class="hint"tal:content="structure widget/hint">hint39 <span tal:content="structure widget/hint">hint 40 40 </span> 41 41 </tal:hint> </td> … … 44 44 </tbody> 45 45 </table> 46 <div class="actionButtons"tal:condition="view/availableActions">46 <div tal:condition="view/availableActions"> 47 47 <span tal:repeat="action view/actions" tal:omit-tag=""> 48 48 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> … … 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/contactform.pt
r7227 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/coursepage.pt
r5946 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport1page.pt
r6908 r7443 19 19 tal:attributes="class python: repeat['file'].odd() and 'odd' or ''"> 20 20 <td> 21 <button type="submit" name="select" 21 <button type="submit" name="select" class="btn" 22 22 tal:attributes="value file/name">Select</button> 23 23 </td> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport2page.pt
r6908 r7443 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> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport3page.pt
r6908 r7443 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> … … 77 74 <input type="reset" name="reset" value="Reset" /> 78 75 <input type="submit" name="update" value="Set headerfields" /> 79 <br /> 76 <br /><br /> 80 77 <input type="submit" name="back2" value="Back to step 2" /> 81 78 <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogspage.pt
r6909 r7443 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" 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 32 <input type="submit" name="back" value="Back to Data Center" /> 34 33 </form> 35 36 34 </div> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogsshowfilepage.pt
r4858 r7443 7 7 </form> 8 8 9 <div class="bd">9 <div> 10 10 <pre tal:content="view/filecontents"> 11 11 blah, blah -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacentermanagepage.pt
r6909 r7443 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 /> 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 /> 20 17 <input type="submit" name="save" value="Save" /> 21 18 <input type="reset" name="reset" value="Reset" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterpage.pt
r4958 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_display_form.pt
r7384 r7443 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 width="33%"> 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt
r7442 r7443 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 >22 <table class="form-table"> 23 23 <tbody> 24 24 <tal:block repeat="widget view/widgets"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r7213 r7443 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class=" form-status" tal:define="status view/status" tal:condition="status"> Form Status:2 <div class="alert-message error" tal:define="status view/status" tal:condition="status"> Form Status: 3 3 <span i18n:translate="" tal:content="view/status"> Form status summary 4 4 </span> 5 5 </div> 6 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form"enctype="multipart/form-data">7 < div id="tabs">8 < ul>9 <li>10 < a href="#tab-1">11 <span>Settings12 </span></a>13 </li>14 <li>15 <a href="#tab-2">Courses</a>16 </li>17 <li>18 <a href="#tab-3">Certificates</a>19 </li>20 <li>21 <a href="#tab-4">Local Roles</a>22 </li>23 </ul>24 <div id="tab-1" >25 <table class=" zebra">6 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 7 <ul class="tabs" data-tabs="tabs"> 8 <li class="active"> 9 <a href="#tab-1"> 10 <span>Settings 11 </span></a> 12 </li> 13 <li> 14 <a href="#tab-2">Courses</a> 15 </li> 16 <li> 17 <a href="#tab-3">Certificates</a> 18 </li> 19 <li> 20 <a href="#tab-4">Local Roles</a> 21 </li> 22 </ul> 23 <div class="tab-content"> 24 <div id="tab-1" class="active"> 25 <table class="form-table"> 26 26 <tbody> 27 27 <tal:block repeat="widget view/widgets"> 28 28 <tr> 29 <td class="label">29 <td> 30 30 <label tal:attributes="for widget/name"> 31 <span class="required"tal:condition="widget/required">*31 <span tal:condition="widget/required">* 32 32 </span> 33 33 <span i18n:translate="" tal:content="widget/label">label 34 34 </span>: 35 35 </label> </td> 36 <td class="field">37 <span class="widget"tal:content="structure widget">36 <td> 37 <span tal:content="structure widget"> 38 38 <input type="text" /> 39 39 </span> … … 43 43 </tal:error> 44 44 <tal:hint tal:condition="widget/hint"> 45 <span class="hint"tal:content="structure widget/hint">hint45 <span tal:content="structure widget/hint">hint 46 46 </span> 47 47 </tal:hint> </td> … … 50 50 </tbody> 51 51 </table> 52 <div class="actionButtons"tal:condition="view/availableActions">52 <div tal:condition="view/availableActions"> 53 53 <span tal:repeat="action view/actions" tal:omit-tag=""> 54 54 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> … … 69 69 </thead> 70 70 <tbody> 71 <tr tal:repeat="entry view/getCourses" class="grade B"> <td>71 <tr tal:repeat="entry view/getCourses" class="gradeC"> <td> 72 72 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 73 73 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 76 76 </tbody> 77 77 </table> 78 <div class="actionButtons"tal:condition="view/availableActions">78 <div tal:condition="view/availableActions"> 79 79 <span tal:repeat="action view/actions" tal:omit-tag=""> 80 80 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> … … 95 95 </thead> 96 96 <tbody> 97 <tr tal:repeat="entry view/getCertificates" class="grade B"> <td>97 <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td> 98 98 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 99 99 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> … … 102 102 </tbody> 103 103 </table> 104 <div class="actionButtons"tal:condition="view/availableActions">104 <div tal:condition="view/availableActions"> 105 105 <span tal:repeat="action view/actions" tal:omit-tag=""> 106 106 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> … … 123 123 </thead> 124 124 <tbody> 125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="grade B"> <td>125 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 126 126 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 127 127 <td tal:content="entry/user_name"> USERNAME </td> … … 131 131 </tbody> 132 132 </table> 133 <div class="actionButtons"tal:condition="view/availableActions">133 <div tal:condition="view/availableActions"> 134 134 <span tal:repeat="action view/actions" tal:omit-tag=""> 135 135 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 136 136 </span> 137 137 </div> <br /><br /> 138 <table class=" zebra">138 <table class="form-table"> 139 139 <tr> <td> 140 140 <select id="user" name="user"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentpage.pt
r6461 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultiescontainermanagepage.pt
r7333 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultymanagepage.pt
r7213 r7443 1 1 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 2 <div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status: 2 <div class="alert-message error" tal:define="status view/status" 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 <td> 31 32 <label tal:attributes="for widget/name"> 32 <span class="required"tal:condition="widget/required">*33 <span tal:condition="widget/required">* 33 34 </span> 34 35 <span i18n:translate="" tal:content="widget/label">label 35 36 </span>: 36 37 </label> </td> 37 <td class="field">38 <span class="widget"tal:content="structure widget">38 <td> 39 <span tal:content="structure widget"> 39 40 <input type="text" /> 40 41 </span> … … 44 45 </tal:error> 45 46 <tal:hint tal:condition="widget/hint"> 46 <span class="hint"tal:content="structure widget/hint">hint47 <span tal:content="structure widget/hint">hint 47 48 </span> 48 49 </tal:hint> </td> … … 51 52 </tbody> 52 53 </table> 53 <div class="actionButtons"tal:condition="view/availableActions">54 <div tal:condition="view/availableActions"> 54 55 <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 <input tal:condition="python:action.label in view.taboneactions" 57 tal:replace="structure action/render"/> 56 58 </span> 57 59 </div> … … 59 61 <div id="tab-2"> 60 62 <h3 tal:content="view/subunits">Departments</h3> 61 <table class="zebra">63 <table> 62 64 <thead> 63 65 <tr> … … 72 74 <tbody> 73 75 <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 <input type="checkbox" name="val_id" 77 tal:attributes="value dep/code" /> </td> <td> 78 <a tal:attributes="href python: view.url(dep)" 79 tal:content="dep/__name__"> ID</a> </td> <td> 76 80 <span tal:content="dep/title">ID 77 81 </span> </td> … … 79 83 </tbody> 80 84 </table> 81 <div class="actionButtons"tal:condition="view/availableActions">85 <div tal:condition="view/availableActions"> 82 86 <span tal:repeat="action view/actions" tal:omit-tag=""> 83 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 87 <input tal:condition="python:action.label in view.tabtwoactions" 88 tal:replace="structure action/render"/> 84 89 </span> 85 90 </div> … … 100 105 </thead> 101 106 <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> 107 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 108 <input type="checkbox" name="role_id" 109 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 104 110 <td tal:content="entry/user_name"> USERNAME </td> 105 111 <td tal:content="entry/user_title"> USERTITLE </td> … … 108 114 </tbody> 109 115 </table> 110 <div class="actionButtons"tal:condition="view/availableActions">116 <div tal:condition="view/availableActions"> 111 117 <span tal:repeat="action view/actions" tal:omit-tag=""> 112 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 118 <input tal:condition="python:action.label in view.tabthreeactions1" 119 tal:replace="structure action/render"/> 113 120 </span> 114 121 </div><br /><br /> 115 <table class=" zebra">122 <table class="form-table"> 116 123 <tr> <td> 117 124 <select id="user" name="user"> … … 122 129 </select> </td> <td> 123 130 <select id="local_role" name="local_role"> 124 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 131 <option tal:repeat="localrole view/getLocalRoles" 132 tal:attributes="value localrole/name"> 125 133 <span tal:replace="localrole/title">LOCALROLETITLE 126 134 </span> … … 129 137 <div tal:condition="view/availableActions"> 130 138 <span tal:repeat="action view/actions" tal:omit-tag=""> 131 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 139 <input tal:condition="python:action.label in view.tabthreeactions2" 140 tal:replace="structure action/render"/> 132 141 </span> 133 142 </div> </td> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultypage.pt
r5993 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/loginpage.pt
r7369 r7443 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> 7 <label>User Name or Student Id:</label> 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> 15 <label>Password:</label> 16 </td> 17 <td> 17 18 <input type="password" id="password" name="form.password" size="20" value="" /> 18 19 -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/notfound.pt
r6190 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/plainactionbutton.pt
r7367 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/searchpage.pt
r6460 r7443 31 31 </tbody> 32 32 </table> 33 <div class="actionButtons">34 </div>35 33 </span> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/staffsitelayout.pt
r7442 r7443 13 13 tal:attributes="title string:RSS feed of ${layout/getAppTitle}; 14 14 href python: view.url(layout.site, 'feed.rss')" /> 15 16 17 <style type="text/css">18 body {19 padding-top: 60px;20 }21 </style>22 23 24 25 15 </head> 26 16 <body> … … 76 66 <div class="content"> 77 67 <div class="row"> 78 <div class="span1 4"68 <div class="span12" 79 69 tal:define="message context/@@messages" 80 70 tal:condition="python: len(message)>11"> … … 82 72 </div> 83 73 </div> 84 <div class="span14"> 85 <tal:actionbar content="structure provider:actionbar" /> 74 <div class="span12" tal:condition="provider:actionbar"> 75 <span tal:replace="structure provider:actionbar" /> 76 <br /><br /> 86 77 </div> 87 <div class="span14"> </div> 88 <div class="span14" tal:content="structure view/content"> THE CONTENT 78 <div class="span12" tal:content="structure view/content"> THE CONTENT 89 79 </div> 90 80 </div> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/subobjectlist.pt
r5936 r7443 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/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/usereditformpage.pt
r7149 r7443 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">26 <td> 27 27 <label tal:attributes="for widget/name"> 28 <span class="required"tal:condition="widget/required">*</span>28 <span tal:condition="widget/required">*</span> 29 29 <span i18n:translate="" tal:content="widget/label">label</span>: 30 30 </label> 31 31 </td> 32 <td class="field">33 <span class="widget"tal:content="structure widget">32 <td> 33 <span tal:content="structure widget"> 34 34 <input type="text" /> 35 35 </span> … … 38 38 </tal:error> 39 39 <tal:hint tal:condition="widget/hint"> 40 <span class="hint"tal:content="structure widget/hint">hint</span>40 <span tal:content="structure widget/hint">hint</span> 41 41 </tal:hint> 42 42 </td> … … 44 44 </tal:block> 45 45 <tr> 46 <td class="label"><label>Password:</label></td>46 <td><label>Password:</label></td> 47 47 <td> 48 48 <input name="password" type="password" /> … … 50 50 </tr> 51 51 <tr> 52 <td class="label"><label>Retype password:</label></td>52 <td><label>Retype password:</label></td> 53 53 <td> 54 54 <input name="control_password" type="password" /> … … 58 58 </tbody> 59 59 </table> 60 <div class="actionButtons"tal:condition="view/availableActions">60 <div tal:condition="view/availableActions"> 61 61 <input tal:repeat="action view/actions" 62 62 tal:replace="structure action/render" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/userscontainerpage.pt
r7178 r7443 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>
Note: See TracChangeset for help on using the changeset viewer.