aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 5cd468361ace6fa4ceaf40b39f26e3d78080b7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{#
Root index page for output.

Contains a list of all found modules.

Parameters:
	modules:
		List of modules.
#}
{% extends "base.html" %}
{% block content %}
	<h1>Muppet Strings</h1>
	<ul>
		{% for module in modules %}
		<li>
			{%- if module.metadata.get('name') -%}
				{{ module.metadata['name'].split('-')[0] }}/
			{%- endif -%}
			<a href="{{ module.name }}"
			   class="{{ 'error' if module.strings_output == None }}"
			   >{{ module.name }}</a>
			{%- if module.metadata.get('summary') %}
				&mdash; {{ module.metadata['summary'] }}
			{%- endif -%}
		</li>
		{% endfor %}
	</ul>
{% endblock %}
{# ft: jinja #}