ansible.l3d.space/templates/page.html

28 lines
742 B
HTML

{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ this.body }}
{% 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 %}
{% endblock %}