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) { ]}
|
2015-04-02 13:07:59 +02:00
|
|
|
{[ if (authentication == LOGIN) { ]}
|
2015-03-22 13:20:24 +01:00
|
|
|
<label>{{label_username}}</label>
|
2015-10-28 21:31:24 +01:00
|
|
|
<input type="text" name="jid" placeholder="{{placeholder_username}}">
|
2015-03-22 13:20:24 +01:00
|
|
|
<label>{{label_password}}</label>
|
2015-05-08 19:08:09 +02:00
|
|
|
<input type="password" name="password" placeholder="{{placeholder_password}}">
|
2015-10-29 08:12:13 +01:00
|
|
|
<input class="pure-button" type="submit" value="{{label_login}}">
|
2015-03-22 13:20:24 +01:00
|
|
|
<span class="conn-feedback"></span>
|
|
|
|
{[ } ]}
|
|
|
|
{[ if (authentication == ANONYMOUS) { ]}
|
2015-10-29 10:21:31 +01:00
|
|
|
<input type="pure-button button-success" class="submit login-anon" 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>
|