[Issue #11] - reworked the benchmark profile add page to be more sensible; added links for editing and deleting settings profiles
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-22 18:48:09 -04:00
parent 008a6a5c72
commit 6ac189a72c
4 changed files with 41 additions and 26 deletions

View File

@@ -13,11 +13,17 @@
<h4>Profiles for this Benchmark</h4>
<p><a href="/benchmark/{{ .benchmark.ID }}/profile/add">Add settings profile</a></p>
<p><a href="/benchmark/profile/add?benchmark={{ .benchmark.ID }}">Add settings profile</a></p>
<ul class="benchmark-profiles">
{{ range $profile := .benchmark.BenchmarkProfiles }}
<li>{{ $profile.Label }}</li>
<li>
{{ $profile.Label }}
<span>
<a href="/benchmark/profile/{{ $profile.ID }}/edit">Edit</a>
<a href="/benchmark/profile/{{ $profile.ID }}/delete">Delete</a>
</span>
</li>
{{ end }}
</ul>