Changeset 6023 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 3 May 2011, 07:12:06 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6022 r6023 1363 1363 return "Certificate: %s (%s)" % (self.context.title, self.context.code) 1364 1364 1365 #def update(self):1366 # if 'delcourse' in self.request.form:1367 # code = self.request.form['code']1368 # level = self.request.form['level']1369 # self.context.delCourseRef(code, level=level)1370 # return1371 1365 1372 1366 def getCourseList(self): … … 1443 1437 tabs.need() 1444 1438 #warning.need() 1439 datatable.need() 1445 1440 return super(CertificateManageFormPage, self).update() 1446 1441 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/datatable.js
r6018 r6023 1 1 $(document).ready(function(){ 2 2 $('.dataTable').dataTable(); 3 $('.dataTableManage').dataTable( { 4 "aaSorting": [[ 1, "asc" ]], 5 "aoColumnDefs":[{ "bSortable": false, "aTargets": [ 0 ] }] 6 } ); 3 7 }); 8 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r6007 r6023 74 74 <div id="tab-2"> 75 75 <h3>Course Referrers</h3> 76 <table class=" zebra">76 <table class="display dataTableManage"> 77 77 <thead> 78 78 <tr> 79 <th> </th><th> Code</th><th>Course</th><th>Level</th>79 <th> </th><th>Level</th><th>Code</th><th>Course</th> 80 80 <th>Mandatory</th> 81 81 </tr> … … 83 83 <tbody> 84 84 <tr tal:repeat="cc context/values"> 85 <td>85 <td> 86 86 <input type="checkbox" 87 87 name="val_id" 88 88 tal:attributes="value cc/__name__" /> 89 </td> 90 <td> 91 <span tal:content="cc/level"> 92 LEVEL 93 </span> 89 94 </td> 90 95 <td> … … 103 108 </td> 104 109 <td> 105 <span tal:content="cc/level">106 LEVEL107 </span>108 </td>109 <td>110 110 <span tal:content="cc/core_or_elective"> 111 111 MANDATORY … … 116 116 </table> 117 117 118 118 <div id="actionsView"> 119 119 <span class="actionButtons" tal:condition="view/availableActions"> 120 120 <span tal:repeat="action view/actions" … … 124 124 </span> 125 125 </span> 126 126 </div> 127 127 128 128 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r6018 r6023 74 74 75 75 <div id="tab-2"> 76 <table class="display dataTable ">76 <table class="display dataTableManage"> 77 77 <thead> 78 78 <tr> … … 110 110 111 111 <div id="tab-3"> 112 <table class="display dataTable ">112 <table class="display dataTableManage"> 113 113 <thead> 114 114 <tr>
Note: See TracChangeset for help on using the changeset viewer.