admin rtl styles and bullshit
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{% extends "admin/base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block html_attrs %}
|
||||
lang="fa" dir="rtl"
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static 'override.css' %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'fonts.css' %}" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
{% endblock %}
|
||||
{% load i18n unfold %}
|
||||
|
||||
{% block html_attrs %}
|
||||
lang="fa" dir="rtl"
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
@@ -30,7 +34,7 @@
|
||||
|
||||
<div class="flex flex-col gap-8 lg:flex-row">
|
||||
{% for stats in kpi %}
|
||||
{% component "unfold/components/card.html" with class="lg:w-1/3" label=_("Last 7 days") footer=stats.footer %}
|
||||
{% component "unfold/components/card.html" with class="lg:w-1/3" footer=stats.footer %}
|
||||
{% component "unfold/components/text.html" %}
|
||||
{{ stats.title }}
|
||||
{% endcomponent %}
|
||||
@@ -44,12 +48,12 @@
|
||||
|
||||
|
||||
|
||||
{% component "unfold/components/card.html" with title=_("Product performance in last 28 days") %}
|
||||
{% component "unfold/components/card.html" with title='بازدید های وبسایت در ماه اخیر' %}
|
||||
{% component "unfold/components/chart/bar.html" with data=chart height=320 %}{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
<div class="flex flex-col gap-8 lg:flex-row">
|
||||
{% component "unfold/components/card.html" with class="lg:w-1/2" title=_("The most trending products in last 2 weeks") %}
|
||||
{% 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 %}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<div class="flex lg:flex-row lg:items-center">
|
||||
{% component "unfold/components/flex.html" with class="flex-col gap-4 lg:flex-row" %}
|
||||
{% component "unfold/components/button.html" with href="/admin/order/ordermodel/" %}
|
||||
{% component "unfold/components/button.html" with href="/secret-admin/order/ordermodel/" %}
|
||||
نمایش سفارشات
|
||||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<div class="flex lg:flex-row lg:items-center">
|
||||
{% component "unfold/components/flex.html" with class="flex-col gap-4 lg:flex-row" %}
|
||||
{% component "unfold/components/button.html" with href="/admin/ticket/ticket/" %}
|
||||
{% component "unfold/components/button.html" with href="/secret-admin/ticket/ticket/" %}
|
||||
نمایش تیکت ها
|
||||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
Reference in New Issue
Block a user