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:
@@ -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 %}
|
||||
Reference in New Issue
Block a user