Changeset 9821 for main/waeup.kofa/trunk
- Timestamp:
- 22 Dec 2012, 07:29:36 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterexportpage.pt
r9217 r9821 3 3 <div class="span8 columns"> 4 4 <p i18n:translate=""> 5 5 Here you can create CSV files from parts of portal data. 6 6 </p> 7 7 <p i18n:translate=""> 8 9 8 Please pick the type of objects you want to export from the 9 selection below. 10 10 </p> 11 11 <p i18n:translate=""> 12 13 14 12 The file will be generated and then be made available for you 13 to download. You must download or discard any existing export 14 file before creating a new one. 15 15 </p> 16 16 </div> 17 18 17 <form method="POST"> 19 18 <fieldset> 20 <div class="clearfix"> 21 <label for="running_exports" 22 tal:condition="view/getRunningExports">Running Export:</label> 23 <div class="input span6"> 24 <div tal:repeat="items view/getRunningExports"> 25 <div> 26 Data type: 27 <span tal:content="python: items[2]">exporter</span><br /> 28 Status: 29 <span tal:content="python: items[1]">status</span><br /> 30 <br /><br /> 31 </div> 32 <div> 33 <span tal:condition="not: python: view.job_finished(items[0])"> 34 <img src="" 35 tal:attributes="src static/ajax-loader.gif" 36 alt="Loading..." 37 class="spinner" /> 38 <input type="submit" name="reload" value="Reload" 39 class="btn primary" /> 40 </span> 41 <div> 42 <span tal:condition="python: view.job_finished(items[0])"> 43 <input type="submit" name="download" value="Download" 44 class="btn primary" /> 45 <input type="submit" name="discard" value="Discard" 46 class="btn secondary" /> 47 </span> 48 </div> 49 </div> 50 </div> 19 <label for="running_exports" 20 tal:condition="view/getRunningExports">Running Export: 21 </label> 51 22 52 <div>53 <tal:loading_bar content="structure provider:loadingbar" />54 </div>55 </div>56 23 57 <div class="clearfix" 58 tal:condition="not: view/getRunningExports"> 59 <label for="exporter">Data Type:</label> 60 <div class="input"> 61 <select name="exporter"> 62 <span tal:repeat="items view/getExporters" tal:omit-tag=""> 63 <option 64 tal:define="name python: items[1]; title python: items[0]" 65 tal:attributes="value name"> 66 <span tal:replace="title">TITLE</span> 67 </option> 68 </span> 69 </select> 70 <span class="help-inline" i18n:translate=""> 71 Type of objects to export 72 </span> 73 </div> 74 </div> 75 <div class="input" 76 tal:condition="not: view/getRunningExports"> 77 <input i18n:translate="" type="submit" class="btn primary" 78 name="start_export" 79 tal:attributes="value view/export_button" /> 80 </div> 81 </div> 24 <div class="input span6"> 25 <div tal:repeat="items view/getRunningExports"> 26 Data type: 27 <span tal:content="python: items[2]">exporter 28 </span><br /> 29 Status: 30 <span tal:content="python: items[1]">status 31 </span> 32 <br /><br /><br /> 33 <span tal:condition="not: python: view.job_finished(items[0])"> 34 <img src="" tal:attributes="src static/ajax-loader.gif" 35 alt="Loading..." class="spinner" /> 36 <input type="submit" name="reload" value="Reload" 37 class="btn primary" /> 38 </span> 39 <div> 40 <span tal:condition="python: view.job_finished(items[0])"> 41 <input type="submit" name="download" value="Download" 42 class="btn primary" /> 43 <input type="submit" name="discard" value="Discard" 44 class="btn secondary" /> 45 </span> 46 </div> 47 </div> 48 <div> 49 <tal:loading_bar content="structure provider:loadingbar" /> 50 </div> 51 </div> 52 53 54 <div class="clearfix" tal:condition="not: view/getRunningExports"> 55 <label for="exporter">Data Type: 56 </label> 57 <div class="input"> 58 <select name="exporter"> 59 <span tal:repeat="items view/getExporters" tal:omit-tag=""> 60 <option tal:define="name python: items[1]; title python: items[0]" 61 tal:attributes="value name"> 62 <span tal:replace="title">TITLE 63 </span> 64 </option> 65 </span> 66 </select> 67 <span class="help-inline" i18n:translate=""> 68 Type of objects to export 69 </span> 70 </div> 71 </div> 72 73 74 <div class="input" tal:condition="not: view/getRunningExports"> 75 <input i18n:translate="" type="submit" class="btn primary" 76 name="start_export" tal:attributes="value view/export_button" /> 77 </div> 82 78 </fieldset> 83 79 </form> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportjobsindex.pt
r9819 r9821 32 32 tal:attributes="value job/job" /> 33 33 <a href="" class="btn primary" 34 tal:attributes="href job/download_url"35 tal:condition="job/show_download_button">34 tal:attributes="href job/download_url" 35 tal:condition="job/show_download_button"> 36 36 Download</a> 37 37 <input type="submit" class="btn secondary"
Note: See TracChangeset for help on using the changeset viewer.