preise ins Template gebracht

This commit is contained in:
Bkolb 2026-04-02 21:02:05 +02:00
parent 23c29356db
commit 44792dc98f
2 changed files with 158 additions and 183 deletions

View File

@ -239,7 +239,12 @@ def home():
@app.route("/preise") @app.route("/preise")
@login_required @login_required
def preise(): def preise():
return render_page("preise", "Preise") return render_template(
"preise.html",
page_title="Preise",
active_page="preise",
**get_current_user()
)
@app.route("/allgemein") @app.route("/allgemein")

View File

@ -1,42 +1,13 @@
<!DOCTYPE html> {% extends "base.html" %}
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page_title }}</title>
<link rel="stylesheet" href="/styles/site.css">
</head>
<body>
<header class="site-header">
<div class="header-inner">
<div class="logo-area">
<a href="/home">
<img src="/images/Logo-Compliance-Verification-bg-1.png" alt="Logo" class="site-logo">
</a>
</div>
<nav class="top-nav"> {% block content %}
<a href="/home" class="{% if active_page == 'home' %}active{% endif %}">Home</a>
<a href="/preise" class="{% if active_page == 'preise' %}active{% endif %}">Preise</a>
<a href="/allgemein" class="{% if active_page == 'allgemein' %}active{% endif %}">Allgemein</a>
{% if is_logged_in %} <section class="hero-box">
<span class="user-box">{{ user_name }}</span>
<a href="/logout">Logout</a>
{% else %}
<a href="/login">Login</a>
{% endif %}
</nav>
</div>
</header>
<main class="content-area">
<section class="hero-box">
<h1>Klare Preise für Ihre KI-Compliance</h1> <h1>Klare Preise für Ihre KI-Compliance</h1>
<p>Wählen Sie zwischen sofort buchbaren Modulen und individueller Unternehmenslösung.</p> <p>Wählen Sie zwischen sofort buchbaren Modulen und individueller Unternehmenslösung.</p>
</section> </section>
<section class="pricing-section"> <section class="pricing-section">
<h2>Leistungen und Preise</h2> <h2>Leistungen und Preise</h2>
<div class="pricing-grid"> <div class="pricing-grid">
@ -98,9 +69,9 @@
<p class="price-note"> <p class="price-note">
Alle Preise verstehen sich inklusive Mehrwertsteuer. Alle Preise verstehen sich inklusive Mehrwertsteuer.
</p> </p>
</section> </section>
<section class="overview-section"> <section class="overview-section">
<h2>Welches Paket ist das richtige für Ihr Unternehmen?</h2> <h2>Welches Paket ist das richtige für Ihr Unternehmen?</h2>
<div class="image-panel"> <div class="image-panel">
<img src="/images/TabelleUebersicht.png" alt="Paketübersicht"> <img src="/images/TabelleUebersicht.png" alt="Paketübersicht">
@ -108,9 +79,9 @@
<p> <p>
Die meisten Unternehmen starten mit Modul A und erweitern anschließend auf Modul B oder C je nach Einsatz von KI und Risikoprofil. Die meisten Unternehmen starten mit Modul A und erweitern anschließend auf Modul B oder C je nach Einsatz von KI und Risikoprofil.
</p> </p>
</section> </section>
<section class="company-section"> <section class="company-section">
<div class="two-col"> <div class="two-col">
<div> <div>
<h2>Für ganze Unternehmen</h2> <h2>Für ganze Unternehmen</h2>
@ -127,9 +98,9 @@
<img src="/images/Schulung.png" alt="Schulung"> <img src="/images/Schulung.png" alt="Schulung">
</div> </div>
</div> </div>
</section> </section>
<section class="modules-section"> <section class="modules-section">
<h2>Module / geprüfte Bereiche</h2> <h2>Module / geprüfte Bereiche</h2>
<div class="module-blocks"> <div class="module-blocks">
<div class="module-block"> <div class="module-block">
@ -166,9 +137,9 @@
</ul> </ul>
</div> </div>
</div> </div>
</section> </section>
<section class="steps-section"> <section class="steps-section">
<h2>So funktioniert Compliance Verification</h2> <h2>So funktioniert Compliance Verification</h2>
<div class="steps-grid"> <div class="steps-grid">
<div class="step-card"> <div class="step-card">
@ -184,7 +155,6 @@
<p>Sie erhalten ein belastbares Compliance-Zertifikat.</p> <p>Sie erhalten ein belastbares Compliance-Zertifikat.</p>
</div> </div>
</div> </div>
</section> </section>
</main>
</body> {% endblock %}
</html>