home *** CD-ROM | disk | FTP | other *** search
/ LG Super CD / LG Super CD.iso / bitpim / bitpim-1.0.5-setup.exe / {app} / resources / cal_monthly.xy < prev    next >
Encoding:
Text File  |  2008-01-28  |  1.1 KB  |  71 lines

  1. <html>
  2.  
  3. <py-line code="_pagebreak=False"/>
  4. <py-open code="for m in events:"/>
  5.  
  6. <py-open code="if _pagebreak:"/>
  7. ${pagebreakstr}
  8. <py-clause code="else:"/>
  9. <py-line code="_pagebreak=True"/>
  10. <py-close/>
  11.  
  12. <head>
  13. <h3 align="center">Calendar Events</h3>
  14. <h5 align="center">${date_range}</h5>
  15. </head>
  16.  
  17. <body>
  18.  
  19. <table class="table">
  20. <theader>
  21. <tr>
  22. <th class="day_name">Sunday</th>
  23. <th class="day_name">Monday</th>
  24. <th class="day_name">Tuesday</th>
  25. <th class="day_name">Wednesday</th>
  26. <th class="day_name">Thursday</th>
  27. <th class="day_name">Friday</th>
  28. <th class="day_name">Saturday</th>
  29. </tr>
  30. </theader>
  31. <tr>
  32. <td class="month_name">${m[0]}</td>
  33. </tr>
  34.  
  35. <py-open code="for n in m[1:]:"/>
  36.  
  37. <tr>
  38.  
  39. <py-open code="for e in n:"/>
  40.  
  41. <py-open code="if len(e[0]):"/>
  42.  
  43. <td class="date_cell"><span class="date_number">${e[0]}</span><br/>
  44. <py-open code="for s in e[1]:"/>
  45. <span class="event_item">${s}</span><br/>
  46. <py-close/>
  47.  
  48. </td>
  49.  
  50. <py-clause code="else:"/>
  51.  
  52. <td class="date_cell"> </td>
  53.  
  54. <py-close/>
  55.  
  56. <py-close/>
  57.  
  58. </tr>
  59.  
  60. <py-close/>
  61.  
  62. </table>
  63.  
  64. <br/><br/><br/><br/>
  65.  
  66. </body>
  67.  
  68. <py-close/>
  69.  
  70. </html>
  71.