don't put password change in a details tag

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-03-22 20:47:16 +01:00
parent 6aa0b7097a
commit 72ca611d2f

View file

@ -277,23 +277,20 @@
{% if isBackupContainerRunning == false %} {% if isBackupContainerRunning == false %}
{% if isApacheStarting == false %} {% if isApacheStarting == false %}
<h2>AIO password change</h2> <h2>AIO password change</h2>
<details> You can change your AIO password below:<br><br />
<summary>Click here to change your AIO password</summary><br> <form method="POST" action="/api/configuration" class="xhr">
You can change your AIO password below:<br><br /> <input type="text" autocomplete="current-password" name="current-master-password" placeholder="Your current AIO password"/>
<form method="POST" action="/api/configuration" class="xhr"> <input type="text" autocomplete="new-password" name="new-master-password" placeholder="Your new AIO password"/>
<input type="text" autocomplete="current-password" name="current-master-password" placeholder="Your current AIO password"/> <input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="text" autocomplete="new-password" name="new-master-password" placeholder="Your new AIO password"/> <input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}"> <input class="button" type="submit" value="Submit" />
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}"> </form>
<input class="button" type="submit" value="Submit" /> The new password needs to be at least 24 characters long. Allowed characters are the <a href="https://en.wikipedia.org/wiki/Latin_alphabet#/media/File:Abecedarium.png"><b>latin characters</b></a> <b>a-z</b>, <b>A-Z</b>, <b>0-9</b> and <b>spaces</b>.
</form>
The new password needs to be at least 24 characters long. Allowed characters are the <a href="https://en.wikipedia.org/wiki/Latin_alphabet#/media/File:Abecedarium.png"><b>latin characters</b></a> <b>a-z</b>, <b>A-Z</b>, <b>0-9</b> and <b>spaces</b>.
</details><br /><br />
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if isBackupContainerRunning == false %} {% if isBackupContainerRunning == false %}
<h2>Optional</h2> <h2>Optional addons</h2>
In this section, you can find optional addons.<br> In this section, you can find optional addons.<br>
You can enable or disaable them when your containers are stopped.<br><br> You can enable or disaable them when your containers are stopped.<br><br>
<form id="options-form" method="POST" action="/api/configuration" class="xhr"> <form id="options-form" method="POST" action="/api/configuration" class="xhr">