aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/templates/manager.html
blob: 3f9d190b061db0dcc8922c60c93062d899e53702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{{/*
Copyright 2023 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.
*/}}

<!doctype html>
<html>
<head>
	{{template "head" .Header}}
	<title>syzbot</title>
</head>
<body>
	{{template "header" .Header}}
	<div>{{optlink .Manager.Link "[Syz-Manager]"}}</div><br>
	{{if .Message}}<b>{{.Message}}</b><br>{{end}}
	{{if .ShowReproForm}}
	<div class="collapsible collapsible-hide">
		<div class="head">
			<span class="show-icon"></span>
			<span class="hide-icon"></span>
			<span>Send a reproducer to {{.Manager.Name}}</span>
		</div>
		<div class="content">
			<div class="input-values">
				<form method="POST">
					<span class="input-group">
					<textarea name="send-repro"></textarea>
					</span>
					<input type="submit" name="show-crashers" value="Submit">
				</form>
			</div>
		</div>
	</div>
	{{end}}
	<br><b>Kernel images history:</b><br>
	<table class="list_table">
		<tr>
			<th>Time</th>
			<th>Kernel Commit</th>
			<th>Kernel Config</th>
			<th>Syzkaller Commit</th>
			<th>Assets</th>
		</tr>
		{{range $build := .Builds}}
		<tr>
			<td class="time">{{formatTime $build.Time}}</td>
			<td class="commit_list" title="{{$build.KernelCommit}}
	{{formatTime $build.KernelCommitDate}}">{{link $build.KernelCommitLink (formatTagHash $build.KernelCommit)}} {{$build.KernelCommitTitle}}</td>
			<td class="config">{{if $build.KernelConfigLink}}<a href="{{$build.KernelConfigLink}}">.config</a>{{end}}</td>
			<td class="tag">{{link $build.SyzkallerCommitLink (formatShortHash $build.SyzkallerCommit)}}</td>
			<td class="assets">{{range $i, $asset := $build.Assets}}
				<span class="no-break">[<a href="{{$asset.DownloadURL}}">{{$asset.Title}}</a>]</span>
			{{end}}</td>
		</tr>
		{{end}}
	</table>
</body>
</html>