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.
142 lines
3.7 KiB
HTML
142 lines
3.7 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Buchungsoptionen{% endblock %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
<style>
|
|
.packages-hero {
|
|
background: linear-gradient(140deg, #f6f2e6 0%, #e8efe4 55%, #dfe9ef 100%);
|
|
border: 1px solid #ced8d1;
|
|
border-radius: 18px;
|
|
padding: 1.4rem;
|
|
box-shadow: 0 14px 34px rgba(16, 36, 47, 0.08);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.packages-hero h1 {
|
|
color: #173f57;
|
|
font-size: clamp(1.65rem, 3.2vw, 2.45rem);
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.packages-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.package-card {
|
|
background: #ffffff;
|
|
border: 1px solid #d5e0e8;
|
|
border-radius: 16px;
|
|
padding: 1rem;
|
|
box-shadow: 0 10px 24px rgba(23, 44, 57, 0.05);
|
|
display: grid;
|
|
gap: 0.7rem;
|
|
}
|
|
|
|
.package-name {
|
|
margin: 0;
|
|
color: #184560;
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.package-headline {
|
|
color: #3a6177;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.feature-list {
|
|
margin: 0;
|
|
padding-left: 1.1rem;
|
|
color: #456274;
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.package-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.55rem;
|
|
}
|
|
|
|
.btn {
|
|
border: 1px solid #0d4f77;
|
|
background: linear-gradient(120deg, #0d6294 0%, #0b476a 100%);
|
|
color: #ffffff;
|
|
border-radius: 999px;
|
|
padding: 0.45rem 0.88rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
|
|
.btn.secondary {
|
|
border-color: #9ab5c8;
|
|
background: #f2f8fc;
|
|
color: #275a78;
|
|
}
|
|
|
|
.notice {
|
|
margin-top: 1rem;
|
|
background: #ffffff;
|
|
border: 1px solid #d4e0e9;
|
|
border-radius: 14px;
|
|
padding: 0.9rem;
|
|
color: #274f65;
|
|
}
|
|
|
|
.notice strong {
|
|
color: #173f57;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.packages-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="packages-hero">
|
|
<h1>Buchungsoptionen als Softwarepakete</h1>
|
|
<p>Alle Pakete sind frei einsehbar, auch ohne Admin.</p>
|
|
<p>Jedes Paket basiert auf derselben Sicherheitsarchitektur mit Rollenrechten, geschützten Sessions und nachvollziehbaren Aktionen.</p>
|
|
</section>
|
|
|
|
<section class="packages-grid">
|
|
{% for package in software_packages %}
|
|
<article class="package-card">
|
|
<h2 class="package-name">{{ package.name }}</h2>
|
|
<p class="package-headline">{{ package.headline }}</p>
|
|
<ul class="feature-list">
|
|
{% for feature in package.features %}
|
|
<li>{{ feature }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<div class="package-actions">
|
|
{% if 'username' in session %}
|
|
<form method="POST" action="{{ url_for('book_option_package') }}">
|
|
<input type="hidden" name="package" value="{{ package.slug }}">
|
|
<button class="btn" type="submit">Option buchen</button>
|
|
</form>
|
|
{% else %}
|
|
<a class="btn secondary" href="{{ url_for('login') }}">Mit Konto buchen</a>
|
|
{% endif %}
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
</section>
|
|
|
|
<section class="notice">
|
|
{% if 'username' in session %}
|
|
<p><strong>Hinweis:</strong> Buchungsanfragen werden direkt vom Admin-Team verarbeitet und Ihrer Instanz zugeordnet.</p>
|
|
{% else %}
|
|
<p><strong>Hinweis:</strong> Bitte einloggen oder registrieren, um Buchungsoptionen anzufragen.</p>
|
|
{% endif %}
|
|
</section>
|
|
{% endblock %}
|