admin rtl styles and bullshit
This commit is contained in:
+11
-11
@@ -51,10 +51,10 @@ def random_data():
|
||||
],
|
||||
"kpi": [
|
||||
{
|
||||
"title": "IPhone 16 Pro Max",
|
||||
"title": "گوشی Iphone 16 pro",
|
||||
"metric": f"${intcomma(f"{random.uniform(1000, 9999):.02f}")}",
|
||||
"footer": mark_safe(
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> progress from last week'
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> درصد فروش کل'
|
||||
),
|
||||
"chart": json.dumps(
|
||||
{
|
||||
@@ -64,23 +64,23 @@ def random_data():
|
||||
),
|
||||
},
|
||||
{
|
||||
"title": "Macbook Pro M3",
|
||||
"title": "لپ تاپ Macbook Pro M3",
|
||||
"metric": f"${intcomma(f"{random.uniform(1000, 9999):.02f}")}",
|
||||
"footer": mark_safe(
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> progress from last week'
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> درصد فروش کل'
|
||||
),
|
||||
},
|
||||
{
|
||||
"title": "Apple Watch 8",
|
||||
"title": "ساعت هوشمند Apple Watch 8",
|
||||
"metric": f"${intcomma(f"{random.uniform(1000, 9999):.02f}")}",
|
||||
"footer": mark_safe(
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> progress from last week'
|
||||
f'<strong class="text-green-700 font-semibold dark:text-green-400">+{intcomma(f"{random.uniform(1, 9):.02f}")}%</strong> درصد فروش کل'
|
||||
),
|
||||
},
|
||||
],
|
||||
"progress": [
|
||||
{
|
||||
"title": "📱 Phone and Mobile",
|
||||
"title": "📱 موبایل و گوشی",
|
||||
"description": "$2,499.99",
|
||||
"value": 20,
|
||||
},
|
||||
@@ -155,10 +155,10 @@ def random_data():
|
||||
),
|
||||
"performance": [
|
||||
{
|
||||
"title": _("Last week revenue"),
|
||||
"title": 'فروش ماه اخیر',
|
||||
"metric": "$1,234.56",
|
||||
"footer": mark_safe(
|
||||
'<strong class="text-green-600 font-medium">+3.14%</strong> progress from last week'
|
||||
'<strong class="text-green-600 font-medium">+3.14%</strong> درصد فروش کل'
|
||||
),
|
||||
"chart": json.dumps(
|
||||
{
|
||||
@@ -173,10 +173,10 @@ def random_data():
|
||||
),
|
||||
},
|
||||
{
|
||||
"title": _("Last week expenses"),
|
||||
"title": 'مخارج ماه اخیر',
|
||||
"metric": "$1,234.56",
|
||||
"footer": mark_safe(
|
||||
'<strong class="text-green-600 font-medium">+3.14%</strong> progress from last week'
|
||||
'<strong class="text-green-600 font-medium">+3.14%</strong> درصد فروش کل'
|
||||
),
|
||||
"chart": json.dumps(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user