2023-02-01 00:42:18 +01:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
|
|
{% block body %}
|
|
|
|
{{ this.body }}
|
2023-03-12 04:07:08 +01:00
|
|
|
{% if this.roles is defined %}
|
|
|
|
{% if this.roles.blocks | length != 0 %}
|
|
|
|
<h2 id="roles">{{ this.tabletitle }}</h2>
|
2023-03-04 05:17:37 +01:00
|
|
|
<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>
|
2023-03-12 04:07:08 +01:00
|
|
|
{% for blk in this.roles.blocks -%}
|
2023-03-04 05:17:37 +01:00
|
|
|
<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-12 01:18:18 +01:00
|
|
|
{% if blk.no_galaxy %}
|
|
|
|
<a href="{{ blk.galaxy_url }}">
|
|
|
|
<img src="{{ {'name': blk.galaxy_name, 'state': blk.galaxy_name, 'label': 'ansible-galaxy'} | svg }}" />
|
|
|
|
</a>
|
|
|
|
{% else %}-{% endif %}
|
2023-03-08 02:30:13 +01:00
|
|
|
</td>
|
|
|
|
<td>
|
2023-03-11 23:06:05 +01:00
|
|
|
<img src="{{ {'name': blk.galaxy_name, 'state': blk.maintainance, 'label': 'maintainance'} | svg }}" />
|
2023-03-08 02:30:13 +01:00
|
|
|
</td>
|
|
|
|
<td>
|
2023-03-11 23:06:05 +01:00
|
|
|
<img src="{{ {'name': blk.galaxy_name, 'state': blk.license, 'label': 'license'} | svg }}" />
|
2023-03-04 05:17:37 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2023-03-10 00:03:52 +01:00
|
|
|
{{ this.trailer }}
|
2023-02-01 00:42:18 +01:00
|
|
|
{% endblock %}
|