Leviathan/views/index/dashboard.twig

45 lines
839 B
Twig
Raw Normal View History

{% extends 'layouts/default.twig' %}
{% block title %}Dashboard{% endblock %}
{% block content %}
<div class="row">
<h2>Recently updated projects:</h2>
<table class="twelve columns">
<thead>
<tr>
<td>Title</td>
<td>Last updated</td>
</tr>
</thead>
<tbody>
{% for p in projects %}
<tr>
<td>{{ p.title }}</td>
<td>{{ p.updatedAt | date('m/d/Y g:ia') }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<hr>
<div class="row">
<h2>Recently added results:</h2>
<table class="twelve columns">
<thead>
<tr>
<td>Benchmark</td>
<td>Hardware</td>
<td>Average/Score</td>
<td>Scoring type</td>
<td>Added on</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
{% endblock %}