notification-center.tt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [% USE Whostmgr -%]
  2. [% WRAPPER 'master_templates/master.tmpl'
  3. app_key = 'Notification Center'
  4. header = 'Notification Center'
  5. icon = '/addon_plugins/nfcenter.png'
  6. breadcrumburl = '/cgi/addon_notification-center.cgi'
  7. skipbreadcrumb = 0
  8. theme = "bootstrap"
  9. show_upgrade_message = 1
  10. stylesheets = ['/cjt/css/ajaxapp-min.css',
  11. '/templates/common/revised_notices.min.css',
  12. '/templates/packages/common.min.css',
  13. '/styles/unified_optimized.css'
  14. ]
  15. extrastyle = ''
  16. include_legacy_stylesheets = 1
  17. -%]
  18. [% PROCESS '_pkg_hover.tmpl' -%]
  19. [% PROCESS '_ajaxapp_header.tmpl' -%]
  20. <table class="table table-striped responsive-table" border="1" cellspacing="0" cellpadding="2" >
  21. <thead>
  22. <tr>
  23. <td>[% locale.maketext('Notification') %]</td>
  24. <td>[% locale.maketext('Time Occurred') %]</td>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. [% FOREACH notification IN data.notifications.keys.sort %]
  29. <tr>
  30. <td>[% data.notifications.$notification.subject %]</td>
  31. <td>[% notification %]</td>
  32. </tr>
  33. [% END %]
  34. </tbody>
  35. </table>
  36. [% PROCESS '_ajaxapp_footer.tmpl' -%]
  37. [% END #wrapper -%]