preise ins Template gebracht
This commit is contained in:
parent
23c29356db
commit
44792dc98f
@ -239,7 +239,12 @@ def home():
|
||||
@app.route("/preise")
|
||||
@login_required
|
||||
def preise():
|
||||
return render_page("preise", "Preise")
|
||||
return render_template(
|
||||
"preise.html",
|
||||
page_title="Preise",
|
||||
active_page="preise",
|
||||
**get_current_user()
|
||||
)
|
||||
|
||||
|
||||
@app.route("/allgemein")
|
||||
|
||||
@ -1,36 +1,7 @@
|
||||
<!DOCTYPE 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>
|
||||
{% extends "base.html" %}
|
||||
|
||||
<nav class="top-nav">
|
||||
<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>
|
||||
{% block content %}
|
||||
|
||||
{% if is_logged_in %}
|
||||
<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>
|
||||
<p>Wählen Sie zwischen sofort buchbaren Modulen und individueller Unternehmenslösung.</p>
|
||||
@ -185,6 +156,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue
Block a user