Changeset 7447 for main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt
- Timestamp:
- 10 Jan 2012, 21:38:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt
r7310 r7447 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"> 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
Note: See TracChangeset for help on using the changeset viewer.