mirror of
https://github.com/reactos/syzkaller.git
synced 2025-03-03 09:07:18 +00:00

End users are interested for managers only for a single namespace. So show them per-namespace.
91 lines
2.6 KiB
HTML
91 lines
2.6 KiB
HTML
{{/*
|
|
Copyright 2017 syzkaller project authors. All rights reserved.
|
|
Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
|
|
|
Main page.
|
|
*/}}
|
|
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
{{template "head" .Header}}
|
|
<title>syzbot</title>
|
|
</head>
|
|
<body>
|
|
{{template "header" .Header}}
|
|
|
|
{{if .Log}}
|
|
<a class="plain" href="#log"><div id="log"><b>Error log:</b></div></a>
|
|
<textarea id="log_textarea" readonly rows="20" wrap=off>{{printf "%s" .Log}}</textarea>
|
|
<script>
|
|
var textarea = document.getElementById("log_textarea");
|
|
textarea.scrollTop = textarea.scrollHeight;
|
|
</script>
|
|
<br><br>
|
|
{{end}}
|
|
|
|
{{template "manager_list" $.Managers}}
|
|
|
|
{{if $.Jobs}}
|
|
<table class="list_table">
|
|
<caption id="jobs"><a class="plain" href="#jobs">Recent jobs:</a></caption>
|
|
<tr>
|
|
<th>Bug</th>
|
|
<th>Created</th>
|
|
<th>Started</th>
|
|
<th>Finished</th>
|
|
<th>User</th>
|
|
<th>Patch</th>
|
|
<th>Repo</th>
|
|
<th>Manager</th>
|
|
<th>Result</th>
|
|
</tr>
|
|
{{range $job := $.Jobs}}
|
|
<tr>
|
|
<td class="title"><a href="{{$job.BugLink}}">{{$job.BugTitle}}</a></td>
|
|
<td class="time">{{if $job.ExternalLink}}<a href="{{$job.ExternalLink}}">{{formatTime $job.Created}}</a>{{else}}{{formatTime $job.Created}}{{end}}</td>
|
|
<td class="time">{{formatTime $job.Started}}{{if gt $job.Attempts 1}} ({{$job.Attempts}}){{end}}</td>
|
|
<td class="time">{{formatTime $job.Finished}}</td>
|
|
<td>{{$job.User}}</td>
|
|
<td><a href="{{$job.PatchLink}}">patch</a></td>
|
|
<td class="kernel" title="{{$job.KernelAlias}}">{{$job.KernelAlias}}</td>
|
|
<td title="{{$job.Namespace}}/{{$job.Reporting}}">{{$job.Manager}}</td>
|
|
{{if $job.ErrorLink}}
|
|
<td class="result"><a href="{{$job.ErrorLink}}">error</a></td>
|
|
{{else if $job.CrashTitle}}
|
|
<td class="result" title="{{$job.CrashTitle}}">
|
|
{{if $job.CrashReportLink}}
|
|
<a href="{{$job.CrashReportLink}}">report</a>
|
|
{{end}}
|
|
{{if $job.CrashLogLink}}
|
|
<a href="{{$job.CrashLogLink}}">log</a>
|
|
{{end}}
|
|
</td>
|
|
{{else if formatTime $job.Finished}}
|
|
<td class="result">OK</td>
|
|
{{else if formatTime $job.Started}}
|
|
<td class="result">running</td>
|
|
{{else}}
|
|
<td class="result">pending</td>
|
|
{{end}}
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
<br><br>
|
|
{{end}}
|
|
|
|
{{range $ns := $.BugNamespaces}}
|
|
<br>
|
|
<a class="plain" href="#{{$ns.Name}}"><h2 id="{{$ns.Name}}">{{$ns.Caption}}</h2></a>
|
|
{{if $ns.FixedLink}}
|
|
<a href="{{$ns.FixedLink}}">fixed bugs ({{$ns.FixedCount}})</a>
|
|
{{end}}
|
|
{{template "manager_list" $ns.Managers}}
|
|
{{range $group := $ns.Groups}}
|
|
{{template "bug_list" $group}}
|
|
{{end}}
|
|
<br>
|
|
{{end}}
|
|
</body>
|
|
</html>
|