2013-09-05 19:53:23 -04:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block content
|
2013-09-18 13:45:40 -04:00
|
|
|
section#loginbox.content.box
|
|
|
|
.head
|
|
|
|
h2
|
|
|
|
| Log in
|
|
|
|
a.button(href="/oauth/login") Have an &yet account?
|
2013-09-05 19:53:23 -04:00
|
|
|
|
2013-09-18 13:45:40 -04:00
|
|
|
.content
|
2013-09-18 13:40:00 -04:00
|
|
|
|
2013-09-18 13:45:40 -04:00
|
|
|
form
|
|
|
|
.fieldContainer
|
|
|
|
label(for='username') JID
|
|
|
|
input(type='text', id='jid', name='jid', placeholder='you@aweso.me', tabindex='1', autofocus)
|
|
|
|
.fieldContainer
|
|
|
|
label(for='password') Password
|
|
|
|
input(type='password', id='password', name='password', placeholder='•••••••••••••', tabindex='2')
|
|
|
|
.fieldContainer
|
|
|
|
label(for='wsURL') WebSocket URL
|
|
|
|
input(type='text', id='wsURL', name='wsURL', placeholder='wss://aweso.me:5281/xmpp-websocket', tabindex='3')
|
|
|
|
|
|
|
|
button(type='submit', tabindex='3') Go!
|
2013-09-05 19:53:23 -04:00
|
|
|
|
|
|
|
block scripts
|
2013-09-16 05:19:07 -04:00
|
|
|
script(src="/js/login.js")
|