2024-11-14 03:51:08 +00:00
|
|
|
doctype html
|
|
|
|
html(lang="en")
|
|
|
|
head
|
|
|
|
meta(charset="UTF-8")
|
|
|
|
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
2024-11-17 19:16:27 +00:00
|
|
|
meta(name="description", content="Show your mood to the world!")
|
2024-11-14 03:51:08 +00:00
|
|
|
link(rel="stylesheet", href="/css/main.css")
|
|
|
|
block head
|
|
|
|
title #{title} > mipilin
|
|
|
|
body
|
|
|
|
main
|
|
|
|
header
|
|
|
|
a(href="/")
|
2024-12-26 21:24:04 +00:00
|
|
|
img#header-logo(src="/img/logo.svg", alt="logo", title="meow")
|
2024-11-14 03:51:08 +00:00
|
|
|
nav
|
|
|
|
if session.loggedIn
|
2024-12-25 23:44:29 +00:00
|
|
|
if session.status & 0b001
|
2024-12-11 03:27:43 +00:00
|
|
|
a(href="/mod/") Admin
|
2024-11-14 03:51:08 +00:00
|
|
|
a(href="/dashboard/") Dashboard
|
2024-11-17 19:16:27 +00:00
|
|
|
a(href="/journal/") Journal
|
2024-11-14 03:51:08 +00:00
|
|
|
a(href="/logout/") Log out
|
|
|
|
else
|
|
|
|
a(href="/register/") Sign up
|
|
|
|
a(href="/login") Log in
|
|
|
|
#ticker
|
|
|
|
div
|
|
|
|
if session.loggedIn
|
|
|
|
span
|
|
|
|
a(href=`/users/${session.user}`)= session.user
|
|
|
|
|
|
|
|
|
| is feeling
|
|
|
|
|
|
|
|
|
strong #{currentMood || "nothing...??"}
|
|
|
|
else
|
|
|
|
| You should log in! It's FUN!!
|
|
|
|
span#ticker-marquee
|
|
|
|
marquee
|
|
|
|
| The beta is still a thing that is happening! If something fucks up plz let me know! <3
|
|
|
|
#page
|
|
|
|
block page
|
|
|
|
#content
|
|
|
|
if flashes
|
|
|
|
#flashes
|
|
|
|
for [type, flashGroup] of Object.entries(flashes)
|
|
|
|
for flash of flashGroup
|
2024-11-17 19:16:27 +00:00
|
|
|
div(class=`flash-${type}`)!= flash
|
2024-11-14 03:51:08 +00:00
|
|
|
block content
|
|
|
|
|