Rearranged statistics page
This commit is contained in:
parent
95d37dbc3d
commit
9f965b8119
3 changed files with 8 additions and 86 deletions
|
@ -20,37 +20,9 @@
|
|||
|
||||
<div class="mainContainer">
|
||||
|
||||
<div class="dropDownMenu" id="statisticsDropDownMenu">
|
||||
<button class="dropDownButton" id="statisticsDropDownMenuButton">
|
||||
<div>
|
||||
{% translate "Choose" %}
|
||||
</div>
|
||||
</button>
|
||||
<div class="dropDownList">
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="noyopd">
|
||||
{% translate "Your orders per drink" %}
|
||||
</button>
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="yopwd">
|
||||
{% translate "Your orders per weekday" %}
|
||||
</button>
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="yopml12m">
|
||||
{% translate "Your orders per month (last 12 months)" %}
|
||||
</button>
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="noaopd">
|
||||
{% translate "All orders per drink" %}
|
||||
</button>
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="aopwd">
|
||||
{% translate "All orders per weekday" %}
|
||||
</button>
|
||||
<button class="sChoice dropDownChoice" data-statistics_div="aopml12m">
|
||||
{% translate "All orders per month (last 12 months)" %}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tablesContainer">
|
||||
|
||||
<div id="noyopd" class="statisticsTable nodisplay">
|
||||
<div id="noyopd" class="statisticsTable">
|
||||
<h1>{% translate "Your orders per drink" %}</h1>
|
||||
{% if noyopd %}
|
||||
<table>
|
||||
|
@ -70,7 +42,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="noaopd" class="statisticsTable nodisplay">
|
||||
<div id="noaopd" class="statisticsTable">
|
||||
<h1>{% translate "All orders per drink" %}</h1>
|
||||
{% if noaopd %}
|
||||
<table>
|
||||
|
@ -90,7 +62,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="yopml12m" class="statisticsTable nodisplay">
|
||||
<div id="yopml12m" class="statisticsTable">
|
||||
<h1>{% translate "Your orders per month (last 12 months)" %}</h1>
|
||||
{% if yopml12m %}
|
||||
<table>
|
||||
|
@ -110,7 +82,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="aopml12m" class="statisticsTable nodisplay">
|
||||
<div id="aopml12m" class="statisticsTable">
|
||||
<h1>{% translate "All orders per month (last 12 months)" %}</h1>
|
||||
{% if aopml12m %}
|
||||
<table>
|
||||
|
@ -130,7 +102,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="yopwd" class="statisticsTable nodisplay">
|
||||
<div id="yopwd" class="statisticsTable">
|
||||
<h1>{% translate "Your orders per weekday" %}</h1>
|
||||
{% if yopwd %}
|
||||
<table>
|
||||
|
@ -150,7 +122,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="aopwd" class="statisticsTable nodisplay">
|
||||
<div id="aopwd" class="statisticsTable">
|
||||
<h1>{% translate "All orders per weekday" %}</h1>
|
||||
{% if aopwd %}
|
||||
<table>
|
||||
|
@ -174,6 +146,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/statistics.js"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue