Added more info on the login modal

This commit is contained in:
Jeremy Zhang 2017-04-25 00:07:32 -07:00
parent a0e8ac1e9d
commit 64089a536f

View File

@ -77,12 +77,13 @@
<div class="row"> <div class="row">
<div class="col s12 m4"> <div class="col s12 m4">
<a id="discordlogin_btn" href="{{ url_for("embed.login_discord", _external=True) }}" class="waves-effect waves-light btn-large" target="_blank">Discord Login</a> <a id="discordlogin_btn" href="{{ url_for("embed.login_discord", _external=True) }}" class="waves-effect waves-light btn-large" target="_blank">Discord Login</a>
<p>*You will be invited into this server.</p>
</div> </div>
{% if unauth_enabled %} {% if unauth_enabled %}
<div class="col s12 m8"> <div class="col s12 m8">
<p>Of course, you also have the option to login by picking a temporary username.</p> <p>Of course, you also have the option to login by picking a temporary username for your current browsing session.</p>
<input id="custom_username_field" type="text" {% if session.unauthenticated and session.username %}value="{{ session['username'] }}"{% endif %}> <input id="custom_username_field" type="text" {% if session.unauthenticated and session.username %}value="{{ session['username'] }}"{% endif %}>
<label class="active" for="custom_username_field">Username</label> <label class="active" for="custom_username_field">Username (Hit ENTER/RETURN key to confirm)</label>
</div> </div>
{% endif %} {% endif %}
</div> </div>