33 lines
1.5 KiB
Text
33 lines
1.5 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>
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
</head>
|
|
<body>
|
|
<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">
|