3d-interface/views/main.jade

91 lines
4.2 KiB
Plaintext
Raw Normal View History

mixin button_link(href)
form.navbar-form.navbar-left(role="search", action="#{href}", method='GET')
button.btn.btn-default(type="submit")
block
2015-05-05 16:30:51 +02:00
doctype html
html(lang='fr')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel="stylesheet", href="/static/bootstrap/css/bootstrap.css")
link(rel="stylesheet", href="/static/css/style.css")
link(rel="stylesheet", href="/static/css/syntax.css")
block extrahead
2015-06-10 10:06:14 +02:00
link(rel="stylesheet", href="http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic")
2015-05-05 16:30:51 +02:00
block title
title Hello
body
nav#nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
.container
2015-05-11 17:37:21 +02:00
#navbar.navbar-header
2015-05-05 16:30:51 +02:00
button.navbar-toggle(type="button", data-toggle="collapse" data-target=".navbar-collapse")
2015-05-06 16:32:00 +02:00
span.sr-only Toggle navigation
2015-05-05 16:30:51 +02:00
span.icon-bar
span.icon-bar
2015-05-06 16:32:00 +02:00
a.navbar-brand(href="#{urls.index}") 3DUI
2015-05-05 16:30:51 +02:00
div.navbar-collapse.collapse
ul.nav.navbar-nav
li
a(href="#{urls.bouncing}") Bouncing cube
li
a(href="#{urls.multisphere}") Multisphere
li
a.dropdown-toggle(href="#", data-toggle="dropdown", role="button", aria-expanded="false") Prototype
span.caret
ul.dropdown-menu(role="menu")
li
a(href="#{urls.arrows}") Arrows
li
a(href="#{urls.reverse}") Reverse arrows
2015-05-05 16:30:51 +02:00
li
a(href="#{urls.viewports}") Viewports
2015-05-20 11:17:14 +02:00
li.divider
li
a(href="#{urls.replay_index}") Replays
2015-05-26 11:49:24 +02:00
li.divider
li
a(href="#{urls.tutorial}") Tutorial
2015-05-05 16:30:51 +02:00
li
2015-06-10 11:53:00 +02:00
a(href="#{urls.stream}") Sphere streaming
li.divider
if (session && session.user_id)
li
+button_link(urls.logout)
span.glyphicon.glyphicon-log-out(aria-hidden=true, style={"margin-right":"10px"})
span Log out
2015-05-05 16:30:51 +02:00
2015-06-03 15:34:20 +02:00
ul.nav.navbar-nav.navbar-right
li
+button_link('https://github.com/tforgione/3dinterface')
img(src="/static/GitHub-Mark/PNG/GitHub-Mark-32px.png", width="17px", style={align:vertical})
span(style={'margin-left':'5px', align:vertical}) Github Repo
li
+button_link('https://github.com/tforgione/3dinterface/wiki')
span.glyphicon.glyphicon-book(aria-hidden=true)
span(style={'margin-left':'5px'}) Github wiki
2015-06-03 15:34:20 +02:00
li
+button_link('mailto:thomas.forgione@gmail.com')
span.glyphicon.glyphicon-envelope(aria-hidden=true)
span(style={'margin-left':'5px'}) Contact
2015-05-11 19:20:11 +02:00
2015-05-05 16:30:51 +02:00
section#main-section.container
if alertCookie
.alert.alert-warning.alert-dismissible(role="alert", style={'margin-top':'20px'})
button.close(type="button", data-dismiss="alert", aria-label="Close")
2015-05-19 11:03:53 +02:00
span(aria-hidden="true") ×
<strong>Warning</strong> : this website use cookies !
2015-05-05 16:30:51 +02:00
block content
script(src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js")
script(src="/static/bootstrap/js/bootstrap.min.js")
block js
block extrajs