This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 739 Bytes
!!!
html
head
meta(http-equiv='X-UA-Compatible', content='IE=Edge')
title= title
link(rel='stylesheet', href='/css/style.css')
body
nav
if user
a#logout(href='javascript:navigator.id.logout()') Logout
else
form(id="login-form", action="/auth", method="POST")
input(id="assertion-field", type="hidden", name="assertion", value="")
input(type="hidden", name="_csrf", value=csrf)
a#browserid(href='javascript:navigator.id.request()') Sign in
block content
if user
script.
var loggedInUser = '#{user}';
else
script.
var loggedInUser = null;
script(src='https://login.persona.org/include.js')
script(src='/js/main.js')