mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 22:58:19 -05:00
added ingredient list page
This commit is contained in:
@@ -15,6 +15,17 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
{% if filter %}
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<form action="." method="get">
|
||||||
|
{% csrf_token %}
|
||||||
|
{{ filter.form|crispy }}
|
||||||
|
<button type="submit" class="btn btn-success">{% trans 'Filter' %}</button>
|
||||||
|
</form>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if import_btn %}
|
{% if import_btn %}
|
||||||
<a href="{% url 'data_batch_import' %}" class="btn btn-warning">{% trans 'Import all' %}</a>
|
<a href="{% url 'data_batch_import' %}" class="btn btn-warning">{% trans 'Import all' %}</a>
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
@@ -8,6 +8,12 @@
|
|||||||
|
|
||||||
{% block extra_head %}
|
{% block extra_head %}
|
||||||
{{ filter.form.media }}
|
{{ filter.form.media }}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.dropdown-toggle-no-arrow::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@@ -24,8 +30,9 @@
|
|||||||
|
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button class="btn btn-primary" type="submit"><i class="fas fa-search"></i></button>
|
<button class="btn btn-primary" type="submit"><i class="fas fa-search"></i></button>
|
||||||
<button type="button" class="btn btn-light dropdown-toggle dropdown-toggle-split"
|
<button type="button" class="btn btn-light dropdown-toggle dropdown-toggle-split dropdown-toggle-no-arrow"
|
||||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
<i class="fas fa-ellipsis-v"></i>
|
||||||
<span class="sr-only">Toggle Dropdown</span>
|
<span class="sr-only">Toggle Dropdown</span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
|
|||||||
Reference in New Issue
Block a user