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>
|
2023-03-08 02:30:13 +01:00
|
|
|
<th>Role Name</th>
|
|
|
|
<td>Ansible Galaxy</td>
|
|
|
|
<td>Maintainance Status</td>
|
|
|
|
<td>License</td>
|
2023-03-04 05:17:37 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for blk in this.table.blocks -%}
|
|
|
|
<tr>
|
2023-03-08 02:30:13 +01:00
|
|
|
<th><a href="{{ blk.gitrepo }}" target="_blank">{{ blk.name }}</a></th>
|
2023-03-04 05:17:37 +01:00
|
|
|
<td>
|
2023-03-08 02:30:13 +01:00
|
|
|
<a href="{{ blk.galaxy_url }}"><img src="{{ blk.galaxy_name | galaxy }}" /></a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<img src="{{ {'name': blk.galaxy_name, 'state': blk.maintainance} | maintainance }}" />
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<img src="{{ {'name': blk.galaxy_name, 'state': blk.license} | license }}" />
|
2023-03-04 05:17:37 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2023-02-01 00:42:18 +01:00
|
|
|
{% endblock %}
|