280d25dda9
- Removed the JWT authentication setup and related access token handling. - Deleted the test license activation functionality and associated routes. - Removed the admin license management interface and related templates. - Cleaned up the appointments page by removing test license options. - Updated various templates to reflect changes in terminology from "license" to "instance". - Removed the verify module and its associated functions for license key management. - Deleted unused templates related to license management. - Added a new empty JSON file for licenses backup.
125 lines
3.4 KiB
HTML
125 lines
3.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Registrieren{% endblock %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
<style>
|
|
.auth-wrap {
|
|
max-width: 560px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
border-radius: 18px;
|
|
border: 1px solid #d4e0e9;
|
|
background: #ffffff;
|
|
box-shadow: 0 20px 44px rgba(14, 32, 48, 0.08);
|
|
}
|
|
|
|
.auth-wrap h1 {
|
|
font-size: 2rem;
|
|
color: #0f344d;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.auth-wrap p {
|
|
margin-bottom: 1.3rem;
|
|
}
|
|
|
|
.field {
|
|
margin-bottom: 0.9rem;
|
|
}
|
|
|
|
.field label {
|
|
display: block;
|
|
margin-bottom: 0.35rem;
|
|
font-weight: 700;
|
|
color: #19445f;
|
|
}
|
|
|
|
.field input {
|
|
width: 100%;
|
|
padding: 0.68rem 0.78rem;
|
|
border-radius: 10px;
|
|
border: 1px solid #c4d5e2;
|
|
font-size: 1rem;
|
|
color: #12384f;
|
|
}
|
|
|
|
.field input:focus {
|
|
outline: none;
|
|
border-color: #2f79a7;
|
|
box-shadow: 0 0 0 3px rgba(58, 133, 180, 0.2);
|
|
}
|
|
|
|
.checkbox-line {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.6rem;
|
|
margin: 0.35rem 0 1rem;
|
|
color: #244f66;
|
|
}
|
|
|
|
.checkbox-line input {
|
|
width: auto;
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
.auth-btn {
|
|
width: 100%;
|
|
border: none;
|
|
border-radius: 999px;
|
|
padding: 0.72rem;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
background: linear-gradient(120deg, #0a5f8f 0%, #0b4567 100%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.auth-meta {
|
|
margin-top: 1rem;
|
|
color: #547184;
|
|
}
|
|
|
|
.auth-meta a {
|
|
color: #0a5f8f;
|
|
font-weight: 700;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="auth-wrap">
|
|
<h1>Schulregistrierung</h1>
|
|
<p>Registrieren Sie Ihre Schule, um Buchungen, Instanzen und Support zentral zu verwalten.</p>
|
|
<form method="POST" action="{{ url_for('register') }}">
|
|
<div class="field">
|
|
<label for="school_name">Name der Schule</label>
|
|
<input id="school_name" name="school_name" type="text" autocomplete="organization" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="contact_person">Ansprechpartner der Schule</label>
|
|
<input id="contact_person" name="contact_person" type="text" autocomplete="name" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="username">Benutzername</label>
|
|
<input id="username" name="username" type="text" autocomplete="username" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="email">E-Mail</label>
|
|
<input id="email" name="email" type="email" autocomplete="email" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="password">Passwort (mind. 8 Zeichen)</label>
|
|
<input id="password" name="password" type="password" autocomplete="new-password" required>
|
|
</div>
|
|
<div class="field">
|
|
<label for="password_repeat">Passwort wiederholen</label>
|
|
<input id="password_repeat" name="password_repeat" type="password" autocomplete="new-password" required>
|
|
</div>
|
|
<button class="auth-btn" type="submit">Konto erstellen</button>
|
|
</form>
|
|
<p class="auth-meta">Bereits registriert? <a href="{{ url_for('login') }}">Zum Login</a></p>
|
|
</section>
|
|
{% endblock %}
|