3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00
dbot/views/layout.jade
2014-10-21 21:25:50 +00:00

30 lines
1.1 KiB
Plaintext

doctype html
html(lang='en')
head
meta(charset='utf-8')
script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js")
script(type="text/javascript", src="/fs_edit.js")
link(rel="stylesheet", type="text/css", href="http://fonts.googleapis.com/css?family=Source+Sans+Pro")
link(rel="stylesheet", type="text/css", href="/bootstrap/css/bootstrap.min.css")
link(rel='stylesheet', type='text/css', href='/styles.css')
link(rel='shortcut icon', type='image/png', href='/favicon.ico')
title #{name} web interface
body
div.container
div#page
div#title
a(href='/') #{name} web interface
div.container#main
block content
div#footer
p#project
a#bread(href='/project') About
if user
span#bread Logged in as #{user.primaryNick}
else
a#bread(href='/login') Login
script(type="text/javascript", src="/bootstrap/js/bootstrap.min.js")
script(type="text/javascript", src="/d3/d3.v3.min.js")
script(type="text/javascript", src="/script.js")