2015-10-29 08:12:13 +01:00
|
|
|
<form class="pure-form pure-form-stacked converse-form" id="converse-login" method="post">
|
2017-11-05 18:47:30 +01:00
|
|
|
<legend>{{{o.__("Login")}}}</legend>
|
|
|
|
<div class="conn-feedback fade-in {[ if (!o.conn_feedback_subject) { ]} hidden {[ } ]} {{{o.conn_feedback_class}}}">
|
|
|
|
<p class="feedback-subject">{{{ o.conn_feedback_subject }}}</p>
|
|
|
|
<p class="feedback-message {[ if (!o.conn_feedback_message) { ]} hidden {[ } ]}">{{{o.conn_feedback_message}}}</p>
|
2017-09-22 18:55:02 +02:00
|
|
|
</div>
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.auto_login || o._converse.CONNECTION_STATUS[o.connection_status] === 'CONNECTING') { ]}
|
2017-09-22 18:55:02 +02:00
|
|
|
<span class="spinner centered"/>
|
|
|
|
{[ } else { ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.authentication == o.LOGIN || o.authentication == o.EXTERNAL) { ]}
|
|
|
|
<label>{{{o.__("Jabber ID:")}}}</label>
|
2017-09-25 12:50:13 +02:00
|
|
|
<input autofocus required
|
2017-09-22 18:55:02 +02:00
|
|
|
type="text"
|
|
|
|
name="jid"
|
2017-11-05 18:47:30 +01:00
|
|
|
placeholder="{{{o.placeholder_username}}}">
|
|
|
|
{[ if (o.authentication !== o.EXTERNAL) { ]}
|
|
|
|
<label>{{{o.__("Password:")}}}</label>
|
2017-09-25 12:50:13 +02:00
|
|
|
<input required
|
|
|
|
type="password" name="password"
|
2017-11-05 18:47:30 +01:00
|
|
|
placeholder="{{{o.__('password')}}}">
|
2016-09-16 13:06:52 +02:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
<input class="pure-button button-primary" type="submit" value="{{{o.__('Submit')}}}">
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.authentication == o.ANONYMOUS) { ]}
|
|
|
|
<input class="pure-button button-primary login-anon" type="submit" value="{{{o.__('Click here to log in anonymously')}}}"/>
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.authentication == o.PREBIND) { ]}
|
2015-03-22 13:20:24 +01:00
|
|
|
<p>Disconnected.</p>
|
|
|
|
{[ } ]}
|
2015-03-22 12:14:45 +01:00
|
|
|
{[ } ]}
|
2014-10-07 21:04:51 +02:00
|
|
|
</form>
|