1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 03:39:28 +00:00

Generalise testTables more

This commit is contained in:
2022-04-21 13:16:33 +00:00
parent 6d8e66eeb6
commit 586f84d65c
2 changed files with 29 additions and 27 deletions

View File

@@ -10,25 +10,7 @@
<div class='adminItem'>
<h2>Tests</h2>
<div class='adminTable'>
<table>
<thead>
<tr>
<th>Name</th>
<th>Class</th>
<th>Subject</th>
<th>Date</th>
</tr>
</thead>
{{#each tests}}
{{> test
id=id
name=template.name
class=class.name
subject=class.subject.name
date=date
}}
{{/each}}
</table>
{{> testTable tests=tests full=true }}
</div>
</div>
</section>