{% extends 'admin/base.html' %} {% load static %} {% block extrastyle %}{{ block.super }} {% endblock %} {% load i18n unfold %} {% block html_attrs %} lang="fa" dir="rtl" {% endblock %} {% block breadcrumbs %}{% endblock %} {% block title %} {% trans 'Dashboard' %} | {{ site_title|default:_('Django site admin') }} {% endblock %} {% block branding %}

{{ site_header|default:_('Django administration') }}

{% endblock %} {% block content %} {% include "unfold/helpers/messages.html" %} {% component "unfold/components/container.html" %}
{% include "formula/service.html" %}
{% for stats in kpi %} {% component "unfold/components/card.html" with class="lg:w-1/3" footer=stats.footer %} {% component "unfold/components/text.html" %} {{ stats.title }} {% endcomponent %} {% component "unfold/components/title.html" %} {{ stats.metric }} {% endcomponent %} {% endcomponent %} {% endfor %}
{% component "unfold/components/card.html" with title='بازدید های وبسایت در ماه اخیر' %} {% component "unfold/components/chart/bar.html" with data=chart height=320 %}{% endcomponent %} {% endcomponent %}
{% component "unfold/components/card.html" with class="lg:w-1/2" title='محبوب ترین دسته بندی ها' %} {% component "unfold/components/title.html" with class="mb-2" %} $1,234,567.89 {% endcomponent %} {% component "unfold/components/text.html" %} {% blocktrans %} Total revenue between 1 - 31 October. Increase +3.14% comparing to previous month 1 - 30 September. {% endblocktrans %} {% endcomponent %} {% component "unfold/components/separator.html" %}{% endcomponent %}
{% for metric in progress %} {% component "unfold/components/progress.html" with title=metric.title description=metric.description value=metric.value %}{% endcomponent %} {% endfor %}
{% endcomponent %}
{% for stats in performance %} {% component "unfold/components/card.html" %} {% component "unfold/components/text.html" %} {{ stats.title }} {% endcomponent %} {% component "unfold/components/title.html" with class="mb-8" %} {{ stats.metric }} {% endcomponent %} {% component "unfold/components/chart/line.html" with data=stats.chart %}{% endcomponent %} {% endcomponent %} {% endfor %}
{% endcomponent %} {% endblock %}