{{template "header.html"}} | |
<h2>Task Scheduler Status</h2> | |
<task-scheduler-status-sk id="status_sk"></task-scheduler-status-sk> | |
<script> | |
// Add status information from the server to the task-scheduler-status-sk. | |
var data = JSON.parse("{{.Data}}"); | |
var elem = document.getElementById("status_sk"); | |
elem.last_scheduled = data.last_scheduled; | |
elem.top_candidates = data.top_candidates; | |
</script> | |
{{template "footer.html"}} |