Add appropriate font-awesome icons
This commit is contained in:
parent
3a0fe29ede
commit
af26d221ff
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<h2>Benchmark #{{ .benchmark.ID }}</h2>
|
<h2>Benchmark #{{ .benchmark.ID }}</h2>
|
||||||
|
<div>
|
||||||
|
{{if eq .benchmark.UserID .userID }}
|
||||||
|
<a class="btn btn-danger me-2" data-bs-toggle="modal" data-bs-target="#exampleModal"><i class="fa-solid fa-trash"></i> Delete</a>
|
||||||
|
{{end}}
|
||||||
|
<a class="btn btn-secondary"><i class="fa-solid fa-download"></i> Download</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -11,12 +17,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if eq .benchmark.UserID .userID }}
|
{{if eq .benchmark.UserID .userID }}
|
||||||
<div class="row">
|
|
||||||
<div class="col-12">
|
|
||||||
<a class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#exampleModal">Delete benchmark</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal" id="exampleModal" tabindex="-1">
|
<div class="modal" id="exampleModal" tabindex="-1">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
<h5>Specifications:</h5>
|
||||||
<table class="table table-sm table-bordered">
|
<table class="table table-sm table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<h2>Benchmarks</h2>
|
<h2>Benchmarks</h2>
|
||||||
{{if .username}}
|
{{if .username}}
|
||||||
<a class="btn btn-primary" href="/benchmark">New benchmark</a>
|
<a class="btn btn-primary" href="/benchmark"><i class="fa-solid fa-plus"></i> New benchmark</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user