nom-nom-nix-gc/src/templates/landing.hbs
Félix Baylac Jacqué ebd390987f
Some checks failed
Build nomnom / Build-NomNom (push) Failing after 5m19s
Add create binary cache path
It's not 100% complete yet, we're still displaying dummy data on the
homepage.

The auth path seems to be super verbose. But I'm a bit unwilling to
use a middleware to perform it: from my experience it makes easy to
screw up the auth model :/

I might revisit this choice later on.
2023-12-13 17:40:31 +01:00

24 lines
480 B
Handlebars

{{#> template }}
<h2>Binary Caches</h2>
<a href="/binary-cache/new">New Binary Cache</a>
{{#each binaryCaches}}
<div class="binary-cache">
<h3>{{this.name}}</h3>
<table>
<tr>
<th>Project Name</th>
<th>Latest Closure</th>
<th>Datetime</th>
</tr>
{{#each this.projects}}
<tr>
<td>{{this.name}}</td>
<td>{{this.latestClosure}}</td>
<td>{{this.datetime}}</td>
</tr>
{{/each}}
</table>
</div>
{{/each}}
{{ /template }}