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,35 +2,33 @@
{%- 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">
<!-- input for new password1 -->
<div class="input-wrapper"> <label id="new_password1" class="label-small input-label font-near-black">
<!-- input for new password1 --> <label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label>
<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>
<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="">
</div> </label>
</div>
<div class="input-wrapper"> <div class="input-wrapper">
<!-- input for new password2 --> <!-- input for new password2 -->
<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">
@ -39,11 +37,11 @@
<a class="button button-secondary center" href="/network" title="Cancel">Cancel</a> <a class="button button-secondary center" href="/network" title="Cancel">Cancel</a>
</form> </form>
<!-- FLASH MESSAGE --> <!-- FLASH MESSAGE -->
{% include "snippets/flash_message" %} {% include "snippets/flash_message" %}
<!-- NO SCRIPT FOR WHEN JS IS DISABLED --> <!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
{% include "snippets/noscript" %} {% include "snippets/noscript" %}
</div> </div>
</div> </div>

View File

@ -2,25 +2,23 @@
{%- 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;">
Click the button below to send a new temporary password which can be used to change your device password.
<br/><br/>
The temporary password will be sent in an SSB private message to the admin of this device.
</p>
<p class="text-notice" style="width: 80%; margin:auto; margin-bottom: 35px; margin-top: 20px;"> <form id="sendPasswordReset" action="/send_password_reset" method="post">
Click the button below to send a new temporary password which can be used to change your device password. <div id="buttonDiv">
<br/><br/> <input type="submit" class="button center button-secondary" value="Send Password Reset" title="Send Password Reset Link"/>
The temporary password will be sent in an SSB private message to the admin of this device. </div>
</p> </form>
<form id="sendPasswordReset" action="/send_password_reset" method="post"> <!-- FLASH MESSAGE -->
<div id="buttonDiv"> {% include "snippets/flash_message" %}
<input type="submit" class="button center button-secondary" value="Send Password Reset" title="Send Password Reset Link"/>
</div>
</form>
<!-- FLASH MESSAGE -->
{% include "snippets/flash_message" %}
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
{% include "snippets/noscript" %}
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
{% include "snippets/noscript" %}
</div> </div>
</div> </div>

View File

@ -2,35 +2,33 @@
{%- 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">
<!-- input for new password1 -->
<div class="input-wrapper"> <label id="new_password1" class="label-small input-label font-near-black">
<!-- input for new password1 --> <label class="label-small input-label font-gray" for="new_password1" style="padding-top: 0.25rem;">Enter New Password</label>
<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>
<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="">
</div> </label>
</div>
<div class="input-wrapper"> <div class="input-wrapper">
<!-- input for new password2 --> <!-- input for new password2 -->
<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">
@ -38,11 +36,11 @@
</div> </div>
</form> </form>
<!-- FLASH MESSAGE --> <!-- FLASH MESSAGE -->
{% include "snippets/flash_message" %} {% include "snippets/flash_message" %}
<!-- NO SCRIPT FOR WHEN JS IS DISABLED --> <!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
{% include "snippets/noscript" %} {% include "snippets/noscript" %}
</div> </div>
</div> </div>