minor ui fixes

This commit is contained in:
Kaibu 2021-06-22 01:03:26 +02:00
parent 91c0dbd8d2
commit cc43b2a9b0
4 changed files with 14 additions and 6 deletions

View File

@ -18,7 +18,7 @@
<form method="POST" action="{% url 'account_change_password' %}" class="password_change"> <form method="POST" action="{% url 'account_change_password' %}" class="password_change">
{% csrf_token %} {% csrf_token %}
{{ form | crispy }} {{ form | crispy }}
<button type="submit" name="action">{% trans "Change Password" %}</button> <button type="submit" name="action" class="btn btn-success">{% trans "Change Password" %}</button>
<a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -67,7 +67,7 @@
<img src="{% if recipe.image %}{{ recipe.image.url }}{% endif %}" id="id_image" <img src="{% if recipe.image %}{{ recipe.image.url }}{% endif %}" id="id_image"
class="img img-fluid img-responsive" class="img img-fluid img-responsive"
style="max-height: 20vh"> style="max-height: 20vh">
<input type="file" @change="imageChanged"> <input class="mt-2" type="file" @change="imageChanged">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="id_name"> {% trans 'Preparation Time' %}</label> <label for="id_name"> {% trans 'Preparation Time' %}</label>

View File

@ -12,9 +12,11 @@
{% block content %} {% block content %}
<h3> <nav aria-label="breadcrumb">
{% trans 'Settings' %} <ol class="breadcrumb">
</h3> <li class="breadcrumb-item"><a href="{% url 'view_settings' %}">{% trans 'Settings' %}</a></li>
</ol>
</nav>
<!-- Nav tabs --> <!-- Nav tabs -->
<ul class="nav nav-tabs" id="myTab" role="tablist" style="margin-bottom: 2vh"> <ul class="nav nav-tabs" id="myTab" role="tablist" style="margin-bottom: 2vh">

View File

@ -14,7 +14,13 @@
{% block content %} {% block content %}
<h3>{{ request.space.name }} <small>{% if HOSTED %} <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'view_space' %}">{% trans 'Space Settings' %}</a></li>
</ol>
</nav>
<h3><span class="text-muted">{% trans 'Space:' %}</span> {{ request.space.name }} <small>{% if HOSTED %}
<a href="https://tandoor.dev/manage">{% trans 'Manage Subscription' %}</a>{% endif %}</small></h3> <a href="https://tandoor.dev/manage">{% trans 'Manage Subscription' %}</a>{% endif %}</small></h3>
<br/> <br/>