prettify some pages

This commit is contained in:
Son NK 2020-04-28 20:25:40 +02:00
parent 0bb311464c
commit b750c6e011
3 changed files with 82 additions and 81 deletions

View file

@ -8,7 +8,7 @@
{% block default_content %} {% block default_content %}
<div class="bg-white p-6" style="max-width: 60em; margin: auto"> <div class="bg-white p-6 mt-5" style="max-width: 55em; margin: auto">
<h1 class="h3 mb-5">New Email Alias</h1> <h1 class="h3 mb-5">New Email Alias</h1>
{% if user_custom_domains|length == 0 and not DISABLE_ALIAS_SUFFIX %} {% if user_custom_domains|length == 0 and not DISABLE_ALIAS_SUFFIX %}

View file

@ -8,7 +8,8 @@
{% block default_content %} {% block default_content %}
<div class="col-md-8 offset-md-2 pb-3"> <div class="row">
<div class="col">
<h1 class="h3">{{ mailbox.email }} <h1 class="h3">{{ mailbox.email }}
{% if mailbox.verified %} {% if mailbox.verified %}
<span class="cursor" data-toggle="tooltip" data-original-title="Mailbox Verified"></span> <span class="cursor" data-toggle="tooltip" data-original-title="Mailbox Verified"></span>
@ -104,7 +105,7 @@
</form> </form>
</div> </div>
</div>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -46,7 +46,7 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
<button class="btn btn-primary">Change Email</button> <button class="btn btn-outline-primary">Change Email</button>
</div> </div>
</form> </form>
</div> </div>
@ -79,7 +79,7 @@
<img src="{{ current_user.profile_picture_url() }}" class="profile-picture"> <img src="{{ current_user.profile_picture_url() }}" class="profile-picture">
{% endif %} {% endif %}
</div> </div>
<button class="btn btn-primary">Update</button> <button class="btn btn-outline-primary">Update</button>
</div> </div>
</form> </form>
</div> </div>