Very first version of the configuration wizard

This commit is contained in:
kaiyou
2018-03-10 14:05:49 +01:00
parent 31b887807a
commit efaa3058c0
11 changed files with 186 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{% macro panel(style, title) %}
<div class="panel panel-{{ style }}">
<div class="panel-heading">
<h3 class="panel-title">{{ title }}</h3>
</div>
<div class="panel-body">
{{ caller() }}
</div>
</div>
{% endmacro %}
{% macro radio(name, value, emph, text) %}
<div class="radio">
<label>
<input type="radio" name="{{ name }}" value="{{ value }}">
{% if emph %}
<strong>{{ emph }}</strong>,
{% endif %}
{{ text }}
</label>
</div>
{% endmacro %}