meal plan refactor progress

- added paginated loading
- tab panes
- default meal type selection
- image placeholder
- drang and drop delete area
This commit is contained in:
Kaibu
2021-09-30 02:33:40 +02:00
parent bbe20d9656
commit b61512da77
17 changed files with 365 additions and 170 deletions

View File

@@ -21,9 +21,9 @@
{% block content %}
<div id="app">
<div class="row">
<div class="row mt-2 mb-1">
<div class="col-md-4 offset-md-4">
<div class="input-group" style="margin-top: 8px; margin-bottom: 8px">
<div class="input-group">
<div class="input-group-prepend">
<button class="btn btn-outline-secondary shadow-none"
@click="changeStartDate(number_of_days * -1)">
@@ -39,6 +39,13 @@
</div>
</div>
</div>
<div class="col-md-4">
<a href="{% url 'view_plan_new' %}" class="float-right">
<button class="btn btn-outline-secondary shadow-none">
<i class="fas fa-star"></i> {% trans 'Try the new meal planner' %}
</button>
</a>
</div>
</div>
<div class="row">