doctype html
html(lang="en")
head
meta(charset="UTF-8")
title qomet - #{title}
meta(name="viewport", content="width=device-width, initial-scale=1")
link(rel="stylesheet", href="//fonts.googleapis.com/icon?family=Material+Icons")
link(rel="stylesheet", href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css")
link(rel="stylesheet" href="/stylesheets/layout.css")
// favicon:
link(rel="apple-touch-icon", sizes="180x180", href="/favicon/apple-touch-icon.png")
link(rel="icon", type="image/png", sizes="32x32", href="/favicon/favicon-32x32.png")
link(rel="icon", type="image/png", sizes="16x16", href="/favicon/favicon-16x16.png")
link(rel="manifest", href="/favicon/manifest.json")
link(rel="mask-icon", href="/favicon/safari-pinned-tab.svg", color="#5bbad5")
link(rel="shortcut icon", href="/favicon/favicon.ico")
meta(name="msapplication-config", content="/favicon/browserconfig.xml")
meta(name="theme-color", content="#ffffff")
// -- end favicon
block stylesheets
body
header
// Top-left menu
button#leftButton.dropdown-button.btn.btn-floating.btn-large.waves-effect.waves-light.grey(data-activates="leftMenu" data-constrainwidth="false")
i.material-icons menu
ul#leftMenu.userMenu.dropdown-content
li
a(href="/")
i.material-icons home
span Home
if loggedIn
li
a(href="/" + myInitials)
i.material-icons question_answer
span Courses
li.divider
if loggedIn
li
a(href="/logout")
i.material-icons power_settings_new
span Logout
else
li
a(href="/login")
i.material-icons account_box
span Login
block rightMenu
main
block content
script(src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js")
script(src="//code.jquery.com/jquery-3.2.1.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/vue/2.5.2/vue.js")
script(src="/javascripts/utils/socketMessages.js")
block javascripts