t00-multiuser/server/views/base/header.ejs

52 lines
2.7 KiB
Text
Raw Normal View History

2024-04-22 16:05:42 +01:00
<!DOCTYPE html>
2024-04-22 17:02:31 +01:00
<html lang="en" data-bs-theme="dark">
2024-04-22 16:05:42 +01:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= title %> - MultiProbe</title>
2024-04-22 16:05:42 +01:00
2024-09-28 01:31:46 +01:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jetbrains-mono@1.0.6/css/jetbrains-mono.min.css">
2024-04-22 16:05:42 +01:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
2024-09-28 01:31:46 +01:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent/3.1.1/cookieconsent.min.css" integrity="sha512-LQ97camar/lOliT/MqjcQs5kWgy6Qz/cCRzzRzUCfv0fotsCTC9ZHXaPQmJV8Xu/PVALfJZ7BDezl5lW3/qBxg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
2024-04-22 16:05:42 +01:00
2024-09-28 01:31:46 +01:00
<style>
:root {
--bs-font-sans-serif: 'JetBrains Mono', monospace;
--bs-font-monospace: 'JetBrains Mono', monospace;
}
</style>
2024-04-22 16:05:42 +01:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
2024-10-08 11:04:46 +01:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
2024-04-22 16:05:42 +01:00
</head>
<body>
2024-09-28 14:31:02 +01:00
<nav class="navbar navbar-expand bg-body-tertiary">
2024-04-22 16:05:42 +01:00
<div class="container-fluid">
<a class="navbar-brand" href="/">
2024-09-26 00:47:08 +01:00
MultiProbe<%= typeof(isAdmin) === "undefined" ? "" : " Admin" %>
</a>
2024-04-22 16:05:42 +01:00
<div class="collapse navbar-collapse" id="navbarSupportedContent">
2024-09-28 14:31:02 +01:00
<ul class="navbar-nav me-auto">
<div class="nav-item">
<a class="nav-link" href="https://git.eusv.net/tgpholly/t00-multiuser" target="_blank">Source Code</a>
</div>
2024-04-22 16:05:42 +01:00
</ul>
<ul class="navbar-nav">
<% if (typeof(userId) !== "undefined") { %>
<div class="nav-item float-end">
<a class="nav-link" href="/account/logout">Logout</a>
</div>
<% } else { %>
<div class="nav-item float-end">
<a class="nav-link" href="/account/login">Login</a>
</div>
<div class="nav-item float-end">
<a class="nav-link" href="/account/register">Register</a>
</div>
<% } %>
</ul>
2024-04-22 16:05:42 +01:00
</div>
</div>
</nav>
2024-04-22 17:02:31 +01:00
<div class="container pt-5">