Changeset 7705 for main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Timestamp:
- 26 Feb 2012, 16:34:10 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatecoursepage.pt
r7665 r7705 1 <table class="form-table">1 <table i18n:domain="waeup.sirp" class="form-table"> 2 2 <thead> 3 3 </thead> 4 4 <tbody> 5 5 <tr> 6 <td >Code:</td>6 <td i18n:translate="">Code:</td> 7 7 <td tal:content="context/__name__">CODE</td> 8 8 </tr> 9 9 <tr> 10 <td >Course Code:</td>10 <td i18n:translate="">Course Code:</td> 11 11 <td tal:content="context/getCourseCode">THE COURSE</td> 12 12 </tr> 13 13 <tr> 14 <td >Course Title:</td>14 <td i18n:translate="">Course Title:</td> 15 15 <td tal:content="context/course/title">THE TITLE</td> 16 16 </tr> 17 17 <tr> 18 <td >Provided by:</td>18 <td i18n:translate="">Provided by:</td> 19 19 <td> 20 20 <span tal:content="python: context.course.__parent__.__parent__.longtitle()">DEPARTMENT</span> … … 24 24 </tr> 25 25 <tr> 26 <td >Level:</td>26 <td i18n:translate="">Level:</td> 27 27 <td tal:content="view/leveltitle">LEVEL</td> 28 28 </tr> 29 29 <tr> 30 <td >Is mandatory course (not elective):</td>30 <td i18n:translate="">Is mandatory course (not elective):</td> 31 31 <td tal:content="context/mandatory">MANDATORY</td> 32 32 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r7669 r7705 1 1 <form action="." tal:attributes="action request/URL" method="POST" 2 enctype="multipart/form-data" >2 enctype="multipart/form-data" i18n:domain="waeup.sirp"> 3 3 4 4 <ul class="tabs" data-tabs="tabs"> 5 <li tal:attributes="class view/tab1"><a href="#tab-1" ><span>Settings</span></a></li>6 <li tal:attributes="class view/tab2"><a href="#tab-2" ><span>Course Referrers</span></a></li>7 <li tal:attributes="class view/tab3"><a href="#tab-3" ><span>Local Roles</span></a></li>5 <li tal:attributes="class view/tab1"><a href="#tab-1" i18n:translate="">Settings</a></li> 6 <li tal:attributes="class view/tab2"><a href="#tab-2" i18n:translate="">Course Referrers</a></li> 7 <li tal:attributes="class view/tab3"><a href="#tab-3" i18n:translate="">Local Roles</a></li> 8 8 </ul> 9 9 … … 42 42 </div> 43 43 <div id="tab-2" tal:attributes="class view/tab2"> 44 <h3 >Course Referrers</h3>44 <h3 i18n:translate="">Course Referrers</h3> 45 45 <table class="display dataTableManage"> 46 46 <thead> 47 47 <tr> 48 <th> </th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th> 49 <th>Mandatory</th> 48 <th> </th><th i18n:translate="">Level</th> 49 <th i18n:translate="">Semester</th><th i18n:translate="">Referrer</th> 50 <th i18n:translate="">Course</th><th i18n:translate="">Title</th> 51 <th i18n:translate="">Mandatory</th> 50 52 </tr> 51 53 </thead> … … 102 104 <th> 103 105 </th> 104 <th >User Id106 <th i18n:translate="">User Id 105 107 </th> 106 <th >Name108 <th i18n:translate="">Name 107 109 </th> 108 <th >Local Role110 <th i18n:translate="">Local Role 109 111 </th> 110 112 </tr> … … 112 114 <tbody> 113 115 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 114 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 116 <input type="checkbox" name="role_id" 117 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 115 118 <td tal:content="entry/user_name"> USERNAME </td> 116 119 <td tal:content="entry/user_title"> USERTITLE </td> … … 121 124 <div tal:condition="view/availableActions"> 122 125 <span tal:repeat="action view/actions" tal:omit-tag=""> 123 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 126 <input tal:condition="python:action.label in view.tabthreeactions1" 127 tal:replace="structure action/render"/> 124 128 </span> 125 129 </div><br /><br /> … … 127 131 <tr> <td> 128 132 <select id="user" name="user"> 129 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 133 <option tal:repeat="user view/getUsers" 134 tal:attributes="value user/name"> 130 135 <span tal:replace="user/val/title">USERTITLE 131 136 </span> … … 133 138 </select> </td> <td> 134 139 <select id="local_role" name="local_role"> 135 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 140 <option tal:repeat="localrole view/getLocalRoles" 141 tal:attributes="value localrole/name"> 136 142 <span tal:replace="localrole/title">LOCALROLETITLE 137 143 </span> … … 140 146 <div tal:condition="view/availableActions"> 141 147 <span tal:repeat="action view/actions" tal:omit-tag=""> 142 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 148 <input tal:condition="python:action.label in view.tabthreeactions2" 149 tal:replace="structure action/render"/> 143 150 </span> 144 151 </div> </td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt
r7669 r7705 18 18 </table> 19 19 20 <h3><span tal:content="context/__name__">Code</span> Course Referrers</h3> 20 <h3> 21 <span tal:content="context/__name__">Code</span> 22 <span i18n:domain="waeup.sirp" i18n:translate="">Course Referrers</span> 23 </h3> 21 24 <br /> 22 <table class="display dataTable">25 <table i18n:domain="waeup.sirp" class="display dataTable"> 23 26 <thead> 24 27 <tr> 25 <th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th> 26 <th>Title</th><th>Mandatory</th> 28 <th i18n:translate="">Level</th><th i18n:translate="">Semester</th> 29 <th i18n:translate="">Referrer</th><th i18n:translate="">Course</th> 30 <th i18n:translate="">Title</th><th i18n:translate="">Mandatory</th> 27 31 </tr> 28 32 </thead> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt
r7669 r7705 1 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 1 <form action="." tal:attributes="action request/URL" method="POST" 2 enctype="multipart/form-data" i18n:domain="waeup.sirp"> 2 3 <ul class="tabs" data-tabs="tabs"> 3 4 <li tal:attributes="class view/tab1"> 4 <a href="#tab-1"> 5 <span>Site Settings 6 </span></a> 5 <a href="#tab-1" i18n:translate="">Site Settings</a> 7 6 </li> 8 7 <li tal:attributes="class view/tab2"> 9 <a href="#tab-2" >Session Configurations</a>8 <a href="#tab-2" i18n:translate="">Session Configurations</a> 10 9 </li> 11 10 </ul> … … 51 50 <th> 52 51 </th> 53 <th >Name52 <th i18n:translate="">Name 54 53 </th> 55 54 </tr> … … 64 63 <div tal:condition="view/availableActions"> 65 64 <span tal:repeat="action view/actions" tal:omit-tag=""> 66 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 65 <input tal:condition="python:action.label in view.tabtwoactions" 66 tal:replace="structure action/render"/> 67 67 </span> 68 68 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport1page.pt
r7464 r7705 1 <h3 >Step 1</h3>2 <p >1 <h3 i18n:domain="waeup.sirp" i18n:translate="">Step 1</h3> 2 <p i18n:domain="waeup.sirp" i18n:translate=""> 3 3 Using batch processing you can mass-create, mass-update, or 4 4 mass-remove datasets from the database using CSV files. 5 5 </p> 6 <p >7 Please select a file for processing from the list below 6 <p i18n:domain="waeup.sirp" i18n:translate=""> 7 Please select a file for processing from the list below. 8 8 </p> 9 <form method="POST">9 <form i18n:domain="waeup.sirp" method="POST"> 10 10 <table> 11 11 <thead> 12 <th /><th>Filename</th><th>Datasets</th><th>Size</th><th>Date</th> 12 <th /> 13 <th i18n:translate="">Filename</th> 14 <th i18n:translate="">Datasets</th> 15 <th i18n:translate="">Size</th> 16 <th i18n:translate="">Date</th> 13 17 </thead> 14 18 <tbody> 15 19 <tr tal:repeat="file view/getFiles"> 16 20 <td> 17 <button type="submit" name="select" class="btn primary" 21 <button i18n:translate="" 22 type="submit" name="select" class="btn primary" 18 23 tal:attributes="value file/name">Select</button> 19 24 </td> … … 25 30 </tbody> 26 31 </table> 27 <input type="submit" name="cancel" class="btn" value="Cancel" /> 32 <input type="submit" name="cancel" class="btn" 33 tal:attributes="value view/cancel_button" /> 28 34 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt
r7464 r7705 1 <h3 >Step 2</h3>2 <form method="POST">1 <h3 i18n:domain="waeup.sirp" i18n:translate="">Step 2</h3> 2 <form i18n:domain="waeup.sirp" method="POST"> 3 3 <p> 4 <b>File:</b> 5 <span tal:content="view/filename">Filename.csv 6 </span> 7 <input type="hidden" name="filename" tal:attributes="value view/filename" /> 4 <b i18n:translate="">File:</b> 5 <span tal:content="view/filename">Filename.csv</span> 6 <input type="hidden" name="filename" tal:attributes="value view/filename" /> 8 7 </p> 9 <p> Please select a file-processor and a processing-mode from the selections below: 8 <p i18n:translate=""> 9 Please select a file-processor and a processing-mode from the selections below. 10 10 </p> 11 11 <div> 12 12 <table 13 14 15 13 tal:define="body view/getPreviewBody; 14 headers view/getPreviewHeader; 15 fieldnum python: len(headers)"> 16 16 <thead> 17 17 <tr> … … 30 30 </table> 31 31 </div> 32 <div> <b >Processor:</b>32 <div> <b i18n:translate="">Processor:</b> 33 33 <select name="importer"> 34 34 <option tal:repeat="importer view/getImporters" … … 41 41 <p> 42 42 </p> 43 <div> <b >Mode:</b>43 <div> <b i18n:translate="">Mode:</b> 44 44 <input type="radio" name="mode" value="create" checked="checked" 45 45 tal:attributes="checked python: view.mode == 'create' and 'checked' or ''; … … 57 57 </p> 58 58 </div> 59 <input class="btn" type="submit" name="cancel" value="Cancel" /> 60 <input class="btn danger" type="submit" name="back1" value="Back to step 1" /> 61 <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''" 62 type="submit" name="proceed" value="Proceed to step 3..." /> 59 <input class="btn" type="submit" name="cancel" tal:attributes="value view/cancel_button" /> 60 <input class="btn danger" type="submit" name="back1" tal:attributes="value view/back_button" /> 61 <input class="btn primary" 62 tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button" 63 type="submit" name="proceed" /> 63 64 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport3page.pt
r7464 r7705 1 <div class="alert-message success" tal:condition="not: view/getWarnings"> 1 <div i18n:domain="waeup.sirp" i18n:translate="" 2 class="alert-message success" tal:condition="not: view/getWarnings"> 2 3 Header fields OK 3 4 </div> 4 5 5 <h3 >Step 3</h3>6 <form >7 <p >6 <h3 i18n:domain="waeup.sirp" i18n:translate="">Step 3</h3> 7 <form i18n:domain="waeup.sirp"> 8 <p i18n:translate=""> 8 9 Eventually modify headerfields of import file below. 9 10 </p> 10 11 <p> 11 <b >File:</b>12 <b i18n:translate="">File:</b> 12 13 <span tal:content="view/filename">Filename.csv</span> 13 14 <input type="hidden" name="filename" … … 15 16 </p> 16 17 <p> 17 <b >Processor:</b>18 <b i18n:translate="">Processor:</b> 18 19 <span tal:content="view/importer/name">Importer Name</span> 19 20 <input type="hidden" name="importer" … … 21 22 </p> 22 23 <p> 23 <b >Processing mode: </b>24 <b i18n:translate="">Processing mode: </b> 24 25 <span tal:content="view/mode">mode</span> 25 26 <input type="hidden" name="mode" … … 41 42 <tr> 42 43 <th tal:repeat="headerfield headers"> 43 <i >change to:</i>44 <i i18n:translate="">change to:</i> 44 45 </th> 45 46 </tr> … … 68 69 </div> 69 70 70 <input class="btn" type="submit" name="cancel" value="Cancel" /> 71 <input class="btn" type="reset" name="reset" value="Reset" /> 72 <input class="btn" type="submit" name="update" value="Set headerfields" /> 71 <input class="btn" type="submit" name="cancel" 72 tal:attributes="value view/cancel_button" /> 73 <input class="btn" type="reset" name="reset" 74 tal:attributes="value view/reset_button" /> 75 <input class="btn" type="submit" name="update" 76 tal:attributes="value view/update_button" /> 73 77 <br /><br /> 74 <input class="btn danger" type="submit" name="back2" value="Back to step 2" /> 75 <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''" 76 type="submit" name="proceed" value="Perform import..." /> 78 <input class="btn danger" type="submit" name="back2" 79 tal:attributes="value view/back_button" /> 80 <input class="btn primary" 81 tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button" 82 type="submit" name="proceed"/> 77 83 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport4page.pt
r7464 r7705 1 <h3 >Step 4</h3>2 <p >1 <h3 i18n:domain="waeup.sirp" i18n:translate="">Step 4</h3> 2 <p i18n:domain="waeup.sirp" i18n:translate=""> 3 3 Batch processing finished. 4 4 </p> 5 <p >6 <b >File:</b> <span tal:content="view/filename">Filename.csv</span>5 <p i18n:domain="waeup.sirp"> 6 <b i18n:translate="">File:</b> <span tal:content="view/filename">Filename.csv</span> 7 7 </p> 8 <p >9 <b >Processor:</b>8 <p i18n:domain="waeup.sirp"> 9 <b i18n:translate="">Processor:</b> 10 10 <span tal:content="view/importer/name">Importer Name</span> 11 11 </p> 12 <p >13 <b >Processing mode: </b>12 <p i18n:domain="waeup.sirp"> 13 <b i18n:translate="">Processing mode: </b> 14 14 <span tal:content="view/mode">mode</span> 15 15 </p> 16 <form method="POST"> 17 <input class="btn primary" type="submit" name="finish" value="Back to data center" /> 18 <input class="btn" type="submit" name="showlog" value="View processing log" /> 16 <form method="POST" i18n:domain="waeup.sirp"> 17 <input class="btn primary" type="submit" name="finish" 18 tal:attributes="value view/back_button" /> 19 <input class="btn" type="submit" name="showlog" 20 tal:attributes="value view/show_button" /> 19 21 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt
r7464 r7705 1 <div tal:define="files view/files"> 2 <p tal:condition="not: files">Currently no log files are available. 1 <div i18n:domain="waeup.sirp" tal:define="files view/files"> 2 <p i18n:translate="" tal:condition="not: files"> 3 Currently no log files are available. 3 4 </p> 4 5 <table tal:condition="files" class="condensed-table"> … … 7 8 <th> 8 9 </th> 9 <th >File10 <th i18n:translate="">File 10 11 </th> 11 <th >Date12 <th i18n:translate="">Date 12 13 </th> 13 <th >Size14 <th i18n:translate="">Size 14 15 </th> 15 16 </tr> 16 17 </thead> 17 18 <tbody> 18 <tr tal:repeat="file files" tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'"> 19 <tr tal:repeat="file files" 20 tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'"> 19 21 <td class="text-center"> 20 22 <form method="POST"> 21 <input type="submit" class="btn primary" name="show" value="Show" /> 23 <input i18n:translate="" type="submit" class="btn primary" name="show" 24 tal:attributes="value view/show_button" /> 22 25 <input type="hidden" name="logname" tal:attributes="value file/name" /> 23 26 </form></td> … … 29 32 </table> 30 33 <form method="POST"> 31 <input type="submit" class="btn" name="back" value="Back to Data Center" /> 34 <input i18n:translate="" type="submit" class="btn" name="back" 35 tal:attributes="value view/back_button"/> 32 36 </form> 33 37 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacentermanagepage.pt
r7464 r7705 1 <form method="POST">1 <form i18n:domain="waeup.sirp" method="POST"> 2 2 <div> 3 Storage path:3 <span i18n:translate="">Storage path:</span> 4 4 <input type="text" name="newpath" 5 5 tal:attributes="value context/storage" /> 6 6 <br /><br /> 7 Copy existing data to new storage? 7 <span i18n:translate=""> 8 Copy existing data to new storage? 9 </span> 8 10 <input type="checkbox" name="move" checked="checked" /> 9 11 <br /><br /> 10 Overwrite contents in new location? 12 <span i18n:translate=""> 13 Overwrite contents in new location? 14 </span> 11 15 <input type="checkbox" name="overwrite" checked="no" /> 12 16 <br /><br /> 13 <input class="btn primary" type="submit" name="save" value="Save" /> 14 <input class="btn" type="reset" name="reset" value="Reset" /> 15 <input class="btn" type="submit" name="cancel" value="Cancel" /> 17 <input class="btn primary" type="submit" name="save" 18 tal:attributes="value view/save_button" /> 19 <input class="btn" type="reset" name="reset" 20 tal:attributes="value view/reset_button" /> 21 <input class="btn" type="submit" name="cancel" 22 tal:attributes="value view/cancel_button" /> 16 23 </div> 17 24 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterpage.pt
r7465 r7705 1 <p >1 <p i18n:domain="waeup.sirp" i18n:translate=""> 2 2 The data center helps you to manage portal data. You can upload CSV 3 3 files here, which will be available for import afterwards. 4 4 </p> 5 5 6 <p> 7 <b>Storage path:</b> <span tal:content="context/storage">/foo/bar</span> 6 <p i18n:domain="waeup.sirp"> 7 <b i18n:translate="">Storage path:</b> 8 <span tal:content="context/storage">/foo/bar</span> 8 9 </p> 9 10 10 <table >11 <table i18n:domain="waeup.sirp"> 11 12 <thead> 12 13 <tr> 13 <th >File</th>14 <th >Size</th>15 <th >Uploaded</th>14 <th i18n:translate="">File</th> 15 <th i18n:translate="">Size</th> 16 <th i18n:translate="">Uploaded</th> 16 17 </tr> 17 18 </thead> 18 19 <tbody> 19 20 <tr tal:repeat="file context/getFiles"> 20 <td tal:content="file/name"> thefilename</td>21 <td tal:content="file/name">FILENAME</td> 21 22 <td tal:content="file/size">12 k</td> 22 23 <td tal:content="file/uploaddate">Mar 12, 2008</td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenteruploadpage.pt
r7464 r7705 3 3 <br /><br /> 4 4 <div> 5 <input class="btn primary" type="submit" name="SUBMIT" value="Upload" /> 6 <input class="btn" type="submit" name="CANCEL" value="Cancel" /> 5 <input class="btn primary" type="submit" name="SUBMIT" 6 tal:attributes="value view/upload_button" /> 7 <input class="btn" type="submit" name="CANCEL" 8 tal:attributes="value view/cancel_button"/> 7 9 </div> 8 10 </form>
Note: See TracChangeset for help on using the changeset viewer.