Started work to move the CSS framework to Bootstrap 5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Gregory Ballantine
2025-07-25 17:44:25 -04:00
parent fdd350e16f
commit 886f566ae2
22 changed files with 200 additions and 344 deletions

View File

@ -1,20 +1,20 @@
<div class="grid-x grid-margin-x">
<div class="cell small-12">
<div class="row mb-3">
<div class="col-12">
<h1>List of benchmarks</h1>
</div>
<div class="cell small-12">
<div class="col-12">
<p>
<a href="/benchmark/add">Add new benchmark</a>
</p>
</div>
</div>
<div class="grid-x grid-margin-x">
<div class="row">
<% if benchmarks.length > 0 %>
<div class="cell small-12">
<table>
<thead>
<div class="col-12">
<table class="table table-hover table-responsive">
<thead class="table-light">
<tr>
<th>Benchmark name</th>
<th>Scoring type</th>
@ -24,7 +24,7 @@
<tbody>
<% benchmarks.each do |b| %>
<tr>
<td><a href="/benchmark/<%= b.id %>"><%= b.name %></a</td>
<td><a href="/benchmark/<%= b.id %>"><%= b.name %></a></td>
<td><%= b.scoring %></td>
<td><%= b.description %></td>
</tr>
@ -33,7 +33,7 @@
</table>
</div>
<% else %>
<div class="cell small-12">
<div class="col-12">
<p>I'm sorry, there doesn't appear to be any benchmarks added yet. Check again later!</p>
</div>
<% end %>