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.

37 lines
1.4 KiB

  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="body" class="container" data-page="admin">
  4. {{template "admin/nav" .}}
  5. <div id="admin-container" class="col-md-10">
  6. <ul class="nav nav-tabs">
  7. <li{{if .PageIsMonitorCron}} class="active"{{end}}><a href="/admin/monitor">Cron Tasks</a></li>
  8. <li{{if .PageIsMonitorProcess}} class="active"{{end}}><a href="/admin/monitor?tab=process">Processes</a></li>
  9. </ul>
  10. <div class="panel panel-default">
  11. <div class="panel-body">
  12. {{if .PageIsMonitorProcess}}
  13. <table class="table table-striped">
  14. <thead>
  15. <tr>
  16. <th>Pid</th>
  17. <th>Description</th>
  18. <th>Start Time</th>
  19. <th>Execution Time</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. {{range .Processes}}
  24. <tr>
  25. <td>{{.Pid}}</td>
  26. <td>{{.Description}}</td>
  27. <td>{{.Start}}</td>
  28. <td>{{TimeSince .Start}}</td>
  29. </tr>
  30. {{end}}
  31. </tbody>
  32. </table>
  33. {{end}}
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. {{template "base/footer" .}}