22 lines
846 B
HTML
22 lines
846 B
HTML
<form id="converse-login" method="post">
|
|
{[ if (auto_login) { ]}
|
|
<span class="spinner login-submit"/>
|
|
{[ } ]}
|
|
{[ if (!auto_login) { ]}
|
|
{[ if (authentication == MANUAL) { ]}
|
|
<label>{{label_username}}</label>
|
|
<input type="email" name="jid" placeholder="user@server">
|
|
<label>{{label_password}}</label>
|
|
<input type="password" name="password" placeholder="password">
|
|
<input class="submit" type="submit" value="{{label_login}}">
|
|
<span class="conn-feedback"></span>
|
|
{[ } ]}
|
|
{[ if (authentication == ANONYMOUS) { ]}
|
|
<input type="submit" class="submit login-anon" value="{{label_anon_login}}"/>
|
|
{[ } ]}
|
|
{[ if (authentication == PREBIND) { ]}
|
|
<p>Disconnected.</p>
|
|
{[ } ]}
|
|
{[ } ]}
|
|
</form>
|