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) %}
|
2019-06-19 11:35:26 +00:00
|
|
|
<ul>
|
|
|
|
{% for c in components if c.t == type %}
|
|
|
|
<li>
|
|
|
|
{{ c.__format__('t') }}
|
|
|
|
<p>
|
|
|
|
<small class="text-muted">{{ c.__format__('s') }}</small>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2018-10-03 13:30:34 +00:00
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
{% macro rate(range) %}
|
2019-06-19 11:35:26 +00:00
|
|
|
<span class="label label-primary">
|
2018-10-03 13:30:34 +00:00
|
|
|
{{ range }}
|
|
|
|
</span>
|
|
|
|
{% endmacro %}
|