1
0
mirror of https://github.com/janLo/wallabag-kindle-consumer synced 2026-06-19 19:08:00 +00:00

Add basic UI templates.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This commit is contained in:
2018-03-21 12:56:51 +01:00
parent e3743dd6da
commit c49a4a0816
5 changed files with 125 additions and 0 deletions
@@ -0,0 +1,7 @@
{% macro input(id, label, type='text', description='', placeholder='') %}
<div class="form-group col-lg">
<label for="{{ id }}">{{ label }}</label>
<input type="{{ type }}" class="form-control form-control-sm" id="{{ id }}" aria-describedby="{{ id }}Help" placeholder="{{ placeholder }}">
<small id="{{ id }}Help" class="form-text text-muted">{{ description }}</small>
</div>
{% endmacro %}