Consistent title
This commit is contained in:
parent
1e78f4a071
commit
f21a9d187d
@ -16,31 +16,9 @@
|
||||
<p><small>Submitted <b>{{ .benchmark.CreatedAtHumanized }}</b> by <b>{{ .benchmark.User.Username }}.</b></small></p>
|
||||
</div>
|
||||
|
||||
{{if eq .benchmark.UserID .userID }}
|
||||
<div class="modal" id="exampleModal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete confirmation</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to delete this benchmark?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">No, cancel</button>
|
||||
<form hx-delete="/benchmark/{{ .benchmark.ID }}" >
|
||||
<button type="submit" class="btn btn-primary">Yes, delete</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h5>Specifications:</h5>
|
||||
<h5 class="text-center" style="font-size: 16px; font-weight: bold;">Specifications</h5>
|
||||
<table class="table table-sm table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -198,4 +176,26 @@
|
||||
|
||||
<script src="/static/js/benchmark.js"></script>
|
||||
|
||||
{{if eq .benchmark.UserID .userID }}
|
||||
<div class="modal" id="exampleModal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete confirmation</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to delete this benchmark?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">No, cancel</button>
|
||||
<form hx-delete="/benchmark/{{ .benchmark.ID }}" >
|
||||
<button type="submit" class="btn btn-primary">Yes, delete</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{template "footer.tmpl" .}}
|
||||
|
Loading…
Reference in New Issue
Block a user