- Timestamp:
- 12 Jan 2012, 16:19:57 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates
- Files:
-
- 26 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt
r7254 r7459 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/trunk/src/waeup/sirp/students/browser_templates/basemanagepage.pt
r7134 r7459 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/trunk/src/waeup/sirp/students/browser_templates/basepage.pt
r7384 r7459 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"> … … 16 16 </tal:block> 17 17 <tr> 18 <td class="fieldname" width="33%">18 <td class="fieldname"> 19 19 Password: 20 20 </td> … … 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/trunk/src/waeup/sirp/students/browser_templates/change_password.pt
r7144 r7459 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/trunk/src/waeup/sirp/students/browser_templates/changepw.pt
r7369 r7459 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/trunk/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt
r7134 r7459 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/trunk/src/waeup/sirp/students/browser_templates/containermanagepage.pt
r7364 r7459 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 … … 48 48 </table> 49 49 50 <div class="actionButtons"> 51 <input type="submit" name="remove" value="Remove selected" 52 onclick="return confirmPost('Are you sure?')"/> 53 </div> 50 <input type="submit" name="remove" value="Remove selected" class="btn" 51 onclick="return confirmPost('Are you sure?')"/> 54 52 55 53 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containerpage.pt
r7364 r7459 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/trunk/src/waeup/sirp/students/browser_templates/courseticketmanagepage.pt
r6796 r7459 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/trunk/src/waeup/sirp/students/browser_templates/courseticketpage.pt
r6804 r7459 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/trunk/src/waeup/sirp/students/browser_templates/enterpin.pt
r6935 r7459 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/trunk/src/waeup/sirp/students/browser_templates/filedisplay.pt
r7319 r7459 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/trunk/src/waeup/sirp/students/browser_templates/filesuploadpage.pt
r7127 r7459 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/trunk/src/waeup/sirp/students/browser_templates/fileupload.pt
r7319 r7459 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="b utton" />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="b utton" />25 value="Upload new file" class="btn primary" /> 28 26 <span i18n:translate=""> 29 27 Max. file size: -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/imagedisplay.pt
r7414 r7459 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/trunk/src/waeup/sirp/students/browser_templates/imageupload.pt
r7414 r7459 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/trunk/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt
r7254 r7459 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/trunk/src/waeup/sirp/students/browser_templates/paymentspage.pt
r7254 r7459 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/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt
r6758 r7459 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/trunk/src/waeup/sirp/students/browser_templates/studentpage.pt
r6635 r7459 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 -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursemanagepage.pt
r6794 r7459 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>Study Course Data</span></a></li> 20 <li><a href="#tab-2"><span>Study Levels</span></a></li> 21 </ul> 22 23 <div id="tab-1"> 24 <table class="zebra"> 25 <tbody> 26 <tal:block repeat="widget view/widgets"> 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> 33 </td> 34 <td class="field"> 35 <span class="widget" tal:content="structure widget"> 36 <input type="text" /> 17 <ul class="tabs" data-tabs="tabs"> 18 <li class="active"><a href="#tab-1"><span>Study Course Data</span></a></li> 19 <li><a href="#tab-2"><span>Study Levels</span></a></li> 20 </ul> 21 22 <div class="tab-content"> 23 <div id="tab-1" class="active"> 24 <table class="form-table"> 25 <tbody> 26 <tal:block repeat="widget view/widgets"> 27 <tr> 28 <td class="fieldname"> 29 <span class="required" tal:condition="widget/required">*</span> 30 <span i18n:translate="" tal:content="widget/label">label</span>: 31 </td> 32 <td> 33 <span tal:content="structure widget"> 34 <input type="text" /> 35 </span> 36 <tal:error tal:condition="widget/error"> 37 <span tal:replace="structure widget/error">error</span> 38 </tal:error> 39 <tal:hint tal:condition="widget/hint"> 40 <span tal:content="structure widget/hint">hint</span> 41 </tal:hint> 42 </td> 43 </tr> 44 </tal:block> 45 </tbody> 46 </table> 47 <div tal:condition="view/availableActions"> 48 <span tal:repeat="action view/actions" 49 tal:omit-tag=""> 50 <input tal:condition="python:action.label in view.taboneactions" 51 tal:replace="structure action/render"/> 37 52 </span> 38 <tal:error tal:condition="widget/error"> 39 <span tal:replace="structure widget/error">error</span> 40 </tal:error> 41 <tal:hint tal:condition="widget/hint"> 42 <span class="hint" tal:content="structure widget/hint">hint</span> 43 </tal:hint> 44 </td> 45 </tr> 46 </tal:block> 47 </tbody> 48 </table> 49 <div class="actionButtons" tal:condition="view/availableActions"> 50 <span tal:repeat="action view/actions" 51 tal:omit-tag=""> 52 <input tal:condition="python:action.label in view.taboneactions" 53 tal:replace="structure action/render"/> 54 </span> 53 </div> 54 </div> 55 56 <div id="tab-2"> 57 <h3>Study Levels (Course Lists)</h3> 58 <table class="display dataTableManage"> 59 <thead> 60 <tr> 61 <th> </th><th>Level Code</th><th>Level Title</th> 62 </tr> 63 </thead> 64 <tbody> 65 <tr tal:repeat="cl context/values"> 66 <td> 67 <input type="checkbox" 68 name="val_id" 69 tal:attributes="value cl/__name__" /> 70 </td> 71 <td> <a tal:attributes="href cl/__name__"> 72 <span tal:content="cl/level">CODE</span></a> 73 </td> 74 <td> 75 <span tal:content="cl/level_title">TITLE</span> 76 </td> 77 </tr> 78 </tbody> 79 </table> 80 81 <div tal:condition="view/availableActions"> 82 <span tal:repeat="action view/actions" 83 tal:omit-tag=""> 84 <input tal:condition="python:action.label in view.tabtwoactions" 85 tal:replace="structure action/render"/> 86 </span> 87 </div> 88 <br /><br /><br /> 89 <div> 90 <span tal:condition="view/availableActions"> 91 <span tal:repeat="action view/actions" 92 tal:omit-tag=""> 93 <input tal:condition="python:action.label in view.tabthreeactions" 94 tal:replace="structure action/render"/> 95 </span> 96 </span> 97 <select id="addlevel" name="addlevel"> 98 <option tal:attributes="value level/code" tal:repeat="level view/level_dict"> 99 <span tal:replace="level/title">LEVELTITLE 100 </span> 101 </option> 102 </select> 103 </div> 104 </div> 55 105 </div> 56 </div>57 58 <div id="tab-2">59 <h3>Study Levels (Course Lists)</h3>60 <table class="display dataTableManage">61 <thead>62 <tr>63 <th> </th><th>Level Code</th><th>Level Title</th>64 </tr>65 </thead>66 <tbody>67 <tr tal:repeat="cl context/values">68 <td>69 <input type="checkbox"70 name="val_id"71 tal:attributes="value cl/__name__" />72 </td>73 <td> <a tal:attributes="href cl/__name__">74 <span tal:content="cl/level">CODE</span></a>75 </td>76 <td>77 <span tal:content="cl/level_title">TITLE</span>78 </td>79 </tr>80 </tbody>81 </table>82 83 <div class="actionButtons" tal:condition="view/availableActions">84 <span tal:repeat="action view/actions"85 tal:omit-tag="">86 <input tal:condition="python:action.label in view.tabtwoactions"87 tal:replace="structure action/render"/>88 </span>89 </div>90 <br /><br /><br />91 <div>92 <span class="actionButtons" tal:condition="view/availableActions">93 <span tal:repeat="action view/actions"94 tal:omit-tag="">95 <input tal:condition="python:action.label in view.tabthreeactions"96 tal:replace="structure action/render"/>97 </span>98 </span>99 <select id="addlevel" name="addlevel">100 <option tal:attributes="value level/code" tal:repeat="level view/level_dict">101 <span tal:replace="level/title">LEVELTITLE102 </span>103 </option>104 </select>105 </div>106 107 108 109 </div>110 </div>111 106 </form> 112 107 -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursepage.pt
r7206 r7459 1 1 <h2 tal:content="view/label">TITLE</h2> 2 2 3 <table class=" zebra">3 <table class="form-table"> 4 4 <thead> 5 5 </thead> … … 7 7 <tal:block repeat="widget view/widgets"> 8 8 <tr> 9 <td> 10 <label tal:attributes="for widget/name"> 11 <span i18n:translate="" 12 tal:content="widget/label">label</span>: 13 </label> 9 <td class="filedname"> 10 <span i18n:translate="" tal:content="widget/label">label</span>: 14 11 </td> 15 <td class="field"tal:on-error="default">12 <td tal:on-error="default"> 16 13 <div class="widget" tal:content="structure widget"> 17 14 <input type="text" /> … … 22 19 <tr> 23 20 <td> 24 <label>25 21 Study Mode: 26 </label>27 22 </td> 28 23 <td class="field"> … … 34 29 <tr tal:condition="python: view.department is not None"> 35 30 <td> 36 <label>37 31 Department: 38 </label>39 32 </td> 40 33 <td class="field"> … … 47 40 <tr tal:condition="python: view.faculty is not None"> 48 41 <td> 49 <label>50 42 Faculty: 51 </label>52 43 </td> 53 44 <td class="field"> … … 64 55 65 56 66 <table class="zebra">57 <table> 67 58 <thead> 68 59 <tr> … … 72 63 </thead> 73 64 <tbody> 74 <tr tal:repeat="value context/values">65 <tr class="gradeC" tal:repeat="value context/values"> 75 66 <td> <a tal:attributes="href value/__name__"> 76 67 <span tal:content="value/level">CODE</span></a></td> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studyleveladdpage.pt
r6806 r7459 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 <p>Text to explain course registration procedure.</p> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studyleveleditpage.pt
r7310 r7459 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 <h3>Course Tickets (Total Credits: <span tal:replace="view/total_credits">TOTAL</span>)</h3> … … 30 30 </thead> 31 31 <tbody> 32 <tr tal:repeat="value context/values" >32 <tr tal:repeat="value context/values" class="gradeC"> 33 33 <td> 34 34 <input type="checkbox" name="val_id" … … 49 49 </table> 50 50 51 <div class="actionButtons"tal:condition="view/availableActions">51 <div tal:condition="view/availableActions"> 52 52 <span tal:repeat="action view/actions" 53 53 tal:omit-tag=""> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt
r7310 r7459 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>Study Level Data</span></a></li> 20 <li><a href="#tab-2"><span>Course Tickets</span></a></li> 21 </ul> 22 23 <div id="tab-1"> 24 <table class="zebra"> 25 <tbody> 26 <tal:block repeat="widget view/widgets"> 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> 33 </td> 34 <td class="field"> 35 <span class="widget" tal:content="structure widget"> 36 <input type="text" /> 17 <ul class="tabs" data-tabs="tabs"> 18 <li class="active"><a href="#tab-1"><span>Study Level Data</span></a></li> 19 <li><a href="#tab-2"><span>Course Tickets</span></a></li> 20 </ul> 21 22 <div class="tab-content"> 23 <div id="tab-1" class="active"> 24 <table class="form-table"> 25 <tbody> 26 <tal:block repeat="widget view/widgets"> 27 <tr> 28 <td class="fieldname"> 29 <span class="required" tal:condition="widget/required">*</span> 30 <span i18n:translate="" tal:content="widget/label">label</span>: 31 </td> 32 <td> 33 <span tal:content="structure widget"> 34 <input type="text" /> 35 </span> 36 <tal:error tal:condition="widget/error"> 37 <span tal:replace="structure widget/error">error</span> 38 </tal:error> 39 <tal:hint tal:condition="widget/hint"> 40 <span tal:content="structure widget/hint">hint</span> 41 </tal:hint> 42 </td> 43 </tr> 44 </tal:block> 45 </tbody> 46 </table> 47 <div tal:condition="view/availableActions"> 48 <span tal:repeat="action view/actions" 49 tal:omit-tag=""> 50 <input tal:condition="python:action.label in view.taboneactions" 51 tal:replace="structure action/render"/> 37 52 </span> 38 <tal:error tal:condition="widget/error"> 39 <span tal:replace="structure widget/error">error</span> 40 </tal:error> 41 <tal:hint tal:condition="widget/hint"> 42 <span class="hint" tal:content="structure widget/hint">hint</span> 43 </tal:hint> 44 </td> 45 </tr> 46 </tal:block> 47 </tbody> 48 </table> 49 <div class="actionButtons" tal:condition="view/availableActions"> 50 <span tal:repeat="action view/actions" 51 tal:omit-tag=""> 52 <input tal:condition="python:action.label in view.taboneactions" 53 tal:replace="structure action/render"/> 54 </span> 53 </div> 54 </div> 55 56 <div id="tab-2"> 57 <h3>Course Tickets</h3> 58 <table class="display dataTableManage"> 59 <thead> 60 <tr> 61 <th> </th> 62 <th>Sem.</th> 63 <th>Code</th> 64 <th>Title</th> 65 <th>Department</th> 66 <th>Faculty</th> 67 <th>Credits</th> 68 <th>Mandatory</th> 69 <th>Score</th> 70 <th>Auto</th> 71 </tr> 72 </thead> 73 <tbody> 74 <tr tal:repeat="value context/values" class="gradeC"> 75 <td> 76 <input type="checkbox" name="val_id" 77 tal:attributes="value value/__name__" /> 78 </td> 79 <td tal:content="value/semester">SEMESTER</td> 80 <td> <a tal:attributes="href value/__name__"> 81 <span tal:content="value/code">CODE</span> 82 </a></td> 83 <td tal:content="value/title">TITLE</td> 84 <td tal:content="value/department">DEPARTMENT</td> 85 <td tal:content="value/faculty">FACULTY</td> 86 <td tal:content="value/credits">CREDITS</td> 87 <td tal:content="value/core_or_elective">MANDATORY</td> 88 <td tal:content="value/score">SCORE</td> 89 <td tal:content="value/automatic">AUTO</td> 90 </tr> 91 </tbody> 92 </table> 93 94 <div tal:condition="view/availableActions"> 95 <span tal:repeat="action view/actions" 96 tal:omit-tag=""> 97 <input tal:condition="python:action.label in view.tabtwoactions" 98 tal:replace="structure action/render"/> 99 </span> 100 </div> 101 102 </div> 55 103 </div> 56 </div>57 58 <div id="tab-2">59 <h3>Course Tickets</h3>60 <table class="display dataTableManage">61 <thead>62 <tr>63 <th> </th>64 <th>Sem.</th>65 <th>Code</th>66 <th>Title</th>67 <th>Department</th>68 <th>Faculty</th>69 <th>Credits</th>70 <th>Mandatory</th>71 <th>Score</th>72 <th>Auto</th>73 </tr>74 </thead>75 <tbody>76 <tr tal:repeat="value context/values">77 <td>78 <input type="checkbox" name="val_id"79 tal:attributes="value value/__name__" />80 </td>81 <td tal:content="value/semester">SEMESTER</td>82 <td> <a tal:attributes="href value/__name__">83 <span tal:content="value/code">CODE</span>84 </a></td>85 <td tal:content="value/title">TITLE</td>86 <td tal:content="value/department">DEPARTMENT</td>87 <td tal:content="value/faculty">FACULTY</td>88 <td tal:content="value/credits">CREDITS</td>89 <td tal:content="value/core_or_elective">MANDATORY</td>90 <td tal:content="value/score">SCORE</td>91 <td tal:content="value/automatic">AUTO</td>92 </tr>93 </tbody>94 </table>95 96 <div class="actionButtons" tal:condition="view/availableActions">97 <span tal:repeat="action view/actions"98 tal:omit-tag="">99 <input tal:condition="python:action.label in view.tabtwoactions"100 tal:replace="structure action/render"/>101 </span>102 </div>103 104 </div>105 </div>106 104 </form> 107 105 -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelpage.pt
r7310 r7459 1 1 <h2 tal:content="view/label">TITLE</h2> 2 2 3 <table class=" zebra">3 <table class="form-table"> 4 4 <thead> 5 5 </thead> … … 7 7 <tal:block repeat="widget view/widgets"> 8 8 <tr> 9 <td> 10 <label tal:attributes="for widget/name"> 11 <span i18n:translate="" 12 tal:content="widget/label">label</span>: 13 </label> 9 <td class="fieldname"> 10 <span i18n:translate="" tal:content="widget/label">label</span>: 14 11 </td> 15 <td class="field"tal:on-error="default">12 <td tal:on-error="default"> 16 13 <div class="widget" tal:content="structure widget"> 17 14 <input type="text" /> … … 22 19 <tr> 23 20 <td> 24 <label>Total Credits:</label>21 Total Credits: 25 22 </td> 26 23 <td> … … 33 30 <h3>Course Tickets</h3> 34 31 35 <table class="display dataTable" 32 <table class="display dataTable"> 36 33 <thead> 37 34 <tr> … … 48 45 </thead> 49 46 <tbody> 50 <tr tal:repeat="value context/values" >47 <tr tal:repeat="value context/values" class="gradeC"> 51 48 <td tal:content="value/semester">SEMESTER</td> 52 49 <td> <a tal:attributes="href value/__name__">
Note: See TracChangeset for help on using the changeset viewer.