You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
3.7 KiB

  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. <div id="admin-wrapper">
  4. <div id="setting-wrapper" class="main-wrapper">
  5. <div id="admin-setting" class="container clear">
  6. {{template "admin/nav" .}}
  7. <div class="grid-4-5 left">
  8. <div class="setting-content">
  9. {{template "ng/base/alert" .}}
  10. <div id="setting-content">
  11. <div class="panel panel-radius">
  12. <div class="panel-header">
  13. <strong>{{.i18n.Tr "admin.monitor.cron"}}</strong>
  14. </div>
  15. <div class="panel-body admin-panel">
  16. <table class="table table-striped">
  17. <thead>
  18. <tr>
  19. <th>{{.i18n.Tr "admin.monitor.name"}}</th>
  20. <th>{{.i18n.Tr "admin.monitor.schedule"}}</th>
  21. <th>{{.i18n.Tr "admin.monitor.next"}}</th>
  22. <th>{{.i18n.Tr "admin.monitor.previous"}}</th>
  23. <th>{{.i18n.Tr "admin.monitor.execute_times"}}</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. {{range .Entries}}
  28. <tr>
  29. <td>{{.Description}}</td>
  30. <td>{{.Spec}}</td>
  31. <td>{{.Next}}</td>
  32. <td>{{.Prev}}</td>
  33. <td>{{.ExecTimes}}</td>
  34. </tr>
  35. {{end}}
  36. </tbody>
  37. </table>
  38. </div>
  39. </div>
  40. <br>
  41. <div class="panel panel-radius">
  42. <div class="panel-header">
  43. <strong>{{.i18n.Tr "admin.monitor.process"}}</strong>
  44. </div>
  45. <div class="panel-body admin-panel">
  46. <table class="table table-striped">
  47. <thead>
  48. <tr>
  49. <th>Pid</th>
  50. <th>{{.i18n.Tr "admin.monitor.desc"}}</th>
  51. <th>{{.i18n.Tr "admin.monitor.start"}}</th>
  52. <th>{{.i18n.Tr "admin.monitor.execute_time"}}</th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. {{range .Processes}}
  57. <tr>
  58. <td>{{.Pid}}</td>
  59. <td>{{.Description}}</td>
  60. <td>{{.Start}}</td>
  61. <td>{{TimeSince .Start}}</td>
  62. </tr>
  63. {{end}}
  64. </tbody>
  65. </table>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. {{template "ng/base/footer" .}}