diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-11-07 15:39:45 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-11-07 16:25:52 +0000 |
| commit | 8f815ccc244597135fc5b9f74aeb0e5d96ce8eb5 (patch) | |
| tree | 00b15567487f1985109f3be15929049defc7fefa /tools/syz-testbed | |
| parent | 64907ecc42ea17acbd68ccdd4b32d560e0c673e0 (diff) | |
all: fix HTML file formatting
Fix inconsistent HTML file formatting with both tabs and spaces.
Diffstat (limited to 'tools/syz-testbed')
| -rw-r--r-- | tools/syz-testbed/templates/table.html | 6 | ||||
| -rw-r--r-- | tools/syz-testbed/templates/testbed.html | 30 |
2 files changed, 18 insertions, 18 deletions
diff --git a/tools/syz-testbed/templates/table.html b/tools/syz-testbed/templates/table.html index 3b7213f5a..d6ba98dc4 100644 --- a/tools/syz-testbed/templates/table.html +++ b/tools/syz-testbed/templates/table.html @@ -25,7 +25,7 @@ {{range $c := .Table.ColumnHeaders}} <th> {{$url := ""}} - {{if $uiTable.ColumnURL}}{{$url = (call $uiTable.ColumnURL $c)}}{{end}} + {{if $uiTable.ColumnURL}}{{$url = (call $uiTable.ColumnURL $c)}}{{end}} {{if $url}}<a href="{{$url}}">{{$c}}</a> {{else}} {{$c}} @@ -41,7 +41,7 @@ <tr> <td> {{$url := ""}} - {{if $uiTable.RowURL}}{{$url = (call $uiTable.RowURL $r)}}{{end}} + {{if $uiTable.RowURL}}{{$url = (call $uiTable.RowURL $r)}}{{end}} {{if $url}}<a href="{{$url}}">{{$r}}</a> {{else}} {{$r}} @@ -52,7 +52,7 @@ <td>{{if $cell}}{{$cell}}{{end}}</td> {{if $uiTable.Extra}} <td>{{if $cell}}{{template "PrintExtra" $cell}}{{end}}</td> - {{end}} + {{end}} {{end}} </tr> {{end}} diff --git a/tools/syz-testbed/templates/testbed.html b/tools/syz-testbed/templates/testbed.html index e91bee23d..677389a71 100644 --- a/tools/syz-testbed/templates/testbed.html +++ b/tools/syz-testbed/templates/testbed.html @@ -1,32 +1,32 @@ <!doctype html> <html> <head> - <title>{{.Name }} syzkaller</title> - {{template "syz-head"}} - <style> - .positive-delta { - color:darkgreen; - } - .negative-delta { - color:darkred; - } - </style> + <title>{{.Name }} syzkaller</title> + {{template "syz-head"}} + <style> + .positive-delta { + color:darkgreen; + } + .negative-delta { + color:darkred; + } + </style> </head> <body> <header id="topbar"> <table class="position_table"> <tbody> - <tr> + <tr> <td> - <h1> + <h1> <a href="/">syz-testbed "{{.Name }}"</a></h1> - </td> + </td> </tr> </tbody> </table> <table class="position_table"> <tbody> - <td class="navigation"> + <td class="navigation"> Views: {{with $main := .}} {{range $view := .Views}} @@ -40,7 +40,7 @@ href="?view={{$view.Name}}">█ {{$view.Name}}</a> {{end}} {{end}} - </td> + </td> </tbody> </table> </header> |
