{% extends 'admin/base.html' %} {% load i18n unfold %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} {% include "unfold/helpers/site_branding.html" %} {% endblock %} {% block content %} {% if kpi_rows %} {% for row in kpi_rows %}
{% for label, value, hint, icon in row %} {% component "unfold/components/card.html" with icon=icon %} {% component "unfold/components/text.html" %}{{ label }}{% endcomponent %} {% component "unfold/components/title.html" %}{{ value }}{% endcomponent %} {% component "unfold/components/text.html" %}{{ hint }}{% endcomponent %} {% endcomponent %} {% endfor %}
{% endfor %}
{% component "unfold/components/card.html" with title="بازدید و ثبت‌نام، ۳۰ روز اخیر" %} {% component "unfold/components/chart/line.html" with data=chart height=280 %}{% endcomponent %} {% endcomponent %}
{% component "unfold/components/card.html" with title="پربازدیدترین صفحه‌ها" %} {% component "unfold/components/table.html" with table=top_pages card_included=1 striped=1 %}{% endcomponent %} {% endcomponent %} {% component "unfold/components/card.html" with title="تیکت‌های منتظر پاسخ" %} {% component "unfold/components/table.html" with table=open_tickets card_included=1 striped=1 %}{% endcomponent %} {% endcomponent %}
{% endif %}
{% include "unfold/helpers/app_list_default.html" %}
{% include "unfold/helpers/history.html" %}
{% endblock %}