Aufräumen und header zentralisieren
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<title>Admin - Stundenerfassung</title>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<%- include('header') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar">
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><%= title %> - Stundenerfassung</title>
|
||||
<%- include('header') %>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<title>Dashboard - Stundenerfassung</title>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<%- include('header') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar">
|
||||
@@ -55,7 +56,7 @@
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<div style="display: flex; gap: 10px; align-items: center;">
|
||||
<div style="display: flex; gap: 10px; align-items: center; justify-content: center;">
|
||||
<button id="submitWeek" class="btn btn-success" onclick="window.submitWeekHandler(event)" disabled>Woche abschicken</button>
|
||||
<button id="viewPdfBtn" class="btn btn-info" disabled>PDF anzeigen</button>
|
||||
</div>
|
||||
|
||||
17
views/header.ejs
Normal file
17
views/header.ejs
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- Manifest -->
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<!-- Apple Icons -->
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/icons/icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="167x167" href="/icons/icon-167x167.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/icons/icon-180x180.png">
|
||||
|
||||
<!-- Android / PWA -->
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512x512.png">
|
||||
|
||||
<!-- iOS App Mode -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="SDS">
|
||||
@@ -6,6 +6,7 @@
|
||||
<title>Login - Stundenerfassung</title>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<%- include('header') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="login-container">
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<title>Überstunden-Auswertung - Stundenerfassung</title>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<%- include('header') %>
|
||||
<style>
|
||||
.overtime-breakdown-container {
|
||||
max-width: 1200px;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<title>Verwaltung - Stundenerfassung</title>
|
||||
<link rel="icon" type="image/png" href="/images/favicon.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<%- include('header') %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar">
|
||||
|
||||
Reference in New Issue
Block a user