Changeset 7493 for main/waeup.sirp/trunk
- Timestamp:
- 20 Jan 2012, 09:26:25 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7489 r7493 65 65 def update(self): 66 66 super(ApplicantsRootPage, self).update() 67 datatable.need()67 #datatable.need() 68 68 return 69 69 … … 227 227 @property 228 228 def label(self): 229 return " Applicants Container:%s" % self.context.title229 return "%s" % self.context.title 230 230 231 231 class ApplicantsContainerManageFormPage(SIRPEditFormPage): -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootpage.pt
r7464 r7493 1 <table class="display dataTable">1 <table> 2 2 <thead> 3 3 <tr> 4 <th>Year</th><th>Code</th><th>Title</th> 4 <th>Year</th><th>Code</th><th>Title</th><th>Application Period</th> 5 5 </tr> 6 6 </thead> … … 9 9 <td tal:content="entry/year">Year 10 10 </td> 11 <td tal:content="entry/__name__">Code 12 </td> 11 13 <td> 12 14 <a href="" 13 15 tal:attributes="href python:view.url(entry)" 14 tal:content="entry/ __name__">Code</a>16 tal:content="entry/title">Title</a> 15 17 </td> 16 <td tal:content="entry/title">Title 18 <td> 19 <span tal:content="python: layout.formatDate(entry.startdate)">Start</span> 20 - 21 <span tal:content="python: layout.formatDate(entry.enddate)">End</span> 17 22 </td> 18 23 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py
r7459 r7493 285 285 return None 286 286 287 def formatDate(self,dateobj): 288 if isinstance(dateobj, date): 289 return dateobj.strftime("%d/%m/%Y") 290 else: 291 return None 292 287 293 def update(self): 288 294 """Include the resources required by the chosen skin/theme. -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/mobile.css
r7465 r7493 4 4 5 5 body { 6 padding-top: 70px;6 padding-top: 100px; 7 7 } 8 8 9 9 select { 10 width: 60px;10 width: 50px; 11 11 } 12 12 13 13 .dataTables_length { 14 15 width: 40%;14 float: left; 15 width: 50%; 16 16 } 17 17 18 18 .dataTables_filter { 19 20 21 width: 60%;19 float: right; 20 text-align: right; 21 width: 50%; 22 22 } 23 24 .topbar h3 a, .topbar .brand { 25 margin-left: -25px; 26 padding-bottom: 5px; 27 padding-left: 20px; 28 padding-right: 20px; 29 padding-top: 2px; 30 } 31 32 input, textarea, 33 textarea.span9 { 34 width: 70%; 35 } -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt
r7469 r7493 83 83 </div> 84 84 <div class="footer"> 85 <p class="pull-right"><a href="#">Back to top</a></p>86 85 <p> 87 86 Student Information and Registration Portal<br />
Note: See TracChangeset for help on using the changeset viewer.