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,32 @@
{% extends 'base.html' %}
{% import 'macros.html' as forms %}
{% block body %}
<div class="card">
<div class="card-header">Add or edit an account</div>
<div class="card-body">
<form method="post">
<div class="row">
{{ forms.input('user', "Username", description='Your wallabag username at ' + wallabag_host) }}
{{ forms.input('password', "Password", type='password', description='Your wallabag password at ' + wallabag_host + ". The password will not be stored") }}
</div>
<div class="row">
{{ forms.input('clientId', "Client id", description='A valid client id') }}
{{ forms.input('clientSecret', "Client secret", description='A valid client secret ' + wallabag_host) }}
</div>
<div class="row">
{{ forms.input('kindleEmail', "Kindle Email", type='email', description='Your kindle email addess ' + wallabag_host) }}
{{ forms.input('notifyEmail', "Alt. Email",type='email', description='An alternative email where we can send any problems. ' + wallabag_host) }}
</div>
<div class="row">
<div class="col-lg">
<button type="submit" class="btn btn-primary">Register</button>
</div>
</div>
</form>
</div>
</div>
{% endblock %}