aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-06 11:01:02 +0100
committerTaras Madan <tarasmadan@google.com>2025-02-06 16:24:12 +0000
commitb03e2694b636ec5d05ea1d0b233db07e8e37bf98 (patch)
tree18a4d21a3e31ffe928555db32d6db4eb5320b72a
parent3d54a78389a7ab2ce6588d7a6fade681c22626ab (diff)
all: fix html warnings
Wrong closing tags etc.
-rw-r--r--dashboard/app/templates/admin.html2
-rw-r--r--dashboard/app/templates/manager.html2
-rw-r--r--dashboard/app/templates/templates.html4
-rw-r--r--pkg/manager/html/common.html4
-rw-r--r--pkg/manager/html/crash.html2
5 files changed, 7 insertions, 7 deletions
diff --git a/dashboard/app/templates/admin.html b/dashboard/app/templates/admin.html
index dddc03d46..7bf3f2fea 100644
--- a/dashboard/app/templates/admin.html
+++ b/dashboard/app/templates/admin.html
@@ -46,7 +46,7 @@ Main page.
<td class="stat">{{.Items}}</td>
<td class="stat">{{.Bytes}}</td>
<td class="stat">{{.Oldest}}</td>
- <td><a href="?action=memcache_flush">flush</input></td>
+ <td><a href="?action=memcache_flush">flush</a></td>
</tr>
</table>
{{end}}
diff --git a/dashboard/app/templates/manager.html b/dashboard/app/templates/manager.html
index 65c3d9cb7..3f9d190b0 100644
--- a/dashboard/app/templates/manager.html
+++ b/dashboard/app/templates/manager.html
@@ -26,7 +26,7 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
<span class="input-group">
<textarea name="send-repro"></textarea>
</span>
- <input type="submit" name="show-crashers" value="Submit"></div>
+ <input type="submit" name="show-crashers" value="Submit">
</form>
</div>
</div>
diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html
index bcf1551fa..571e262cd 100644
--- a/dashboard/app/templates/templates.html
+++ b/dashboard/app/templates/templates.html
@@ -535,9 +535,9 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
{{optlink $job.CrashLogLink "log"}}
{{end}}
{{ if $job.InvalidatedBy }}
- </br>marked invalid by {{$job.InvalidatedBy}}
+ <br>marked invalid by {{$job.InvalidatedBy}}
{{end}}
- {{if and $.PerBug (or .InvalidateJobLink .RestartJobLink)}}<br/>{{optlink .RestartJobLink "🔄 retry this bisection"}}&nbsp;&nbsp;{{optlink .InvalidateJobLink "❌ mark as invalid"}}{{end}}
+ {{if and $.PerBug (or .InvalidateJobLink .RestartJobLink)}}<br>{{optlink .RestartJobLink "🔄 retry this bisection"}}&nbsp;&nbsp;{{optlink .InvalidateJobLink "❌ mark as invalid"}}{{end}}
</td>
</tr>
{{end}}
diff --git a/pkg/manager/html/common.html b/pkg/manager/html/common.html
index ea76b5a63..1a6d1c0ef 100644
--- a/pkg/manager/html/common.html
+++ b/pkg/manager/html/common.html
@@ -21,10 +21,10 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
<input type="hidden" name="url" value="{{.CurrentURL}}" />
<button type="submit" name="toggle" value="expert" class="action_button{{if .ExpertMode}}_selected{{end}}" title="Toggle expert mode">
🧠
- </input>
+ </button>
<button type="submit" name="toggle" value="pause" class="action_button{{if .Paused}}_selected{{end}}" title="Pause/unpause fuzzing">
{{if .Paused}}▶️{{else}}⏸️{{end}}
- </input>
+ </button>
</form>
</td>
<td class="search">
diff --git a/pkg/manager/html/crash.html b/pkg/manager/html/crash.html
index 6554f2817..48c50ab71 100644
--- a/pkg/manager/html/crash.html
+++ b/pkg/manager/html/crash.html
@@ -23,7 +23,7 @@ Report: <a href="/report?id={{.ID}}">{{.Triaged}}</a>
<td><a href="/file?name={{$c.Log}}">log</a></td>
<td>
{{if $c.Report}}
- <a href="/file?name={{$c.Report}}">report</a></td>
+ <a href="/file?name={{$c.Report}}">report</a>
{{end}}
</td>
<td class="time {{if not $c.Active}}inactive{{end}}">{{formatTime $c.Time}}</td>