doctype html
html
head
title CCashBank
link(rel="preconnect" href="https://fonts.gstatic.com")
link(href="https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&display=swap" rel="stylesheet")
if random
link(rel='stylesheet' href='/css/papy.css')
if !random
link(rel='stylesheet' href='/css/style.css')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
body
nav.navbar.navbar-expand-lg.navbar-dark.navbarrr.shadow-lg
.container
.logo
.row
.col
a.navbar-brand(href='/')
img(src="/CCashLogo3.png" style="width:75px; height:74px")
.col
div.nav-item(style="padding:5px;")
if alive
p.text-white Server is Online
if !alive
p(style="color: red;") Server is offline
button.navbar-toggler(type='button', data-bs-toggle='collapse', data-bs-target='#navbars', aria-controls='navbars', aria-expanded='false', aria-label='Toggle navigation')
span.navbar-toggler-icon
#navbars.collapse.navbar-collapse
.d-flex
ul.navbar-nav.text-white
if user == undefined
li.nav-item
a.nav-link(href='/login').text-white Login
li.nav-item
a.nav-link(href='/register').text-white Register
if user
li.nav-item
a.nav-link(href='/logout').text-white Log out
li.nav-item
a.nav-link(href='/BankF').text-white Bank
li.nav-item
a.nav-link(href='/settings').text-white Settings
if admin == 204
li.nav-item
a.nav-link(href='/admin').text-white Admin
.container
.container(style="min-height: 3vh")
if errors
div(class="alert alert-danger") #{errors}
if successes
div(class="alert alert-success") #{successes}
br
br
block content
br
hr
script(src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
crossorigin="anonymous")
script(src='/js/main.js')