summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-06 01:37:52 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-06 01:37:52 +0100
commit08503befa5a2a12cb1fb2255e88ffc683c915abc (patch)
treea61b51bd7eb1a38e46dfdd385697a15ee417a78f
parenteac24d533f0551f113fa534cbd03f72de7e0d3ed (diff)
downloadbank-08503befa5a2a12cb1fb2255e88ffc683c915abc.tar.gz
bank-08503befa5a2a12cb1fb2255e88ffc683c915abc.tar.bz2
bank-08503befa5a2a12cb1fb2255e88ffc683c915abc.zip
autofocus and style
-rw-r--r--talerbank/app/templates/pin_tan.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/talerbank/app/templates/pin_tan.html b/talerbank/app/templates/pin_tan.html
index de836c0..746f889 100644
--- a/talerbank/app/templates/pin_tan.html
+++ b/talerbank/app/templates/pin_tan.html
@@ -39,12 +39,12 @@
<p>
What is {{ question }} ?
</p>
- <form method="post" action="{{ url('pin-verify') }}">
+ <form method="post" action="{{ url('pin-verify') }}" class="pure-form">
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />
- <input type="text" name="pin_0" value="" autocomplete="off" />
+ <input type="text" name="pin_0" value="" autocomplete="off" autofocus />
<input type="hidden" name="pin_1" value="{{ hashed_answer }}" />
<input type="hidden" name="question_url" value="{{ request.get_full_path() }}" />
- <input type="submit" value="Ok" />
+ <input type="submit" value="Ok" class="pure-button pure-button-primary" />
</form>
<small style="margin: 40px 0px">(*) A real bank should ask for
a PIN/TAN instead of a simple calculation. For example by sending