xmpp.chapril.org-conversejs/src/templates/login_panel.html

26 lines
1.2 KiB
HTML
Raw Normal View History

<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) { ]}
<legend>{{{__("Login")}}}</legend>
{[ if (authentication == LOGIN || authentication == EXTERNAL) { ]}
<label>{{{__("Jabber ID:")}}}</label>
<p class="form-help fade-in invalid-jid-msg error hidden">{{{_('Please enter a valid XMPP address')}}}</p>
2017-09-22 14:08:48 +02:00
<input autofocus type="text" name="jid" placeholder="{{{placeholder_username}}}">
{[ if (authentication !== EXTERNAL) { ]}
<label>{{{__("Password:")}}}</label>
<input type="password" name="password" placeholder="{{{__('password')}}}">
{[ } ]}
<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
{[ } ]}
</form>