You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.0 KiB

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<link rel="icon" href="{{ favicon }}">
<title>Nextcloud registration form</title>
<link rel="stylesheet" href="{{base_uri}}style.css">
{% if success and instance_link %}
<meta http-equiv="refresh" content="10;URL={{ instance_link }}">
{% endif %}
</head>
<body>
<nav class="navbar">
<div>
</div>
</nav>
<div id="main">
{% if favicon %}
<img src={{favicon}} class="favicon"/>
{% endif %}
{% if max_accounts %}
<div class="count">
Il reste {{ count_accounts }} / {{ max_accounts }} comptes.
</div>
{% endif %}
{% if error %}
<div class="error message">
{{ error }}
</div>
{% endif %}
{% if info %}
<div class="info message">
{{ info }}
</div>
{% endif %}
<form method="POST">
<input type="text" name="username" placeholder="Nom d'utilisateur" value="{{ data.username }}" {% if disable %} disabled="disabled" {% endif %}/>
{% if mandatory_email %}
<input type="text" name="email" placeholder="Adresse email" value="{{ data.email }}" {% if disable %} disabled="disabled" {% endif %}/>
{% endif %}
{% if mandatory_password %}
<input type="password" name="password1" placeholder="Mot de passe" {% if disable %} disabled="disabled" {% endif %}/>
<input type="password" name="password2" placeholder="Confirmez le mot de passe" {% if disable %} disabled="disabled" {% endif %}/>
{% endif %}
{% if eula %}
<div class="eula">
En m'inscrivant à ce service, j'accepte ses <a href="{{ eula }}">Conditions Générales d'utilisation</a>
</div>
{% endif %}
<input type="submit" name="validate" value="S'inscrire" {% if disable %} disabled="disabled" {% endif %}/>
</form>
</div>
</body>
</html>