ansible.l3d.space/templates/page.html

29 lines
742 B
HTML
Raw Normal View History

2023-02-01 00:42:18 +01:00
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ this.body }}
2023-03-04 05:17:37 +01:00
{% if this.table is defined %}
{% if this.table.blocks | length != 0 %}
<h2>{{ this. tabletitle }}</h2>
<table>
<thead>
<tr>
<th scope="col">Role Name</th>
<th scope="col">Expenditure</th>
</tr>
</thead>
<tbody>
{% for blk in this.table.blocks -%}
<tr>
<th>{{ blk.name }}</th>
<td>
<a href="{{ blk.galaxy_url }}"><img src="{{ blk.galaxy_name | svg }}" /></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endif %}
2023-02-01 00:42:18 +01:00
{% endblock %}