Old high school files. Lessson notes/codes/projects etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hsf/wesweb01/evil_infosite/views/layout.slim

39 lines
999 B

3 years ago
doctype html
html
head
title E Corp
3 years ago
meta charset="UTF-8"
meta name="viewport" content="width=device-width, initial-scale=1.0"
// meta name="keywords" content="template language"
// meta name="author" content="author"
link rel="icon" type="image/png" href="favicon.png"
link rel="stylesheet" type="text/css" href="css/style.css"
3 years ago
body
h1 E Corp
3 years ago
h2 A person registry. No we don't care about GDPR.
- if(session[:username] != nil) then
.user
img.avatar2 src="#{session[:avatar]}" alt="profile"
label.logininfo
|Logged in as
a href="/profile" = session[:username]
- if(session[:msg] != "" && session[:msg] != nil) then
p.error = session[:msg]
nav
ul
li
a.button href="/" Home
li
a.button href="/calc" Calculator
li
a.button href="/loginpage" Login
li
a.button href="/registerpage" Register
hr
3 years ago
== yield
3 years ago