d00c4e2cb9
- Created .vscode/settings.json for Python environment configuration. - Added run.sh script for MongoDB installation and project setup. - Implemented admin chat interface in admin_chats.html. - Developed invoice management interface in admin_invoices.html. - Created license management interface in admin_licenses.html. - Added support ticket management interface in admin_tickets.html. - Implemented user management interface in admin_users.html. - Developed user chat interface in chat.html. - Created user invoice overview in my_invoices.html. - Developed user license overview in my_licenses.html. - Added support ticket creation and tracking in tickets.html. - Created test.sh script for MongoDB setup.
435 lines
14 KiB
HTML
435 lines
14 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<title>{% block title %}IT Loesungen{% endblock %}</title>
|
|
{% block head %}
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--bg-main: #f5f8fa;
|
|
--bg-soft: #e8eef2;
|
|
--surface: #ffffff;
|
|
--text-main: #112332;
|
|
--text-soft: #466176;
|
|
--line: #d8e1e8;
|
|
--brand: #0a4c74;
|
|
--brand-strong: #073754;
|
|
--accent: #f28c28;
|
|
--radius-md: 14px;
|
|
--shadow-sm: 0 10px 30px rgba(17, 35, 50, 0.08);
|
|
--shell-gutter: clamp(12px, 2.2vw, 34px);
|
|
--shell-max-width: 100vw;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100%;
|
|
font-family: "Source Sans 3", system-ui, sans-serif;
|
|
color: var(--text-main);
|
|
background: radial-gradient(circle at 85% -10%, #c5d8e5 0%, transparent 35%),
|
|
radial-gradient(circle at -10% 50%, #dce8ef 0%, transparent 42%),
|
|
var(--bg-main);
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-family: "Space Grotesk", system-ui, sans-serif;
|
|
line-height: 1.08;
|
|
font-size: clamp(1.75rem, 4.5vw, 4.2rem);
|
|
}
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-family: "Space Grotesk", system-ui, sans-serif;
|
|
line-height: 1.08;
|
|
font-size: clamp(1.4rem, 3.2vw, 3rem);
|
|
}
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-family: "Space Grotesk", system-ui, sans-serif;
|
|
line-height: 1.08;
|
|
font-size: clamp(1.1rem, 2.5vw, 2rem);
|
|
}
|
|
|
|
h4 {
|
|
margin: 0;
|
|
font-family: "Space Grotesk", system-ui, sans-serif;
|
|
line-height: 1.08;
|
|
font-size: clamp(1rem, 1.8vw, 1.5rem);
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
line-height: 1.55;
|
|
color: var(--text-soft);
|
|
font-size: clamp(0.95rem, 1.2vw, 1.1rem);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.site-shell {
|
|
width: min(var(--shell-max-width), calc(100% - (var(--shell-gutter) * 2)));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.site-nav {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 30;
|
|
backdrop-filter: blur(10px);
|
|
background: rgba(245, 248, 250, 0.86);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.site-nav-inner {
|
|
min-height: 78px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.brand {
|
|
font-family: "Space Grotesk", system-ui, sans-serif;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
font-weight: 600;
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--brand);
|
|
}
|
|
|
|
.nav-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.nav-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
border: 1px solid #bcd0de;
|
|
padding: 0.48rem 0.95rem;
|
|
font-weight: 700;
|
|
color: #0e425f;
|
|
background: #ffffff;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.nav-btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-btn.primary {
|
|
color: #ffffff;
|
|
border-color: #0a4c74;
|
|
background: linear-gradient(120deg, #0b5b89 0%, #0b4262 100%);
|
|
}
|
|
|
|
.nav-dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.nav-dropdown > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-dropdown > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.nav-dropdown > summary::after {
|
|
content: "▾";
|
|
margin-left: 0.45rem;
|
|
font-size: 0.72rem;
|
|
color: #57798f;
|
|
}
|
|
|
|
.nav-dropdown[open] > summary::after {
|
|
content: "▴";
|
|
}
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
right: 0;
|
|
top: calc(100% + 0.45rem);
|
|
min-width: 220px;
|
|
padding: 0.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid #ccdae5;
|
|
background: #ffffff;
|
|
box-shadow: 0 12px 24px rgba(16, 44, 62, 0.15);
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
z-index: 40;
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
padding: 0.5rem 0.65rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
color: #1a4865;
|
|
}
|
|
|
|
.dropdown-menu a:hover {
|
|
background: #f3f8fc;
|
|
}
|
|
|
|
.main-wrap {
|
|
padding: 2rem 0 3.4rem;
|
|
}
|
|
|
|
.flashes {
|
|
margin-bottom: 1rem;
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.flash {
|
|
padding: 0.8rem 1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--line);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow-sm);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.flash.success { border-left: 5px solid #0e9f6e; }
|
|
.flash.error { border-left: 5px solid #d3413e; }
|
|
.flash.info { border-left: 5px solid var(--brand); }
|
|
|
|
@media (max-width: 820px) {
|
|
.site-nav-inner {
|
|
min-height: 64px;
|
|
}
|
|
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.nav-actions {
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.nav-btn {
|
|
padding: 0.42rem 0.72rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
right: auto;
|
|
left: 0;
|
|
min-width: 200px;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<nav class="site-nav">
|
|
<div class="site-shell site-nav-inner">
|
|
<a class="brand" href="{{ url_for('default') }}">Invario</a>
|
|
<div class="nav-links" aria-label="Main Navigation">
|
|
<a href="{{ url_for('default') }}#leistungen">Dienstleistungen</a>
|
|
<a href="{{ url_for('default') }}#projekte">Projekte</a>
|
|
<a href="{{ url_for('default') }}#team">Team</a>
|
|
<a href="{{ url_for('default') }}#kontakt">Kontakt</a>
|
|
</div>
|
|
<div class="nav-actions">
|
|
{% if 'username' in session %}
|
|
<a class="nav-btn" href="{{ url_for('appointments') }}">Termin anfragen</a>
|
|
|
|
<details class="nav-dropdown">
|
|
<summary class="nav-btn">Nutzerbereich</summary>
|
|
<div class="dropdown-menu">
|
|
<a href="{{ url_for('my_licenses') }}">Meine Lizenzen</a>
|
|
<a href="{{ url_for('my_invoices') }}">Meine Rechnungen</a>
|
|
<a href="{{ url_for('user_chat') }}">Chat mit Admin</a>
|
|
<a href="{{ url_for('user_tickets') }}">Support Tickets</a>
|
|
</div>
|
|
</details>
|
|
|
|
<details class="nav-dropdown">
|
|
<summary class="nav-btn">Inhalte</summary>
|
|
<div class="dropdown-menu">
|
|
<a href="{{ url_for('blog') }}">Blog</a>
|
|
</div>
|
|
</details>
|
|
|
|
{% if session.get('is_admin') %}
|
|
<details class="nav-dropdown">
|
|
<summary class="nav-btn">Admin</summary>
|
|
<div class="dropdown-menu">
|
|
<a href="{{ url_for('admin_dashboard') }}">Dashboard</a>
|
|
<a href="{{ url_for('admin_users') }}">Userverwaltung</a>
|
|
<a href="{{ url_for('admin_licenses') }}">Lizenzverwaltung</a>
|
|
<a href="{{ url_for('admin_invoices') }}">Rechnungsverwaltung</a>
|
|
<a href="{{ url_for('admin_chats') }}">Admin-Chat</a>
|
|
<a href="{{ url_for('admin_tickets') }}">Support-Center</a>
|
|
<a href="{{ url_for('admin_blog') }}">Blog verwalten</a>
|
|
</div>
|
|
</details>
|
|
{% endif %}
|
|
|
|
<a class="nav-btn" href="{{ url_for('logout') }}">Logout</a>
|
|
{% else %}
|
|
<a class="nav-btn" href="{{ url_for('blog') }}">Blog</a>
|
|
<a class="nav-btn" href="{{ url_for('login') }}">Login</a>
|
|
<a class="nav-btn primary" href="{{ url_for('register') }}">Registrieren</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<main class="site-shell main-wrap">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
<div class="flashes">
|
|
{% for category, message in messages %}
|
|
<div class="flash {{ category }}">{{ message }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<footer class="site-footer">
|
|
<div class="site-shell footer-inner">
|
|
<div class="footer-content">
|
|
<div class="footer-section">
|
|
<h4>Über uns</h4>
|
|
<p>Wir bieten professionelle IT-Lösungen und Dienstleistungen für Ihr Unternehmen.</p>
|
|
</div>
|
|
<div class="footer-section">
|
|
<h4>Schnelllinks</h4>
|
|
<ul class="footer-links">
|
|
<li><a href="{{ url_for('default') }}">Startseite</a></li>
|
|
<li><a href="{{ url_for('blog') }}">Blog</a></li>
|
|
{% if 'username' in session %}
|
|
<li><a href="{{ url_for('appointments') }}">Termine</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
<div class="footer-section">
|
|
<h4>Rechtliches</h4>
|
|
<ul class="footer-links">
|
|
<li><a href="{{ url_for('datenschutz') }}">Datenschutz</a></li>
|
|
<li><a href="{{ url_for('impressum') }}">Impressum</a></li>
|
|
<li><a href="{{ url_for('nutzungsbedingungen') }}">Nutzungsbedingungen</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="footer-bottom">
|
|
<p>© 2026 Invario. Alle Rechte vorbehalten.</p>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
.site-footer {
|
|
background: linear-gradient(135deg, var(--brand-strong) 0%, #0a4c74 100%);
|
|
color: #ffffff;
|
|
margin-top: 4rem;
|
|
padding: 3rem 0 1.5rem;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.footer-inner {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.footer-section h4 {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.footer-section p {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.footer-links {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 0.95rem;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.footer-bottom {
|
|
text-align: center;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.footer-bottom p {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.9rem;
|
|
margin: 0;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.footer-inner {
|
|
grid-template-columns: 1fr;
|
|
gap: 1.5rem;
|
|
}
|
|
}
|
|
</style>
|
|
</footer>
|
|
<!-- Mobile compatibility scripts -->
|
|
<script src="{{ url_for('static', filename='js/mobile_compatibility.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/ios_fixes.js') }}"></script>
|
|
</body>
|
|
</html> |