github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/tools/syz-testbed/templates/testbed.html (about)

     1  <!doctype html>
     2  <html>
     3  <head>
     4  	<title>{{.Name }} syzkaller</title>
     5  	{{template "syz-head"}}
     6  	<style>
     7  	.positive-delta {
     8  		color:darkgreen;
     9  	}
    10  	.negative-delta {
    11  		color:darkred;
    12  	}
    13  	</style>
    14  </head>
    15  <body>
    16    <header id="topbar">
    17      <table class="position_table">
    18        <tbody>
    19  	<tr>
    20            <td>
    21  	    <h1>
    22                <a href="/">syz-testbed "{{.Name }}"</a></h1>
    23  	  </td>
    24          </tr>
    25        </tbody>
    26      </table>
    27      <table class="position_table">
    28        <tbody>
    29  	<td class="navigation">
    30  Views:
    31  {{with $main := .}}
    32  {{range $view := .Views}}
    33  <a
    34  {{if eq $view.Name $main.ActiveView.Name}}
    35  class="navigation_tab_selected"
    36  {{else}}
    37  class="navigation_tab"
    38  {{end}}
    39  href="?view={{$view.Name}}">█ {{$view.Name}}</a>
    40  &nbsp;
    41  {{end}}
    42  {{end}}
    43  	</td>
    44        </tbody>
    45      </table>
    46    </header>
    47  
    48    {{template "table.html" .Summary}}
    49    {{$activeView := $.ActiveView}}
    50    <h2>Stat view "{{$activeView.Name}}"</h2>
    51    <b>Tables:
    52      {{range $typeKey, $type := $activeView.TableTypes}}
    53      {{if eq $typeKey $activeView.ActiveTableType}}
    54      {{$type.Title}}
    55      {{else}}
    56      <a href="{{call $activeView.GenTableURL $type}}">{{$type.Title}}</a>
    57      {{end}}
    58      &nbsp;
    59      {{end}}
    60    </b> <br />
    61    <a href="/graph?view={{$.ActiveView.Name}}&over=fuzzing">Graph over time</a> /
    62    <a href="/graph?view={{$.ActiveView.Name}}&over=exec+total">Graph over executions</a> <br />
    63    {{template "table.html" $.ActiveView.ActiveTable}}
    64  </body>
    65  </html>