Changeset 11011 for main/waeup.kofa/branches/uli-diazo-themed/src/waeup
- Timestamp:
- 30 Jan 2014, 13:59:56 (11 years ago)
- Location:
- main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser.py
r11010 r11011 655 655 container = self.context.__parent__ 656 656 payment = createObject(self.factory) 657 error= applicants_utils.setPaymentDetails(657 failure = applicants_utils.setPaymentDetails( 658 658 container, payment, self.context) 659 if erroris not None:660 self.flash( error, type='danger')659 if failure is not None: 660 self.flash(failure[0], type='danger') 661 661 self.redirect(self.url(self.context)) 662 662 return … … 1209 1209 grok.name('index.html') 1210 1210 grok.template('exportjobsindex') 1211 label = _(' ApplicantData Exports')1211 label = _('Data Exports') 1212 1212 pnav = 3 1213 1213 -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt
r8643 r11011 1 1 <tal:statistics define="stats context/statistics" i18n:domain="waeup.kofa"> 2 2 <h2 i18n:translate="">Container Statistics</h2> 3 <table class=" span8">3 <table class="table"> 4 4 <thead> 5 5 <tr> … … 17 17 </tbody> 18 18 </table> 19 <table class=" span8" tal:condition="python: stats[1]">19 <table class="table" tal:condition="python: stats[1]"> 20 20 <thead> 21 21 <tr> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt
r10353 r11011 41 41 Application Fee Payment Tickets 42 42 </h3> 43 <table i18n:domain="waeup.kofa"> 44 <thead> 45 <tr> 46 <th i18n:translate="">Payment Id</th> 47 <th i18n:translate="">Creation Date</th> 48 <th i18n:translate="">Payment Date</th> 49 <th i18n:translate="">Category</th> 50 <th i18n:translate="">Item</th> 51 <th i18n:translate="">State</th> 52 </tr> 53 </thead> 54 <tbody> 55 <tr tal:repeat="value context/values"> 56 <td> <a tal:attributes="href value/__name__"> 57 <span tal:content="value/p_id">PID</span></a></td> 58 <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td> 59 <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td> 60 <td tal:content ="value/category">CATEGORY</td> 61 <td tal:content ="value/display_item">ITEM</td> 62 <td tal:content ="value/p_state_title">STATE</td> 63 </tr> 64 </tbody> 65 </table> 43 <div class="table-responsive"> 44 <table i18n:domain="waeup.kofa" class="table table-condensed"> 45 <thead> 46 <tr> 47 <th i18n:translate="">Payment Id</th> 48 <th i18n:translate="">Creation Date</th> 49 <th i18n:translate="">Payment Date</th> 50 <th i18n:translate="">Category</th> 51 <th i18n:translate="">Item</th> 52 <th i18n:translate="">State</th> 53 </tr> 54 </thead> 55 <tbody> 56 <tr tal:repeat="value context/values"> 57 <td> <a tal:attributes="href value/__name__"> 58 <span tal:content="value/p_id">PID</span></a></td> 59 <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td> 60 <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td> 61 <td tal:content ="value/category">CATEGORY</td> 62 <td tal:content ="value/display_item">ITEM</td> 63 <td tal:content ="value/p_state_title">STATE</td> 64 </tr> 65 </tbody> 66 </table> 67 </div> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicanteditpage.pt
r10353 r11011 38 38 <td class="fieldname" i18n:translate="">Password:</td> 39 39 <td> 40 <input name="password" type="password" />40 <input class="form-control" name="password" type="password" /> 41 41 </td> 42 42 </tr> … … 44 44 <td class="fieldname" i18n:translate="">Retype Password:</td> 45 45 <td> 46 <input name="control_password" type="password" />46 <input class="form-control" name="control_password" type="password" /> 47 47 </td> 48 48 </tr> … … 84 84 </h3> 85 85 86 <table> 87 <thead> 88 <tr> 89 <th> </th> 90 <th i18n:translate="">Payment Id</th> 91 <th i18n:translate="">Creation Date</th> 92 <th i18n:translate="">Payment Date</th> 93 <th i18n:translate="">Category</th> 94 <th i18n:translate="">Item</th> 95 <th i18n:translate="">State</th> 96 </tr> 97 </thead> 98 <tbody> 99 <tr tal:repeat="cl context/values"> 100 <td> 101 <input type="checkbox" 102 name="val_id" 103 tal:attributes="value cl/__name__" 104 tal:condition="python: not view.unremovable(cl)" /> 105 </td> 106 <td> <a tal:attributes="href cl/__name__"> 107 <span tal:content="cl/p_id">PID</span></a></td> 108 <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td> 109 <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td> 110 <td tal:content ="cl/category">CATEGORY</td> 111 <td tal:content ="cl/display_item">ITEM</td> 112 <td tal:content ="cl/p_state_title">STATE</td> 86 <div class="table-responsive"> 87 <table i18n:domain="waeup.kofa" class="table table-condensed"> 88 <thead> 89 <tr> 90 <th> </th> 91 <th i18n:translate="">Payment Id</th> 92 <th i18n:translate="">Creation Date</th> 93 <th i18n:translate="">Payment Date</th> 94 <th i18n:translate="">Category</th> 95 <th i18n:translate="">Item</th> 96 <th i18n:translate="">State</th> 113 97 </tr> 114 </tbody> 115 </table> 98 </thead> 99 <tbody> 100 <tr tal:repeat="cl context/values"> 101 <td> 102 <input type="checkbox" 103 name="val_id" 104 tal:attributes="value cl/__name__" 105 tal:condition="python: not view.unremovable(cl)" /> 106 </td> 107 <td> <a tal:attributes="href cl/__name__"> 108 <span tal:content="cl/p_id">PID</span></a></td> 109 <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td> 110 <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td> 111 <td tal:content ="cl/category">CATEGORY</td> 112 <td tal:content ="cl/display_item">ITEM</td> 113 <td tal:content ="cl/p_state_title">STATE</td> 114 </tr> 115 </tbody> 116 </table> 117 </div> 116 118 117 119 <div tal:condition="view/availableActions"> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantregemailsent.pt
r8855 r11011 19 19 <tal:credentials condition = "view/password" i18n:domain="waeup.kofa"> 20 20 <h3 i18n:translate="">Your login credentials are:</h3> 21 <table class=" bordered-table span6">21 <table class="table-bordered"> 22 22 <tr> 23 23 <td i18n:translate="">User Name:</td> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantscontaineraddpage.pt
r7737 r11011 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 <table class="form-table"> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt
r9339 r11011 1 1 <form action="." tal:attributes="action request/URL" method="POST" 2 i18n:domain="waeup.kofa" class="edit-form"enctype="multipart/form-data">2 i18n:domain="waeup.kofa" enctype="multipart/form-data"> 3 3 4 <ul class="tabs" data-tabs="tabs">5 <li tal:attributes="class view/tab1">6 <a href="#tab -1">4 <ul class="tabs nav nav-tabs" data-tabs="tabs"> 5 <li class="active"> 6 <a href="#tab1" data-toggle="tab"> 7 7 <span i18n:translate="">Settings 8 8 </span></a> 9 9 </li> 10 <li tal:attributes="class view/tab2">11 <a href="#tab -2">10 <li> 11 <a href="#tab2" data-toggle="tab"> 12 12 <span i18n:translate="">Applicants 13 13 </span></a> 14 14 </li> 15 <li tal:attributes="class view/tab3">16 <a href="#tab -3">15 <li> 16 <a href="#tab3" data-toggle="tab"> 17 17 <span i18n:translate="">Local Roles 18 18 </span></a> … … 20 20 </ul> 21 21 <div class="tab-content"> 22 <div id="tab-1" tal:attributes="class view/tab1"> 22 <div id="tab1" class="active tab-pane"> 23 <br /> 23 24 <table class="form-table"> 24 25 <tbody> … … 33 34 </div> 34 35 </div> 35 <div id="tab -2" tal:attributes="class view/tab2">36 <div id="tab2" class="tab-pane"> 36 37 <tal:showApplicants condition="view/showApplicants"> 37 <input type="checkbox" onClick="toggle(this, 'val_id')" /> 38 <span i18n:translate="">Select all</span> 39 <br /><br /> 40 41 <table class="display dataTableManage"> 38 <br /> 39 <table class="dataTableManage"> 42 40 <thead> 43 41 <tr> … … 55 53 </thead> 56 54 <tbody> 57 <tr class="gradeC"tal:repeat="appl context/values">55 <tr tal:repeat="appl context/values"> 58 56 <td> 59 57 <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> … … 78 76 </tbody> 79 77 </table> 78 <input type="checkbox" onClick="toggle(this, 'val_id')" /> 79 <span i18n:translate="">Select all</span> 80 <br /><br /> 80 81 <div tal:condition="view/availableActions"> 81 82 <span tal:repeat="action view/actions" tal:omit-tag=""> … … 100 101 </tal:showNoApplicants> 101 102 </div> 102 <div id="tab -3" tal:attributes="class view/tab3"> <br />103 <table class="d isplay dataTableManage">103 <div id="tab3" class="tab-pane"> <br /> 104 <table class="dataTableManage"> 104 105 <thead> 105 106 <tr> … … 115 116 </thead> 116 117 <tbody> 117 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>118 <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td> 118 119 <input type="checkbox" name="role_id" 119 120 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/exportjobsindex.pt
r10655 r11011 1 <table i18n:domain="waeup.kofa"> 2 <thead> 3 <tr> 4 <th i18n:translate="">Export Number</th> 5 <th i18n:translate="">Exporter</th> 6 <th i18n:translate="">Filter</th> 7 <th i18n:translate="">Creator</th> 8 <th i18n:translate="">Creation Date</th> 9 <th i18n:translate="">Status</th> 10 <th> </th> 11 </tr> 12 </thead> 13 <tbody> 14 <tr tal:repeat="job view/entries"> 15 <td> 16 <span tal:replace="job/job">12</span> 17 </td> 18 <td> 19 <span tal:replace="structure job/exporter">EXPORTER</span> 20 </td> 21 <td> 22 <span tal:replace="structure job/args">ARGS</span> 23 </td> 24 <td> 25 <span tal:replace="job/creator">CREATOR</span> 26 </td> 27 <td nowrap> 28 <span tal:replace="job/start_time">DATETIME</span> 29 </td> 30 <td> 31 <span tal:replace="job/status">STATUS</span> 32 </td> 33 <td nowrap> 34 <a href="" class="btn" i18n:translate="" 35 tal:condition="job/show_refresh_button"> 36 <img tal:attributes="src static/actionicon_reload.png" /> 37 Reload 38 </a> 39 <form method="POST"> 40 <a href="" class="btn primary small" 41 tal:attributes="href job/download_url" 42 tal:condition="job/show_download_button"> 43 Download</a> 1 <div class="table-responsive"> 2 <table i18n:domain="waeup.kofa" class="table table-condensed table-hover"> 3 <thead> 4 <tr> 5 <th i18n:translate="">Export Number</th> 6 <th i18n:translate="">Exporter</th> 7 <th i18n:translate="">Filter</th> 8 <th i18n:translate="">Creator</th> 9 <th i18n:translate="">Creation Date</th> 10 <th i18n:translate="">Status</th> 11 <th> </th> 12 </tr> 13 </thead> 14 <tbody> 15 <tr tal:repeat="job view/entries"> 16 <td> 17 <span tal:replace="job/job">12</span> 18 </td> 19 <td> 20 <span tal:replace="structure job/exporter">EXPORTER</span> 21 </td> 22 <td> 23 <span tal:replace="structure job/args">ARGS</span> 24 </td> 25 <td> 26 <span tal:replace="job/creator">CREATOR</span> 27 </td> 28 <td> 29 <span tal:replace="job/start_time">DATETIME</span> 30 </td> 31 <td> 32 <span tal:replace="job/status">STATUS</span> 33 </td> 34 <td nowrap> 35 <a href="" class="btn btn-default btn-xs" i18n:translate="" 36 tal:condition="job/show_refresh_button"> 37 <img tal:attributes="src static/actionicon_reload.png" /> 38 Reload 39 </a> 40 <form method="POST"> 41 <a href="" class="btn btn-primary btn-xs" 42 tal:attributes="href job/download_url" 43 tal:condition="job/show_download_button"> 44 Download</a> 45 <input type="hidden" name="job_id" 46 tal:attributes="value job/job" /> 47 <input type="submit" class="btn btn-default btn-xs" 48 name="DISCARD" value="Discard" 49 tal:condition="job/show_discard_button" /> 50 </form> 51 </td> 52 </tr> 53 </tbody> 54 </table> 55 </div> 44 56 45 <input type="hidden" name="job_id"46 tal:attributes="value job/job" />47 <input type="submit" class="btn small"48 name="DISCARD" value="Discard"49 tal:condition="job/show_discard_button" />50 </form>51 </td>52 </tr>53 </tbody>54 </table>55 57 <form method="POST" i18n:domain="waeup.kofa"> 56 <div class="span12"> 57 58 </div> 59 <input class="btn primary" type="submit" name="CREATE" 58 <input class="btn btn-primary" type="submit" name="CREATE" 60 59 value="Start new export" 61 60 /> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/utils.py
r10843 r11011 51 51 session_config = grok.getSite()['configuration'][session] 52 52 except KeyError: 53 return _(u'Session configuration object is not available.') 53 return _(u'Session configuration object is not available.'), None 54 54 payment.p_id = "p%s" % timestamp 55 55 payment.p_item = container.title -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterexportpage.pt
r11006 r11011 69 69 <span tal:replace="job/creator">CREATOR</span> 70 70 </td> 71 <td nowrap>71 <td> 72 72 <span tal:replace="job/start_time">DATETIME</span> 73 73 </td>
Note: See TracChangeset for help on using the changeset viewer.