github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/dashboard/app/admin.html (about)

     1  {{/*
     2  Copyright 2019 syzkaller project authors. All rights reserved.
     3  Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     4  
     5  Main page.
     6  */}}
     7  
     8  <!doctype html>
     9  <html>
    10  <head>
    11  	{{template "head" .Header}}
    12  	<title>syzbot</title>
    13  </head>
    14  <body>
    15  	{{template "header" .Header}}
    16  	{{if $.Stopped}}
    17  		<div class="emergency-stopped">Syzbot is in the emergency stop state</div>
    18  	{{else}}
    19  		<div class="emergency-stop">Syzbot is reporting too many bugs? {{link $.StopLink "Emergency stop"}} [click {{$.MoreStopClicks}} more times]<br />
    20  		In this mode, syzbot will stop all reporting and won't record any new findings.</div>
    21  	{{end}}
    22  
    23  	<a class="plain" href="#log"><div id="log"><b>Error log:</b></div></a>
    24  	<textarea id="log_textarea" readonly rows="20" wrap=off>{{printf "%s" .Log}}</textarea>
    25  	<script>
    26  		var textarea = document.getElementById("log_textarea");
    27  		textarea.scrollTop = textarea.scrollHeight;
    28  	</script>
    29  	<br><br>
    30  	{{with $.MemcacheStats}}
    31  	<table class="list_table">
    32  		<caption><a href="https://pkg.go.dev/google.golang.org/appengine/memcache?tab=doc#Item" target="_blank">Memcache stats:</a></caption>
    33  		<tr>
    34  			<th>Hits</th>
    35  			<th>Misses</th>
    36  			<th>ByteHits</th>
    37  			<th>Items</th>
    38  			<th>Bytes</th>
    39  			<th>Oldest</th>
    40  			<th></th>
    41  		</tr>
    42  		<tr>
    43  			<td class="stat">{{.Hits}}</td>
    44  			<td class="stat">{{.Misses}}</td>
    45  			<td class="stat">{{.ByteHits}}</td>
    46  			<td class="stat">{{.Items}}</td>
    47  			<td class="stat">{{.Bytes}}</td>
    48  			<td class="stat">{{.Oldest}}</td>
    49  			<td><a href="?action=memcache_flush">flush</input></td>
    50  		</tr>
    51  	</table>
    52  	{{end}}
    53  
    54  	{{template "manager_list" $.Managers}}
    55  	&nbsp;&nbsp;
    56  	{{if $.FixBisectionsLink}}<a href="{{$.FixBisectionsLink}}">[Fix Bisections]</a>{{end}}
    57  	{{if $.CauseBisectionsLink}}<a href="{{$.CauseBisectionsLink}}">[Cause Bisections]</a>{{end}}
    58  	{{if $.JobOverviewLink}}<a href="{{$.JobOverviewLink}}">[Jobs Overview]</a>{{end}}
    59  	{{template "job_list" $.RunningJobs}}
    60  	{{template "job_list" $.PendingJobs}}
    61  	{{template "job_list" $.RecentJobs}}
    62  	{{template "job_list" $.TypeJobs}}
    63  </body>
    64  </html>