2015-10-29 08:12:13 +01:00
|
|
|
<form class="pure-form pure-form-stacked converse-form" id="converse-login" method="post">
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ if (auto_login) { ]}
|
|
|
|
<span class="spinner login-submit"/>
|
2015-03-22 12:14:45 +01:00
|
|
|
{[ } ]}
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ if (!auto_login) { ]}
|
2017-09-16 18:11:31 +02:00
|
|
|
<legend>{{{__("Login")}}}</legend>
|
|
|
|
|
2016-09-16 13:06:52 +02:00
|
|
|
{[ if (authentication == LOGIN || authentication == EXTERNAL) { ]}
|
2017-09-22 10:45:03 +02:00
|
|
|
<label>{{{__("Jabber ID:")}}}</label>
|
2017-09-17 01:30:52 +02:00
|
|
|
<p class="form-help fade-in invalid-jid-msg error hidden">{{{_('Please enter a valid XMPP address')}}}</p>
|
2017-02-13 09:23:42 +01:00
|
|
|
<input type="text" name="jid" placeholder="{{{placeholder_username}}}">
|
2016-09-16 13:06:52 +02:00
|
|
|
{[ if (authentication !== EXTERNAL) { ]}
|
2017-09-22 10:45:03 +02:00
|
|
|
<label>{{{__("Password:")}}}</label>
|
|
|
|
<input type="password" name="password" placeholder="{{{__('password')}}}">
|
2016-09-16 13:06:52 +02:00
|
|
|
{[ } ]}
|
2017-09-17 01:30:52 +02:00
|
|
|
<input class="pure-button button-primary" type="submit" value="{{{__('Submit')}}}">
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ } ]}
|
|
|
|
{[ if (authentication == ANONYMOUS) { ]}
|
2017-02-13 15:26:59 +01:00
|
|
|
<input class="pure-button button-primary login-anon" type="submit" value="{{{label_anon_login}}}"/>
|
2015-03-22 13:20:24 +01:00
|
|
|
{[ } ]}
|
|
|
|
{[ if (authentication == PREBIND) { ]}
|
|
|
|
<p>Disconnected.</p>
|
|
|
|
{[ } ]}
|
2015-03-22 12:14:45 +01:00
|
|
|
{[ } ]}
|
2014-10-07 21:04:51 +02:00
|
|
|
</form>
|