init
This commit is contained in:
commit
5577214005
22 changed files with 4997 additions and 0 deletions
9
views/partials/footer.ejs
Normal file
9
views/partials/footer.ejs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
</main>
|
||||
<footer class="app-footer">
|
||||
<div class="footer-container">
|
||||
<span class="footer-text">BeKultur</span>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
25
views/partials/header.ejs
Normal file
25
views/partials/header.ejs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<!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">
|
||||
<a href="/" class="brand-link">
|
||||
<span class="brand-name">BeKultur</span>
|
||||
</a>
|
||||
</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">
|
||||
Loading…
Add table
Add a link
Reference in a new issue