mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Modify the css for login modal to look good on smaller frame sizes
This commit is contained in:
@ -94,7 +94,7 @@
|
||||
<div class="modal-content">
|
||||
<h4>{{ login_greeting }}</h4>
|
||||
<div id="loginmodal-maincontent" class="row valign-wrap">
|
||||
<div id="modal_guildinfobox" class="col m3 s12 center-align">
|
||||
<div id="modal_guildinfobox" class="col s3 center-align">
|
||||
{% if guild['icon'] %}
|
||||
<img id="modal_guildiconcircle" class="circle" src="{{ generate_guild_icon( guild['id'], guild['icon'] ) }}">
|
||||
{% endif %}
|
||||
@ -105,21 +105,21 @@
|
||||
<a id="modal_invite_btn" class="waves-effect waves-light btn" target="_blank">discord.gg</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col m9 s12">
|
||||
<p class="flow-text">{{ _("Please choose one of the following methods to authenticate!") }}</p>
|
||||
<div id="authfields" class="col s9">
|
||||
<p id="authfield-choosetxt" class="flow-text">{{ _("Please choose one of the following methods to authenticate!") }}</p>
|
||||
<div class="progress" id="loginProgress" style="display: none;">
|
||||
<div class="indeterminate"></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col s12 l4">
|
||||
<div id="discordlogin_box" class="col s6 l4">
|
||||
<a id="discordlogin_btn" href="{% if not same_target %}{{ url_for("embed.login_discord", _external=True) }}{% else %}{{ url_for("user.login_authenticated", redirect=request.url+"&create_authenticated_user=true", _external=True) }}{% endif %}" class="waves-effect waves-light btn-large" {% if not same_target %}target="_blank"{% endif %}>{{ _("Discord Login") }}</a>
|
||||
<p>*{{ _("You will be invited into this server.") }}</p>
|
||||
<p id="discordlogin_btn_warn">*{{ _("You will be invited into this server.") }}</p>
|
||||
</div>
|
||||
{% if unauth_enabled %}
|
||||
<div class="col s12 l8">
|
||||
<p>{{ _("Of course, you also have the option to login by picking a temporary username for your current browsing session.") }}</p>
|
||||
<div id="guestlogin_box" class="col s6 l8">
|
||||
<p id="guest_login_instr">{{ _("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 %}>
|
||||
<label class="active" for="custom_username_field">{{ _("Username (Hit ENTER/RETURN key to confirm)") }}</label>
|
||||
<label id="custom_username_field_label" class="active" for="custom_username_field">{{ _("Username (Hit ENTER/RETURN key to confirm)") }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user