2022-04-20 17:49:13 +02:00
{% extends "layout.twig" %}
{% block body %}
<div class="login-wrapper">
<div class="login">
<img src="/img/logo-blue.svg" style="margin-left: auto;margin-right: auto;display: block;">
<h1>Nextcloud AIO Login</h1>
{% if is_login_allowed == true %}
2024-05-15 17:55:26 +02:00
<p>Log in using your Nextcloud AIO passphrase:</p>
2023-03-31 16:41:48 +02:00
<form method="POST" action="/api/auth/login" class="xhr">
2023-06-26 15:12:01 +02:00
<input type="password" autocomplete="current-password" name="password" placeholder="Password" id="master-password" oninput="showPassword('master-password')">
2022-04-20 17:49:13 +02:00
<input type="hidden" name=" {{ csrf .keys .name }} " value=" {{ csrf .name }} ">
<input type="hidden" name=" {{ csrf .keys .value }} " value=" {{ csrf .value }} ">
2022-07-18 17:53:10 +02:00
<input type="submit" class="button" value="Log in" />
2022-04-20 17:49:13 +02:00
</form>
{% else %}
2024-05-30 13:14:31 +02:00
<p>The login is blocked since Nextcloud is running.<br>Please use the <a href="https://github.com/nextcloud/all-in-one#how-to-easily-log-in-to-the-aio-interface"><strong>automatic login</strong></a> from your Nextcloud.<br><br>
2024-05-24 11:57:00 +02:00
If that is not possible, you can unblock the login by running<br><strong>sudo docker stop nextcloud-aio-apache</strong></p>
2022-04-20 17:49:13 +02:00
{% endif %}
</div>
</div>
2023-02-16 19:14:09 +01:00
<script type="text/javascript" src="before-unload.js"></script>
<div id="overlay">
<div class="loader"></div>
</div>
2022-04-20 17:49:13 +02:00
{% endblock %}