47 lines
2.1 KiB
Text
47 lines
2.1 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><%= typeof title !== 'undefined' ? title : 'BeKultur' %></title>
|
|
|
|
<!-- PWA & Mobile Web App Meta Tags -->
|
|
<link rel="manifest" href="/manifest.json">
|
|
<meta name="theme-color" content="#2563eb">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
<meta name="apple-mobile-web-app-title" content="BeKultur">
|
|
<link rel="apple-touch-icon" href="/icons/icon-192.png">
|
|
<link rel="icon" type="image/svg+xml" href="/icons/icon.svg">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png">
|
|
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
</head>
|
|
<body>
|
|
<!-- Offline Indicator Banner -->
|
|
<div id="offlineBanner" class="offline-banner hidden"></div>
|
|
|
|
<header class="app-header">
|
|
<div class="header-container">
|
|
<div class="brand-group">
|
|
<a href="/" class="brand-link">
|
|
<span class="brand-name">BeKultur</span>
|
|
</a>
|
|
<% if (typeof studentId !== 'undefined' && studentId) { %>
|
|
<nav class="main-nav">
|
|
<a href="/dashboard" class="nav-item <%= typeof title !== 'undefined' && title.includes('Dashboard') ? 'active' : '' %>">Homework</a>
|
|
<a href="/syllabus" class="nav-item <%= typeof title !== 'undefined' && title.includes('Syllabus') ? 'active' : '' %>">Syllabus</a>
|
|
<a href="/private-lessons" class="nav-item <%= typeof title !== 'undefined' && title.includes('Private Lessons') ? 'active' : '' %>">Private Lessons</a>
|
|
<a href="/exams" class="nav-item <%= typeof title !== 'undefined' && title.includes('Exam') ? 'active' : '' %>">Exams</a>
|
|
</nav>
|
|
<% } %>
|
|
</div>
|
|
<% if (typeof studentId !== 'undefined' && studentId) { %>
|
|
<div class="user-nav">
|
|
<span class="user-id">Student: <%= studentId %></span>
|
|
<a href="/logout" class="btn btn-outline btn-sm">Log out</a>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
</header>
|
|
<main class="main-content">
|