improve indendation

This commit is contained in:
2021-11-13 10:52:20 +02:00
parent ceabfad54f
commit dd189e89e0
3 changed files with 64 additions and 70 deletions

View File

@ -2,17 +2,15 @@
{%- block card %} {%- block card %}
<!-- CHANGE PASSWORD FORM --> <!-- CHANGE PASSWORD FORM -->
<div class="card center"> <div class="card center">
<div class="form-container"> <div class="form-container">
<form id="changePassword" action="/settings/change_password" method="post"> <form id="changePassword" action="/settings/change_password" method="post">
<div class="input-wrapper"> <div class="input-wrapper">
<!-- input for old password --> <!-- input for old password -->
<label id="old_password" class="label-small input-label font-near-black"> <label id="old_password" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="old_password" style="padding-top: 0.25rem;">Old Password</label> <label class="label-small input-label font-gray" for="old_password" style="padding-top: 0.25rem;">Old Password</label>
<input id="old_password" class="form-input" style="margin-bottom: 0;" <input id="old_password" class="form-input" style="margin-bottom: 0;"
name="old_password" type="password" title="old password" value=""></label> name="old_password" type="password" title="old password" value="">
</label>
</div> </div>
<div class="input-wrapper"> <div class="input-wrapper">
@ -20,7 +18,8 @@
<label id="new_password1" class="label-small input-label font-near-black"> <label id="new_password1" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label> <label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label>
<input id="new_password1" class="form-input" style="margin-bottom: 0;" <input id="new_password1" class="form-input" style="margin-bottom: 0;"
name="new_password1" title="new_password1" type="password" value=""></label> name="new_password1" title="new_password1" type="password" value="">
</label>
</div> </div>
<div class="input-wrapper"> <div class="input-wrapper">
@ -28,9 +27,8 @@
<label id="new_password2" class="label-small input-label font-near-black"> <label id="new_password2" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="new_password2" style="padding-top: 0.25rem;">Re-Enter New Password</label> <label class="label-small input-label font-gray" for="new_password2" style="padding-top: 0.25rem;">Re-Enter New Password</label>
<input id="new_password2" class="form-input" style="margin-bottom: 0;" <input id="new_password2" class="form-input" style="margin-bottom: 0;"
name="new_password2" title="new_password2" type="password" value=""></label> name="new_password2" title="new_password2" type="password" value="">
</div> </label>
</div> </div>
<div id="buttonDiv"> <div id="buttonDiv">

View File

@ -2,7 +2,6 @@
{%- block card %} {%- block card %}
<!--PUBLIC PAGE FOR SENDING A NEW TEMPORARY PASSWORD TO BE USED TO RESET YOUR PASSWORD --> <!--PUBLIC PAGE FOR SENDING A NEW TEMPORARY PASSWORD TO BE USED TO RESET YOUR PASSWORD -->
<div class="card center"> <div class="card center">
<p class="text-notice" style="width: 80%; margin:auto; margin-bottom: 35px; margin-top: 20px;"> <p class="text-notice" style="width: 80%; margin:auto; margin-bottom: 35px; margin-top: 20px;">
Click the button below to send a new temporary password which can be used to change your device password. Click the button below to send a new temporary password which can be used to change your device password.
<br/><br/> <br/><br/>
@ -21,7 +20,6 @@
<!-- NO SCRIPT FOR WHEN JS IS DISABLED --> <!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
{% include "snippets/noscript" %} {% include "snippets/noscript" %}
</div> </div>
</div> </div>
{%- endblock card -%} {%- endblock card -%}

View File

@ -2,17 +2,15 @@
{%- block card %} {%- block card %}
<!-- RESET PASSWORD PAGE --> <!-- RESET PASSWORD PAGE -->
<div class="card center"> <div class="card center">
<div class="form-container"> <div class="form-container">
<form id="changePassword" action="/reset_password" method="post"> <form id="changePassword" action="/reset_password" method="post">
<div class="input-wrapper"> <div class="input-wrapper">
<!-- input for temporary password --> <!-- input for temporary password -->
<label id="temporary_password" class="label-small input-label font-near-black"> <label id="temporary_password" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="temporary_password" style="padding-top: 0.25rem;">Temporary Password</label> <label class="label-small input-label font-gray" for="temporary_password" style="padding-top: 0.25rem;">Temporary Password</label>
<input id="temporary_password" class="form-input" style="margin-bottom: 0;" <input id="temporary_password" class="form-input" style="margin-bottom: 0;"
name="temporary_password" type="password" title="temporary password" value=""></label> name="temporary_password" type="password" title="temporary password" value="">
</label>
</div> </div>
<div class="input-wrapper"> <div class="input-wrapper">
@ -20,7 +18,8 @@
<label id="new_password1" class="label-small input-label font-near-black"> <label id="new_password1" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label> <label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label>
<input id="new_password1" class="form-input" style="margin-bottom: 0;" <input id="new_password1" class="form-input" style="margin-bottom: 0;"
name="new_password1" title="new_password1" type="password" value=""></label> name="new_password1" title="new_password1" type="password" value="">
</label>
</div> </div>
<div class="input-wrapper"> <div class="input-wrapper">
@ -28,9 +27,8 @@
<label id="new_password2" class="label-small input-label font-near-black"> <label id="new_password2" class="label-small input-label font-near-black">
<label class="label-small input-label font-gray" for="new_password2" style="padding-top: 0.25rem;">Re-Enter New Password</label> <label class="label-small input-label font-gray" for="new_password2" style="padding-top: 0.25rem;">Re-Enter New Password</label>
<input id="new_password2" class="form-input" style="margin-bottom: 0;" <input id="new_password2" class="form-input" style="margin-bottom: 0;"
name="new_password2" title="new_password2" type="password" value=""></label> name="new_password2" title="new_password2" type="password" value="">
</div> </label>
</div> </div>
<div id="buttonDiv"> <div id="buttonDiv">