108 lines
4.3 KiB
HTML
Executable File
108 lines
4.3 KiB
HTML
Executable File
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="csrf" content="{{ ctx.csrf }}">
|
|
<title>{{ title }} — ITSM</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="shell">
|
|
<div class="sidebar">
|
|
<div class="brand">
|
|
<span class="brand-logo">ITSM</span>
|
|
<div class="brand-text"><b>ITSM</b><div class="sz">Konzernplattform</div></div>
|
|
</div>
|
|
<div class="navgroup">
|
|
<h4>Favoriten</h4>
|
|
<a href="/dashboard" class="{% if ctx.active == "/dashboard" %}active{% endif %}">Dashboard</a>
|
|
<a href="/tickets?mine=1">Meine Tickets</a>
|
|
<a href="/tickets?status=Offen">Offene Tickets</a>
|
|
<a href="/tickets?status=Ueberfaellig">Ueberfaellige Tickets</a>
|
|
</div>
|
|
<div class="navgroup">
|
|
<h4>Service Management</h4>
|
|
<a href="/tickets" class="{% if ctx.active == "/tickets" %}active{% endif %}">Tickets</a>
|
|
{% if ctx.operative %}
|
|
<a href="/tickets/board" class="{% if ctx.active == "/tickets/board" %}active{% endif %}">Kanban Board</a>
|
|
<a href="/probleme" class="{% if ctx.active == "/probleme" %}active{% endif %}">Probleme</a>
|
|
<a href="/aenderungen" class="{% if ctx.active == "/aenderungen" %}active{% endif %}">Aenderungen</a>
|
|
<a href="/releases" class="{% if ctx.active == "/releases" %}active{% endif %}">Releases</a>
|
|
{% endif %}
|
|
</div>
|
|
<div class="navgroup">
|
|
<h4>Services</h4>
|
|
<a href="/services" class="{% if ctx.active == "/services" %}active{% endif %}">Service-Katalog</a>
|
|
</div>
|
|
<div class="navgroup">
|
|
<h4>Wissen</h4>
|
|
<a href="/wissen" class="{% if ctx.active == "/wissen" %}active{% endif %}">Wissensdatenbank</a>
|
|
<a href="/wissen?kategorie=Anleitung">Artikel</a>
|
|
<a href="/wissen?kategorie=FAQ">FAQs</a>
|
|
</div>
|
|
{% if ctx.hr %}
|
|
<div class="navgroup">
|
|
<h4>HR</h4>
|
|
<a href="/hr" class="{% if ctx.active == "/hr" %}active{% endif %}">Mitarbeiter</a>
|
|
</div>
|
|
{% endif %}
|
|
{% if ctx.crm %}
|
|
<div class="navgroup">
|
|
<h4>CRM</h4>
|
|
<a href="/crm" class="{% if ctx.active == "/crm" %}active{% endif %}">Firmen</a>
|
|
<a href="/crm/pipeline" class="{% if ctx.active == "/crm/pipeline" %}active{% endif %}">Pipeline</a>
|
|
</div>
|
|
{% endif %}
|
|
{% if ctx.aes_ext %}
|
|
<div class="navgroup">
|
|
<h4>Erweiterungen</h4>
|
|
<a href="/erweiterungen/aes" class="{% if ctx.active == "/erweiterungen/aes" %}active{% endif %}">AES-Suite</a>
|
|
</div>
|
|
{% endif %}
|
|
{% if ctx.operative %}
|
|
<div class="navgroup">
|
|
<h4>Assets</h4>
|
|
<a href="/assets" class="{% if ctx.active == "/assets" %}active{% endif %}">Asset-Liste</a>
|
|
<a href="/assets?typ=Server">Konfigurationselemente</a>
|
|
<a href="/assets?typ=Software">Software</a>
|
|
<a href="/assets?typ=Vertrag">Vertraege</a>
|
|
</div>
|
|
{% endif %}
|
|
{% if ctx.admin %}
|
|
<div class="navgroup">
|
|
<h4>Administration</h4>
|
|
<a href="/admin/users" class="{% if ctx.active == "/admin/users" %}active{% endif %}">Benutzer & Gruppen</a>
|
|
<a href="/admin" class="{% if ctx.active == "/admin" %}active{% endif %}">Einstellungen</a>
|
|
<a href="/admin/audit" class="{% if ctx.active == "/admin/audit" %}active{% endif %}">Audit-Log</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
<div class="main">
|
|
<div class="topbar">
|
|
<div class="topbar-left"><span class="sz">{{ ctx.tenant_name }}</span></div>
|
|
<form class="topsearch" action="/tickets" method="get">
|
|
<input name="q" placeholder="Suche (Tickets, Projekte, KB, Services ...)">
|
|
</form>
|
|
<div class="topbar-right">
|
|
<div class="userchip">
|
|
<span class="avatar">{{ ctx.initials }}</span>
|
|
<span class="userchip-text">{{ ctx.email }}<br><span class="sz">{{ ctx.role_label }}</span></span>
|
|
</div>
|
|
<form method="post" action="/logout" class="inline-form">
|
|
<input type="hidden" name="_csrf" value="{{ ctx.csrf }}">
|
|
<button class="linklike" type="submit">Abmelden</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="detail-overlay"></div>
|
|
<div id="detail-panel"></div>
|
|
<script src="/static/app.js"></script>
|
|
</body>
|
|
</html>
|