3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-29 06:02:39 +01:00
dbot/views/layout.jade
2014-05-25 17:54:46 +00:00

29 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")
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")