parent
c5462e9790
commit
f07489750c
65 changed files with 3727 additions and 2607 deletions
38
views/layout.ejs
Normal file
38
views/layout.ejs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>HeyStreamer</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
|
||||
<style>
|
||||
nav.container-fluid { padding-block: 0.5rem; }
|
||||
.nav-brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: inherit; }
|
||||
nav ul li a { font-size: 0.9rem; }
|
||||
.badge { display: inline-block; padding: 0.15em 0.5em; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
|
||||
.badge-green { background: #1a7a1a; color: #a8f0a8; }
|
||||
.badge-red { background: #7a1a1a; color: #f0a8a8; }
|
||||
.badge-grey { background: #333; color: #aaa; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="container-fluid">
|
||||
<ul>
|
||||
<li><a class="nav-brand" href="/">HeyStreamer</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="/">Dashboard</a></li>
|
||||
<li><a href="/actions">Actions</a></li>
|
||||
<li><a href="/media">Media</a></li>
|
||||
<li><a href="/layout">Layout</a></li>
|
||||
<li><a href="/settings">Settings</a></li>
|
||||
<% if (locals.user) { %>
|
||||
<li><a href="/auth/logout">Logout (<%= user.login %>)</a></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</nav>
|
||||
<main class="container">
|
||||
<%- body %>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue