32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
<div class="conn-feedback">
|
|
<p class="feedback-subject hidden {{{ conn_feedback_class }}}">{{{ conn_feedback_subject }}}</p>
|
|
<p class="feedback-message hidden {{{ conn_feedback_class }}}">{{{ conn_feedback_message }}}</p>
|
|
</div>
|
|
|
|
<form class="pure-form pure-form-stacked converse-form" id="converse-login" method="post">
|
|
{[ if (auto_login) { ]}
|
|
<span class="spinner login-submit"/>
|
|
{[ } ]}
|
|
{[ if (!auto_login) { ]}
|
|
{[ if (authentication == LOGIN || authentication == EXTERNAL) { ]}
|
|
<label>{{{label_username}}}</label>
|
|
<input type="text" name="jid" placeholder="{{{placeholder_username}}}">
|
|
{[ if (authentication !== EXTERNAL) { ]}
|
|
<label>{{{label_password}}}</label>
|
|
<input type="password" name="password" placeholder="{{{placeholder_password}}}">
|
|
{[ } ]}
|
|
<input class="pure-button button-primary" type="submit" value="{{{label_login}}}">
|
|
{[ } ]}
|
|
{[ if (authentication == ANONYMOUS) { ]}
|
|
<input class="pure-button button-primary login-anon" type="submit" value="{{{label_anon_login}}}"/>
|
|
{[ } ]}
|
|
{[ if (authentication == PREBIND) { ]}
|
|
<p>Disconnected.</p>
|
|
{[ } ]}
|
|
{[ } ]}
|
|
</form>
|
|
|
|
<form class="pure-form pure-form-stacked converse-form" id="converse-register" method="post">
|
|
<p>{{{ __("Don't have a chat account?") }}} <a class="register-account" href="#register">{{{__("Register an account here")}}}</a></p>
|
|
</form>
|