This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-03 13:30:34 +00:00
|
|
|
{% macro component_type(components, type) %}
|
2018-10-16 09:13:21 +00:00
|
|
|
<ul>
|
2018-10-03 13:30:34 +00:00
|
|
|
{% for c in components if c.t == type %}
|
|
|
|
<li>
|
2018-10-16 06:46:55 +00:00
|
|
|
{{ c.__format__('t') }}
|
2018-10-03 13:30:34 +00:00
|
|
|
<p>
|
2018-10-16 06:46:55 +00:00
|
|
|
<small class="text-muted">{{ c.__format__('s') }}</small>
|
2018-10-03 13:30:34 +00:00
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
{% macro rate(range) %}
|
|
|
|
<span class="label label-primary">
|
|
|
|
{{ range }}
|
|
|
|
</span>
|
|
|
|
{% endmacro %}
|