- Timestamp:
- 10 Jan 2012, 14:58:32 (13 years ago)
- Location:
- main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/static/waeup-base.css
r7445 r7446 13 13 } 14 14 15 label {16 padding-top: 0px;17 }18 19 15 .breadcrumb { 20 16 margin-left: 20px; 21 17 margin-right: 20px; 22 18 min-width: 940px; 19 } 20 21 .form-table { 22 width: 100%; 23 } 24 25 .fieldname { 26 width: 25%; 23 27 } 24 28 -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r7443 r7446 27 27 <tal:block repeat="widget view/widgets"> 28 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> 29 <td class="fieldname"> 30 <span tal:condition="widget/required">*</span> 31 <span i18n:translate="" tal:content="widget/label">label</span>: 34 32 </td> 35 33 <td> … … 66 64 </thead> 67 65 <tbody> 68 <tr tal:repeat="cc context/values" >66 <tr tal:repeat="cc context/values" class="gradeC"> 69 67 <td> 70 68 <input type="checkbox" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatepage.pt
r7443 r7446 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 13 <td tal:on-error="default"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/configurationmanagepage.pt
r7444 r7446 21 21 <tal:block repeat="widget view/widgets"> 22 22 <tr> 23 <td> 24 <label tal:attributes="for widget/name"> 23 <td class="fieldname"> 25 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>28 </td> 30 29 <td> 31 30 <span tal:content="structure widget"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport1page.pt
r7444 r7446 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 20 <button type="submit" name="select" class="btn primary" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt
r7443 r7446 24 24 <tal:block repeat="widget view/widgets"> 25 25 <tr> 26 <td> 27 <label tal:attributes="for widget/name"> 28 <span 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 30 <td> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r7443 r7446 27 27 <tal:block repeat="widget view/widgets"> 28 28 <tr> 29 <td> 30 <label tal:attributes="for widget/name"> 29 <td class="fieldname"> 31 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>34 </td> 36 35 <td> 37 36 <span tal:content="structure widget"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultymanagepage.pt
r7443 r7446 29 29 <tal:block repeat="widget view/widgets"> 30 30 <tr> 31 <td> 32 <label tal:attributes="for widget/name"> 33 <span tal:condition="widget/required">* 34 </span> 35 <span i18n:translate="" tal:content="widget/label">label 36 </span>: 37 </label> </td> 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> 38 37 <td> 39 38 <span tal:content="structure widget"> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/loginpage.pt
r7444 r7446 4 4 <tbody> 5 5 <tr> 6 <td >7 <label>User Name or Student Id:</label>6 <td class="fieldname"> 7 User Name or Student Id: 8 8 </td> 9 9 <td> … … 12 12 </tr> 13 13 <tr> 14 <td >15 <label>Password:</label>14 <td class="fieldname"> 15 Password: 16 16 </td> 17 17 <td> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/usereditformpage.pt
r7443 r7446 24 24 <tal:block repeat="widget view/widgets"> 25 25 <tr> 26 <td> 27 <label tal:attributes="for widget/name"> 28 <span 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 30 <td> … … 44 42 </tal:block> 45 43 <tr> 46 <td ><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 ><label>Retype password:</label></td>50 <td class="fieldname">Retype password:</td> 53 51 <td> 54 52 <input name="control_password" type="password" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser.py
r7424 r7446 41 41 from waeup.sirp.browser.viewlets import ( 42 42 ManageActionButton, AddActionButton) 43 from waeup.sirp.browser.layout import jsaction, JSAction43 from waeup.sirp.browser.layout import jsaction, action 44 44 from waeup.sirp.interfaces import ( 45 45 ISIRPObject, IUserAccount, IExtFileStore, IPasswordValidator, IContactForm, … … 328 328 pnav = 4 329 329 330 @ grok.action('Create student record')330 @action('Create student record', style='primary') 331 331 def addStudent(self, **data): 332 332 student = createObject(u'waeup.Student') … … 383 383 return u'Send message to %s' % self.context.display_fullname 384 384 385 @ grok.action('Send message now')385 @action('Send message now', style='primary') 386 386 def send(self, *args, **data): 387 387 try: … … 442 442 dict(name=x, title=y) for x, y in allowed_transitions] 443 443 444 @ grok.action('Save')444 @action('Save', style='primary') 445 445 def save(self, **data): 446 446 form = self.request.form … … 576 576 return super(StudentClearanceManageFormPage, self).update() 577 577 578 @ grok.action('Save')578 @action('Save', style='primary') 579 579 def save(self, **data): 580 580 msave(self, **data) … … 662 662 pnav = 4 663 663 664 @ grok.action('Save')664 @action('Save', style='primary') 665 665 def save(self, **data): 666 666 msave(self, **data) … … 732 732 return 733 733 734 @ grok.action('Save')734 @action('Save', style='primary') 735 735 def save(self, **data): 736 736 msave(self, **data) … … 744 744 yield(dict(code=code, title=title)) 745 745 746 @ grok.action('Add study level')746 @action('Add study level') 747 747 def addStudyLevel(self, **data): 748 748 level_code = self.request.form.get('addlevel', None) … … 921 921 return 'Manage study level %s' % self.context.level_title 922 922 923 @ grok.action('Save')923 @action('Save', style='primary') 924 924 def save(self, **data): 925 925 msave(self, **data) 926 926 return 927 927 928 @ grok.action('Add course ticket')928 @action('Add course ticket') 929 929 def addCourseTicket(self, **data): 930 930 self.redirect(self.url(self.context, '@@add')) … … 1022 1022 return 'Study Level %s' % self.context.level_title 1023 1023 1024 @ grok.action('Add course ticket')1024 @action('Add course ticket') 1025 1025 def addCourseTicket(self, **data): 1026 1026 ticket = CourseTicket() … … 1046 1046 return 1047 1047 1048 @ grok.action('Cancel')1048 @action('Cancel') 1049 1049 def cancel(self, **data): 1050 1050 self.redirect(self.url(self.context)) … … 1095 1095 return 'Manage course ticket %s' % self.context.code 1096 1096 1097 @ grok.action('Save')1097 @action('Save', style='primary') 1098 1098 def save(self, **data): 1099 1099 msave(self, **data) … … 1176 1176 return 1177 1177 1178 @ grok.action('Add online payment ticket')1178 @action('Add online payment ticket') 1179 1179 def addPaymentTicket(self, **data): 1180 1180 self.redirect(self.url(self.context, '@@addop')) … … 1200 1200 pnav = 4 1201 1201 1202 @ grok.action('Create ticket')1202 @action('Create ticket', style='primary') 1203 1203 def createTicket(self, **data): 1204 1204 p_category = data['p_category'] … … 1735 1735 pnav = 4 1736 1736 1737 @ grok.action('Save')1737 @action('Save', style='primary') 1738 1738 def save(self, **data): 1739 1739 msave(self, **data) … … 1751 1751 pnav = 4 1752 1752 1753 @ grok.action('Save')1753 @action('Save', style='primary') 1754 1754 def save(self, **data): 1755 1755 form = self.request.form … … 1898 1898 return super(StudentClearanceEditFormPage, self).update() 1899 1899 1900 @ grok.action('Save')1900 @action('Save', style='primary') 1901 1901 def save(self, **data): 1902 1902 self.applyData(self.context, **data) … … 1911 1911 return False 1912 1912 1913 @ grok.action('Save and request clearance')1913 @action('Save and request clearance', style='primary') 1914 1914 def requestClearance(self, **data): 1915 1915 self.applyData(self.context, **data) … … 2063 2063 return 2064 2064 2065 @ grok.action('Create course list now')2065 @action('Create course list now', style='primary') 2066 2066 def addStudyLevel(self, **data): 2067 2067 studylevel = StudentStudyLevel() … … 2127 2127 return total_credits 2128 2128 2129 @ grok.action('Add course ticket')2129 @action('Add course ticket') 2130 2130 def addCourseTicket(self, **data): 2131 2131 self.redirect(self.url(self.context, 'ctadd')) … … 2157 2157 return 2158 2158 2159 @ grok.action('Register course list')2159 @action('Register course list', style='primary') 2160 2160 def RegisterCourses(self, **data): 2161 2161 IWorkflowInfo(self.context.getStudent()).fireTransition('register_courses') … … 2172 2172 'grade', 'score', 'core_or_elective', 'automatic') 2173 2173 2174 @ grok.action('Add course ticket')2174 @action('Add course ticket') 2175 2175 def addCourseTicket(self, **data): 2176 2176 ticket = CourseTicket() … … 2211 2211 return 2212 2212 2213 @ grok.action('Get login credentials')2213 @action('Get login credentials', style='primary') 2214 2214 def request(self, **data): 2215 2215 if not self.captcha_result.is_valid: -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt
r7254 r7446 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 17 <table class="display dataTableManage"> … … 41 41 </table> 42 42 43 <div class="actionButtons"tal:condition="view/availableActions">43 <div tal:condition="view/availableActions"> 44 44 <span tal:repeat="action view/selected_actions" 45 45 tal:omit-tag=""> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/basemanagepage.pt
r7134 r7446 4 4 5 5 <form action="." tal:attributes="action request/URL" method="post" 6 class="edit-form"enctype="multipart/form-data">6 enctype="multipart/form-data"> 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"> … … 15 15 </div> 16 16 17 <div id="tabs"> 18 <ul> 19 <li><a href="#tab-1"><span>Base Data</span></a></li> 20 <li><a href="#tab-2"><span>Passport Picture</span></a></li> 21 </ul> 17 <ul class="tabs" data-tabs="tabs"> 18 <li class="active"><a href="#tab-1"><span>Base Data</span></a></li> 19 <li><a href="#tab-2"><span>Passport Picture</span></a></li> 20 </ul> 22 21 23 <div id="tab-1"> 24 <table class="form-fields zebra"> 22 <div class="tab-content"> 23 <div id="tab-1" class="active"> 24 <table class="form-table"> 25 25 <tbody> 26 26 <tal:block repeat="widget view/widgets"> 27 27 <tr> 28 <td class="label"> 29 <label tal:attributes="for widget/name"> 30 <span class="required" tal:condition="widget/required">*</span> 31 <span i18n:translate="" tal:content="widget/label">label</span>: 32 </label> 28 <td class="fieldname"> 29 <span tal:condition="widget/required">*</span> 30 <span i18n:translate="" tal:content="widget/label">label</span>: 33 31 </td> 34 <td class="field">35 <span class="widget"tal:content="structure widget">32 <td> 33 <span tal:content="structure widget"> 36 34 <input type="text" /> 37 35 </span> … … 40 38 </tal:error> 41 39 <tal:hint tal:condition="widget/hint"> 42 <span class="hint"tal:content="structure widget/hint">hint</span>40 <span tal:content="structure widget/hint">hint</span> 43 41 </tal:hint> 44 42 </td> … … 46 44 </tal:block> 47 45 <tr> 48 <td class=" label"><label>Password:</label></td>46 <td class="fieldname">Password:</td> 49 47 <td> 50 48 <input name="password" type="password" /> … … 52 50 </tr> 53 51 <tr> 54 <td class=" label"><label>Retype password:</label></td>52 <td class="fieldname">Retype password:</td> 55 53 <td> 56 54 <input name="control_password" type="password" /> … … 58 56 </tr> 59 57 <tr> 60 <td class=" label"><label>Registration Transition:</label></td>58 <td class="fieldname">Registration Transition:</td> 61 59 <td> 62 60 <select id="transition" name="transition"> … … 72 70 </table> 73 71 74 <div class="actionButtons"tal:condition="view/availableActions">72 <div tal:condition="view/availableActions"> 75 73 <input tal:repeat="action view/actions" 76 74 tal:replace="structure action/render" … … 80 78 81 79 <div id="tab-2"> 82 <h2>Upload passport picture</h2> 83 <table class="form-fields zebra"> 80 <table class="form-table"> 84 81 <tbody> 85 82 <tal:files content="structure provider:files" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/basepage.pt
r7384 r7446 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"> … … 26 26 </tbody> 27 27 <tfoot> 28 <tr class="controls">29 <td colspan="2" class="align-right">28 <tr> 29 <td> 30 30 <input tal:repeat="action view/actions" 31 31 tal:replace="structure action/render" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/change_password.pt
r7144 r7446 4 4 5 5 <form action="." tal:attributes="action request/URL" method="post" 6 class="edit-form"enctype="multipart/form-data">6 enctype="multipart/form-data"> 7 7 8 8 <input type="hidden" name="student_id" value="" 9 9 tal:attributes="value context/student_id" /> 10 10 11 <table class="form- fields zebra">11 <table class="form-table"> 12 12 <tbody> 13 13 <tr> 14 <td class=" label"><label>Password:</label></td>14 <td class="fieldname">Password:</td> 15 15 <td> 16 16 <input name="change_password" type="password" /> … … 18 18 </tr> 19 19 <tr> 20 <td class=" label"><label>Retype password:</label></td>20 <td class="fieldname">Retype password:</td> 21 21 <td> 22 22 <input name="change_password_repeat" type="password" /> … … 26 26 </table> 27 27 28 <div class="actionButtons"tal:condition="view/availableActions">28 <div tal:condition="view/availableActions"> 29 29 <input tal:repeat="action view/actions" 30 30 tal:replace="structure action/render" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/changepw.pt
r7369 r7446 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"> … … 15 15 </div> 16 16 17 <table class=" zebra">17 <table class="form-table"> 18 18 <tbody> 19 19 <tal:block repeat="widget view/widgets"> 20 20 <tr> 21 <td class="label"> 22 <label tal:attributes="for widget/name"> 23 <span class="required" tal:condition="widget/required">*</span> 21 <td class="fieldname"> 22 <span tal:condition="widget/required">*</span> 24 23 <span i18n:translate="" tal:content="widget/label">label</span>: 25 </label>26 24 </td> 27 <td class="field">28 <span class="widget"tal:content="structure widget">25 <td> 26 <span tal:content="structure widget"> 29 27 <input type="text" /> 30 28 </span> … … 33 31 </tal:error> 34 32 <tal:hint tal:condition="widget/hint"> 35 <span class="hint"tal:content="structure widget/hint">hint</span>33 <span tal:content="structure widget/hint">hint</span> 36 34 </tal:hint> 37 35 </td> … … 51 49 </table> 52 50 53 <div class="actionButtons"tal:condition="view/availableActions">51 <div tal:condition="view/availableActions"> 54 52 <input tal:repeat="action view/actions" 55 53 tal:replace="structure action/render" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt
r7134 r7446 4 4 5 5 <form action="." tal:attributes="action request/URL" method="post" 6 class="edit-form"enctype="multipart/form-data">6 enctype="multipart/form-data"> 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"> … … 15 15 </div> 16 16 17 <div id="tabs"> 18 <ul> 19 <li><a href="#tab-1"><span>Clearance Data</span></a></li> 20 <li><a href="#tab-2"><span>Scans</span></a></li> 21 </ul> 22 23 <div id="tab-1"> 24 <table class="form-fields zebra"> 17 <ul class="tabs" data-tabs="tabs"> 18 <li class="active"><a href="#tab-1"><span>Clearance Data</span></a></li> 19 <li><a href="#tab-2"><span>Scans</span></a></li> 20 </ul> 21 <div class="tab-content"> 22 <div id="tab-1" class="active"> 23 <table class="form-table"> 25 24 <tbody> 26 25 <tal:block repeat="widget view/widgets"> 27 26 <tr> 28 <td class="label"> 29 <label tal:attributes="for widget/name"> 30 <span class="required" tal:condition="widget/required">*</span> 27 <td class="fieldname"> 28 <span tal:condition="widget/required">*</span> 31 29 <span i18n:translate="" tal:content="widget/label">label</span>: 32 </label>33 30 </td> 34 <td class="field">35 <span class="widget"tal:content="structure widget">31 <td> 32 <span tal:content="structure widget"> 36 33 <input type="text" /> 37 34 </span> … … 40 37 </tal:error> 41 38 <tal:hint tal:condition="widget/hint"> 42 <span class="hint"tal:content="structure widget/hint">hint</span>39 <span tal:content="structure widget/hint">hint</span> 43 40 </tal:hint> 44 41 </td> … … 48 45 </table> 49 46 50 <div class="actionButtons"tal:condition="view/availableActions">47 <div tal:condition="view/availableActions"> 51 48 <input tal:repeat="action view/actions" 52 49 tal:replace="structure action/render" … … 56 53 57 54 <div id="tab-2"> 58 <h2>Upload scans</h2> 59 <table class="form-fields zebra"> 55 <table class="form-table"> 60 56 <tbody> 61 57 <tal:files content="structure provider:files" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/containerpage.pt
r7364 r7446 4 4 <br /> 5 5 6 <input type="submit" name="search" value="Search" />6 <input class="btn primary" type="submit" name="search" value="Search" /> 7 7 for students 8 8 -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/courseticketmanagepage.pt
r6796 r7446 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"> … … 15 15 </div> 16 16 17 18 <table class="zebra"> 17 <table class="form-table"> 19 18 <tbody> 20 19 <tr> … … 68 67 <tal:block repeat="widget view/widgets"> 69 68 <tr> 70 <td class="label"> 71 <label tal:attributes="for widget/name"> 72 <span class="required" tal:condition="widget/required">*</span> 69 <td class="fieldname"> 70 <span tal:condition="widget/required">*</span> 73 71 <span i18n:translate="" tal:content="widget/label">label</span>: 74 </label>75 72 </td> 76 <td class="field">77 <span class="widget"tal:content="structure widget">73 <td> 74 <span tal:content="structure widget"> 78 75 <input type="text" /> 79 76 </span> … … 82 79 </tal:error> 83 80 <tal:hint tal:condition="widget/hint"> 84 <span class="hint"tal:content="structure widget/hint">hint</span>81 <span tal:content="structure widget/hint">hint</span> 85 82 </tal:hint> 86 83 </td> … … 89 86 </tbody> 90 87 </table> 91 <div class="actionButtons"tal:condition="view/availableActions">88 <div tal:condition="view/availableActions"> 92 89 <input tal:repeat="action view/actions" 93 90 tal:replace="structure action/render" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/courseticketpage.pt
r6804 r7446 3 3 tal:content="view/label">Label</h2> 4 4 5 <table class=" zebra">5 <table class="form-table"> 6 6 <tbody> 7 7 <tr> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/enterpin.pt
r6935 r7446 2 2 tal:content="view/label">Label</h2> 3 3 <form method="POST"> 4 <table >4 <table class="form-table"> 5 5 <tbody> 6 6 <tr><td> 7 <label for="ac_series">Activation Code:</label>7 Activation Code: 8 8 </td><td> 9 9 <span tal:replace="view/ac_prefix">PIN Prefix</span> - … … 18 18 <tr> 19 19 <td colspan="2"> 20 <input type="submit" name="SUBMIT" 20 <input type="submit" name="SUBMIT" class="btn primary" 21 21 tal:attributes="value view/buttonname" /> 22 22 </td> 23 23 </tr> 24 24 </tbody> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/filedisplay.pt
r7319 r7446 1 1 <tr tal:condition = "viewlet/file_exists"> 2 <td class="label"> 3 <label i18n:translate=""> 4 <span tal:replace="viewlet/label">FILENAME</span>: 5 </label> 2 <td class="fieldname"> 3 <span tal:replace="viewlet/label">FILENAME</span>: 6 4 </td> 7 <td class="field">5 <td> 8 6 <span class="widget"> 9 7 <a tal:attributes="href viewlet/download_name" -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/filesuploadpage.pt
r7127 r7446 4 4 5 5 <form action="." tal:attributes="action request/URL" method="post" 6 class="edit-form"enctype="multipart/form-data">7 <table class=" zebra">6 enctype="multipart/form-data"> 7 <table class="form-table"> 8 8 <tbody> 9 9 <tal:files content="structure provider:files" /> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/fileupload.pt
r7442 r7446 1 1 <tr> 2 <td class="label"> 3 <label i18n:translate="" tal:attributes="for viewlet/input_name"> 4 <span tal:replace="viewlet/label">FILENAME</span>: 5 </label> 2 <td class="fieldname"> 3 <span tal:replace="viewlet/label">FILENAME</span>: 6 4 </td> 7 <td class="field">5 <td> 8 6 <span class="widget"> 9 7 … … 17 15 <br /> 18 16 <input type="file" tal:attributes="name viewlet/input_name"/> 19 <br /> 17 <br /><br /> 20 18 <input type="submit" tal:condition="viewlet/file_exists" 21 19 tal:attributes="id python:('delete_%s' % viewlet.input_name); 22 20 name python:('delete_%s' % viewlet.input_name)" 23 value="Delete attachment" class="btn " />21 value="Delete attachment" class="btn error" /> 24 22 <input type="submit" 25 23 tal:attributes="id python:('upload_%s' % viewlet.input_name); 26 24 name python:('upload_%s' % viewlet.input_name)" 27 value="Upload new file" class="btn " />25 value="Upload new file" class="btn primary" /> 28 26 <span i18n:translate=""> 29 27 Max. file size: -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/imagedisplay.pt
r7414 r7446 1 1 <tr> 2 <td class="label"> 3 <label i18n:translate=""> 2 <td class="fieldname"> 4 3 <span tal:replace="viewlet/label">FILENAME</span>: 5 </label>6 4 </td> 7 <td class="field"> 8 <span class="widget"> 5 <td> 9 6 <img height="125px" tal:attributes="src viewlet/download_name" /> 10 7 <br /> 11 </span>12 8 </td> 13 9 </tr> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/imageupload.pt
r7414 r7446 1 1 <tr> 2 <td class="label"> 3 <label i18n:translate="" tal:attributes="for viewlet/input_name"> 4 <span tal:replace="viewlet/label">FILENAME</span>: 5 </label> 2 <td class="fieldname"> 3 <span tal:replace="viewlet/label">FILENAME</span>: 6 4 </td> 7 <td class="field">5 <td> 8 6 <span class="widget"> 9 7 <img align="middle" height="125px" … … 12 10 tal:attributes="id python:('delete_%s' % viewlet.input_name); 13 11 name python:('delete_%s' % viewlet.input_name)" 14 value="Delete" class="b utton" />12 value="Delete" class="btn error" /> 15 13 <br /><br /> 16 14 <input type="file" tal:attributes="name viewlet/input_name"/> 15 <br /><br /> 17 16 <input type="submit" 18 17 tal:attributes="id python:('upload_%s' % viewlet.input_name); 19 18 name python:('upload_%s' % viewlet.input_name)" 20 value="Upload" class="b utton" />19 value="Upload" class="btn primary" /> 21 20 <span i18n:translate=""> 22 21 Max. file size: -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt
r7254 r7446 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 17 <table class="display dataTableManage"> … … 46 46 </table> 47 47 48 <div class="actionButtons"tal:condition="view/availableActions">48 <div tal:condition="view/availableActions"> 49 49 <span tal:repeat="action view/actions" 50 50 tal:omit-tag=""> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/paymentspage.pt
r7254 r7446 1 1 <h2 tal:content="view/label">TITLE</h2> 2 2 3 <table class="zebra">4 <thead>5 </thead>6 3 <table class="display dataTable"> 7 4 <thead> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/setpassword.pt
r6758 r7446 2 2 tal:content="view/label">Label</h2> 3 3 <form method="POST"> 4 <table >4 <table class="form-table"> 5 5 <tbody> 6 <tr><td> 7 <label for="reg_number">Registration Number: 8 </label></td> <td> 6 <tr> 7 <td> 8 Registration Number: 9 </td> 10 <td> 9 11 <input name="reg_number" type="text" size="15" maxlength="15" 10 12 value="" tal:attributes="value view/reg_number"/> 11 </td></tr> 13 </td> 14 </tr> 12 15 <tr> 13 16 <td> 14 <label for="ac_series">Access Code: 15 </label></td> <td> 17 Access Code: 18 </td> 19 <td> 16 20 <span tal:replace="view/ac_prefix">PIN Prefix 17 21 </span> - … … 23 27 <tr> 24 28 <td colspan="2"> 25 <input type="submit" name="SUBMIT" 29 <input type="submit" name="SUBMIT" class="btn primary" 26 30 value="Show Student Id and set password" /> </td> 27 31 </tr> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studentpage.pt
r6635 r7446 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"> … … 17 17 </tbody> 18 18 <tfoot> 19 <tr class="controls">19 <tr> 20 20 <td colspan="2" class="align-right"> 21 21 <input tal:repeat="action view/actions" … … 24 24 </tr> 25 25 </tfoot> 26 27 26 </table> 28 27
Note: See TracChangeset for help on using the changeset viewer.