This repository has been archived on 2021-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
statusboard/Resources/Views/base.leaf

43 lines
1.9 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<title>#if(pageTitle ?? false): #(pageTitle) - #(config.title) #else: #(config.title) #endif</title>
<link rel="stylesheet" type="text/css" href="/tabler/css/tabler.css">
<link rel="stylesheet" type="text/css" href="/tabler/css/dashboard.css">
<script src="/tabler/js/core.js"></script>
<script src="/tabler/js/dashboard.js"></script>
</head>
<body>
<div class="page">
<div class="flex-fill">
<div class="header py-4">
<div class="container">
<div class="d-flex">
<a class="header-brand" href="/">#(config.title)</a>
#if(config.showSourceBtn):
<div class="d-flex order-lg-2 ml-auto">
<div class="nav-item d-none d-md-flex">
<a href="https://gitea.arsenm.dev/Arsen6331/statusboard" class="btn btn-sm btn-outline-primary" target="_blank">Source code</a>
</div>
</div>
#endif
</div>
</div>
</div>
<div class="header d-lg-flex p-0">
<div class="container">
<div class="row align-items-center">
<div class="col-lg order-lg-first">
<ul class="nav nav-tabs border-0 flex-column flex-lg-row">
<li class="nav-item">
<a href="/" class="nav-link #(homeStatus ?? false)"><i class="fe fe-home"></i> Home</a>
</li>
</ul>
</div>
</div>
</div>
</div>
#evaluate(body)
</div>
</div>
</html>