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

     1  {{/*
     2  Copyright 2023 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  
     6  <!doctype html>
     7  <html>
     8  <head>
     9  	{{template "head" .Header}}
    10  	<title>syzbot</title>
    11  </head>
    12  <body>
    13  	{{template "header" .Header}}
    14  	{{$getName := .DisplayNamespace}}
    15  	{{range $group := .Groups}}
    16          <b>{{$group.From.URL}} {{$group.From.Branch}} → {{$group.To.URL}} {{$group.To.Branch}}</b><br />
    17          
    18  	<table class="list_table">
    19  		<tr>
    20  			<th>Commit</th>
    21  			{{range $ns := .Namespaces}}
    22  			<th>{{call $getName $ns}}</th>
    23  			{{end}}
    24  		</tr>
    25  		{{range $backport := $group.List}}
    26  		<tr>
    27  			<td class="commit_list">
    28  			{{link $backport.Commit.Link (formatShortHash $backport.Commit.Hash)}}
    29  			{{$backport.Commit.Title}}
    30  			</td>
    31  			{{range $ns := $group.Namespaces}}
    32  			<td>
    33  			{{$bugs := index $backport.Bugs $ns}}
    34  				{{range $i, $bug := $bugs}}
    35  					{{if gt $i 0}}<br/>{{end}}
    36  					{{link $bug.Link $bug.Title}}
    37  				{{end}}
    38  			</td>
    39                          {{end}}
    40  		</tr>
    41  		{{end}}
    42  	</table>
    43  	{{end}}
    44  </body>
    45  </html>