Krolyxon
Commit ec28036

ferreniumtemplatesref_table.html

16 lines · 772 B · HTML

1<div class="table-wrap">
2<table class="data-table">
3 <thead>
4 <tr><th class="label">Name</th><th class="label">Last commit</th><th class="label num">Updated</th></tr>
5 </thead>
6 <tbody>
7 {%- for row in rows %}
8 <tr>
9 <td class="ref-name"><a href="{{ row.url }}">{{ row.name }}</a>{% if row.is_default %} <span class="chip">Default</span>{% endif %}</td>
10 <td class="ref-subject">{{ row.subject }}{% if !row.archives.is_empty() %}<span class="ref-archives">{% for (label, url) in row.archives %}<a class="label" href="{{ url }}" rel="nofollow">{{ label }}</a>{% endfor %}</span>{% endif %}</td>
11 <td class="num"><time datetime="{{ row.iso }}" title="{{ row.iso }}">{{ row.age }}</time></td>
12 </tr>
13 {%- endfor %}
14 </tbody>
15</table>
16</div>