diff --git a/engine/core/templates/admin/index.html b/engine/core/templates/admin/index.html index b1a1319a..48f0f5c2 100644 --- a/engine/core/templates/admin/index.html +++ b/engine/core/templates/admin/index.html @@ -60,43 +60,45 @@
{% with gross=revenue_gross_30|default:0 returns=returns_30|default:0 %} - {% with total=gross|add:returns %} - {% component "unfold/components/card.html" with class="xl:col-span-2" %} - {% component "unfold/components/title.html" %} - {% trans "Sales vs Returns (30d)" %} - {% endcomponent %} - {% if total and total > 0 %} - {% widthratio gross total 360 as gross_deg %} -
-
-
+ {% with total=gross|add:returns %} + {% component "unfold/components/card.html" with class="xl:col-span-2" %} + {% component "unfold/components/title.html" %} + {% trans "Sales vs Returns (30d)" %} + {% endcomponent %} + {% if total and total > 0 %} + {% widthratio gross total 360 as gross_deg %} +
+
+
+
+
+
+
+ + {% trans "Gross" %}: + {{ gross }} +
+
+ + {% trans "Returns" %}: + {{ returns }} +
+
-
-
-
- - {% trans "Gross" %}: - {{ gross }} -
-
- - {% trans "Returns" %}: - {{ returns }} -
-
-
- {% else %} - {% component "unfold/components/text.html" %} - {% trans "Not enough data for chart yet." %} + {% else %} + {% component "unfold/components/text.html" %} + {% trans "Not enough data for chart yet." %} + {% endcomponent %} + {% endif %} {% endcomponent %} - {% endif %} - {% endcomponent %} - {% endwith %} + {% endwith %} {% endwith %} {% component "unfold/components/card.html" %} @@ -121,7 +123,8 @@ {% endcomponent %} {% if most_wished_product %} - {{ most_wished_product.name }} + {{ most_wished_product.name }} {{ most_wished_product.name }} {% else %} @@ -137,7 +140,8 @@ {% endcomponent %} {% if most_popular_product %} - {{ most_popular_product.name }} + {{ most_popular_product.name }} {{ most_popular_product.name }} {% else %} @@ -148,13 +152,14 @@ {% endcomponent %}
- + {% component "unfold/components/separator.html" %} {% endcomponent %}
+
{% component "unfold/components/text.html" with class="text-center text-xs text-gray-500 dark:text-gray-400" %} - "eVibes" {{ evibes_version }} · "Wiseless Team" + eVibes {{ evibes_version }} · Wiseless Team {% endcomponent %}