aboutsummaryrefslogtreecommitdiffstats
path: root/templates/submit_password.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/submit_password.html')
-rw-r--r--templates/submit_password.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/submit_password.html b/templates/submit_password.html
new file mode 100644
index 0000000..11565b1
--- /dev/null
+++ b/templates/submit_password.html
@@ -0,0 +1,42 @@
+<div id="submit-header" data-role="header">
+ <h1>[% loc('Your details') %]</h1>
+</div>
+
+<div data-role="content">
+ <div id="errors"></div>
+ <form id="passwordForm" name="passwordForm">
+ <div id="password_row">
+ <div class="inputcard">
+ <div>
+ <input data-role="none" type="password" value="" name="password" id="form_password" placeholder="[% loc('Your password') %]" required>
+ </div>
+ </div>
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="submit" id="report" name="report" value="[% loc('Report') %]">
+ </div>
+ </div>
+ <div id="check_name" class="nodisplay">
+ <div class="inputcard">
+ <p>
+ [% loc('Please confirm your name, if you want it to be public and optionally your phone number.') %]
+ </p>
+
+ <div>
+ <input data-role="none" type="text" value="" id="form_name" name="name">
+ </div>
+ <div>
+ <input data-role="none"type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="[% loc('Please enter your phone number (optional)') %]">
+ </div>
+ <div data-role="fieldcontain">
+ <fieldset data-role="controlgroup">
+ <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked>
+ <label for="form_may_show_name">[% loc('Show my name publicly') %]</label>
+ </fieldset>
+ </div>
+ </div>
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="submit" id="confirm_name" name="report" value="[% loc('Confirm name') %]">
+ </div>
+ </div>
+ </form>
+</div>