mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-04 16:45:08 -05:00
30 lines
994 B
Plaintext
30 lines
994 B
Plaintext
extends layout
|
|
|
|
block content
|
|
section#loginbox.content.box
|
|
.head
|
|
h2
|
|
| Log in
|
|
|
|
.content
|
|
|
|
form
|
|
.fieldContainer
|
|
label(for='username') Username
|
|
input(type='text', id='jid', name='jid', placeholder='you', tabindex='1', autofocus)
|
|
.fieldContainer
|
|
label(for='password') Password
|
|
input(type='password', id='password', name='password', placeholder='•••••••••••••', tabindex='2')
|
|
.fieldContainer.fieldContainerWSS
|
|
label(for='wsURL') WebSocket or BOSH URL
|
|
input(type='text', id='connURL', name='connURL', placeholder='wss://aweso.me:5281/xmpp-websocket', tabindex='3')
|
|
|
|
button(type='submit', tabindex='3', class="primary") Go!
|
|
|
|
block scripts
|
|
script(src="/config.js")
|
|
script(src="/js/login.js")
|
|
script.
|
|
if ("#{config.wss}".length == 0)
|
|
$('.fieldContainerWSS').show();
|