Add 3 files
Browse files- README.md +7 -5
- index.html +473 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: same
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,473 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="ar" dir="rtl">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>نظام المحاسبة المتكامل</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Tajawal', sans-serif;
|
| 14 |
+
background-color: #f5f7fa;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.sidebar {
|
| 18 |
+
transition: all 0.3s ease;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.sidebar-collapsed {
|
| 22 |
+
width: 80px;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.sidebar-collapsed .nav-text {
|
| 26 |
+
display: none;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.content {
|
| 30 |
+
transition: margin-right 0.3s ease;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.rtl {
|
| 34 |
+
direction: rtl;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.ltr {
|
| 38 |
+
direction: ltr;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.language-switcher {
|
| 42 |
+
cursor: pointer;
|
| 43 |
+
transition: all 0.3s ease;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.language-switcher:hover {
|
| 47 |
+
transform: scale(1.1);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.dashboard-card {
|
| 51 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.dashboard-card:hover {
|
| 55 |
+
transform: translateY(-5px);
|
| 56 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.invoice-table tr:nth-child(even) {
|
| 60 |
+
background-color: #f8fafc;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.invoice-table tr:hover {
|
| 64 |
+
background-color: #f1f5f9;
|
| 65 |
+
}
|
| 66 |
+
</style>
|
| 67 |
+
</head>
|
| 68 |
+
<body class="rtl bg-gray-50">
|
| 69 |
+
<!-- شريط التنقل العلوي -->
|
| 70 |
+
<nav class="bg-white shadow-sm fixed top-0 right-0 left-0 z-10">
|
| 71 |
+
<div class="px-4 py-3 flex justify-between items-center">
|
| 72 |
+
<div class="flex items-center">
|
| 73 |
+
<button id="sidebarToggle" class="text-gray-600 focus:outline-none">
|
| 74 |
+
<i class="fas fa-bars text-xl"></i>
|
| 75 |
+
</button>
|
| 76 |
+
<a href="#" class="text-xl font-bold text-blue-600 mr-4">المحاسبة المتكاملة</a>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="flex items-center space-x-4 space-x-reverse">
|
| 80 |
+
<div class="relative">
|
| 81 |
+
<button id="notificationsBtn" class="text-gray-600 focus:outline-none relative">
|
| 82 |
+
<i class="fas fa-bell text-xl"></i>
|
| 83 |
+
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
|
| 84 |
+
</button>
|
| 85 |
+
<div id="notificationsDropdown" class="hidden absolute right-0 mt-2 w-64 bg-white rounded-md shadow-lg z-20">
|
| 86 |
+
<div class="p-4 border-b">
|
| 87 |
+
<h3 class="font-bold">الإشعارات</h3>
|
| 88 |
+
</div>
|
| 89 |
+
<div class="max-h-60 overflow-y-auto">
|
| 90 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">فاتورة جديدة من عميل</a>
|
| 91 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">دفعة مستحقة اليوم</a>
|
| 92 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">تحديث النظام متاح</a>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
|
| 97 |
+
<div class="relative">
|
| 98 |
+
<button id="userMenuBtn" class="flex items-center text-gray-600 focus:outline-none">
|
| 99 |
+
<img src="https://ui-avatars.com/api/?name=محاسب&background=4f46e5&color=fff" alt="User" class="h-8 w-8 rounded-full">
|
| 100 |
+
<span class="mr-2">محاسب</span>
|
| 101 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 102 |
+
</button>
|
| 103 |
+
<div id="userMenuDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-20">
|
| 104 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-user mr-2"></i>الملف الشخصي</a>
|
| 105 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-cog mr-2"></i>الإعدادات</a>
|
| 106 |
+
<div class="border-t"></div>
|
| 107 |
+
<a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100"><i class="fas fa-sign-out-alt mr-2"></i>تسجيل الخروج</a>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<div class="language-switcher">
|
| 112 |
+
<button id="languageBtn" class="text-gray-600 focus:outline-none">
|
| 113 |
+
<i class="fas fa-globe text-xl"></i>
|
| 114 |
+
</button>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</nav>
|
| 119 |
+
|
| 120 |
+
<!-- الشريط الجانبي -->
|
| 121 |
+
<div id="sidebar" class="sidebar fixed top-0 right-0 h-full w-64 bg-blue-800 text-white pt-16 z-10">
|
| 122 |
+
<div class="overflow-y-auto h-full pb-16">
|
| 123 |
+
<ul class="mt-6">
|
| 124 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 125 |
+
<a href="#" class="flex items-center">
|
| 126 |
+
<i class="fas fa-tachometer-alt text-lg w-6 text-center"></i>
|
| 127 |
+
<span class="nav-text mr-3">لوحة التحكم</span>
|
| 128 |
+
</a>
|
| 129 |
+
</li>
|
| 130 |
+
|
| 131 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 132 |
+
<a href="#" class="flex items-center">
|
| 133 |
+
<i class="fas fa-users text-lg w-6 text-center"></i>
|
| 134 |
+
<span class="nav-text mr-3">العملاء</span>
|
| 135 |
+
</a>
|
| 136 |
+
</li>
|
| 137 |
+
|
| 138 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 139 |
+
<a href="#" class="flex items-center">
|
| 140 |
+
<i class="fas fa-truck text-lg w-6 text-center"></i>
|
| 141 |
+
<span class="nav-text mr-3">الموردين</span>
|
| 142 |
+
</a>
|
| 143 |
+
</li>
|
| 144 |
+
|
| 145 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 146 |
+
<a href="#" class="flex items-center">
|
| 147 |
+
<i class="fas fa-file-invoice-dollar text-lg w-6 text-center"></i>
|
| 148 |
+
<span class="nav-text mr-3">فواتير البيع</span>
|
| 149 |
+
</a>
|
| 150 |
+
</li>
|
| 151 |
+
|
| 152 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 153 |
+
<a href="#" class="flex items-center">
|
| 154 |
+
<i class="fas fa-shopping-cart text-lg w-6 text-center"></i>
|
| 155 |
+
<span class="nav-text mr-3">فواتير الشراء</span>
|
| 156 |
+
</a>
|
| 157 |
+
</li>
|
| 158 |
+
|
| 159 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 160 |
+
<a href="#" class="flex items-center">
|
| 161 |
+
<i class="fas fa-exchange-alt text-lg w-6 text-center"></i>
|
| 162 |
+
<span class="nav-text mr-3">المدفوعات</span>
|
| 163 |
+
</a>
|
| 164 |
+
</li>
|
| 165 |
+
|
| 166 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 167 |
+
<a href="#" class="flex items-center">
|
| 168 |
+
<i class="fas fa-book text-lg w-6 text-center"></i>
|
| 169 |
+
<span class="nav-text mr-3">دفتر اليومية</span>
|
| 170 |
+
</a>
|
| 171 |
+
</li>
|
| 172 |
+
|
| 173 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 174 |
+
<a href="#" class="flex items-center">
|
| 175 |
+
<i class="fas fa-chart-line text-lg w-6 text-center"></i>
|
| 176 |
+
<span class="nav-text mr-3">التقارير</span>
|
| 177 |
+
</a>
|
| 178 |
+
</li>
|
| 179 |
+
|
| 180 |
+
<li class="px-4 py-3 hover:bg-blue-700">
|
| 181 |
+
<a href="#" class="flex items-center">
|
| 182 |
+
<i class="fas fa-cog text-lg w-6 text-center"></i>
|
| 183 |
+
<span class="nav-text mr-3">الإعدادات</span>
|
| 184 |
+
</a>
|
| 185 |
+
</li>
|
| 186 |
+
</ul>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<!-- المحتوى الرئيسي -->
|
| 191 |
+
<div id="content" class="content pt-16 pr-64 transition-all duration-300">
|
| 192 |
+
<div class="p-6">
|
| 193 |
+
<!-- عناوين الصفحة -->
|
| 194 |
+
<div class="flex justify-between items-center mb-6">
|
| 195 |
+
<h1 class="text-2xl font-bold text-gray-800">لوحة التحكم</h1>
|
| 196 |
+
<div class="flex space-x-2 space-x-reverse">
|
| 197 |
+
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center">
|
| 198 |
+
<i class="fas fa-plus ml-2"></i>
|
| 199 |
+
<span>فاتورة جديدة</span>
|
| 200 |
+
</button>
|
| 201 |
+
<button class="bg-white border border-gray-300 hover:bg-gray-50 text-gray-700 px-4 py-2 rounded-md flex items-center">
|
| 202 |
+
<i class="fas fa-filter ml-2"></i>
|
| 203 |
+
<span>تصفية</span>
|
| 204 |
+
</button>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
|
| 208 |
+
<!-- بطاقات الإحصائيات -->
|
| 209 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
| 210 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6">
|
| 211 |
+
<div class="flex justify-between items-start">
|
| 212 |
+
<div>
|
| 213 |
+
<p class="text-gray-500 text-sm">إجمالي المبيعات</p>
|
| 214 |
+
<h3 class="text-2xl font-bold mt-2">25,430 <span class="text-sm">ر.س</span></h3>
|
| 215 |
+
<p class="text-green-500 text-sm mt-1"><i class="fas fa-arrow-up mr-1"></i> 12% عن الشهر الماضي</p>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="bg-blue-100 p-3 rounded-full text-blue-600">
|
| 218 |
+
<i class="fas fa-shopping-bag text-xl"></i>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
|
| 223 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6">
|
| 224 |
+
<div class="flex justify-between items-start">
|
| 225 |
+
<div>
|
| 226 |
+
<p class="text-gray-500 text-sm">إجمالي المشتريات</p>
|
| 227 |
+
<h3 class="text-2xl font-bold mt-2">18,750 <span class="text-sm">ر.س</span></h3>
|
| 228 |
+
<p class="text-red-500 text-sm mt-1"><i class="fas fa-arrow-down mr-1"></i> 5% عن الشهر الماضي</p>
|
| 229 |
+
</div>
|
| 230 |
+
<div class="bg-purple-100 p-3 rounded-full text-purple-600">
|
| 231 |
+
<i class="fas fa-cart-arrow-down text-xl"></i>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
+
|
| 236 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6">
|
| 237 |
+
<div class="flex justify-between items-start">
|
| 238 |
+
<div>
|
| 239 |
+
<p class="text-gray-500 text-sm">العملاء</p>
|
| 240 |
+
<h3 class="text-2xl font-bold mt-2">142</h3>
|
| 241 |
+
<p class="text-green-500 text-sm mt-1"><i class="fas fa-arrow-up mr-1"></i> 8 عملاء جدد</p>
|
| 242 |
+
</div>
|
| 243 |
+
<div class="bg-green-100 p-3 rounded-full text-green-600">
|
| 244 |
+
<i class="fas fa-users text-xl"></i>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6">
|
| 250 |
+
<div class="flex justify-between items-start">
|
| 251 |
+
<div>
|
| 252 |
+
<p class="text-gray-500 text-sm">المدفوعات المستحقة</p>
|
| 253 |
+
<h3 class="text-2xl font-bold mt-2">7,320 <span class="text-sm">ر.س</span></h3>
|
| 254 |
+
<p class="text-yellow-500 text-sm mt-1"><i class="fas fa-exclamation-circle mr-1"></i> 5 فواتير</p>
|
| 255 |
+
</div>
|
| 256 |
+
<div class="bg-yellow-100 p-3 rounded-full text-yellow-600">
|
| 257 |
+
<i class="fas fa-hand-holding-usd text-xl"></i>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
|
| 263 |
+
<!-- الرسوم البيانية والجداول -->
|
| 264 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
|
| 265 |
+
<div class="lg:col-span-2 bg-white rounded-lg shadow p-6">
|
| 266 |
+
<div class="flex justify-between items-center mb-4">
|
| 267 |
+
<h2 class="text-lg font-semibold">إحصائيات المبيعات</h2>
|
| 268 |
+
<select class="bg-gray-100 border border-gray-300 text-gray-700 py-1 px-3 rounded-md focus:outline-none">
|
| 269 |
+
<option>هذا الشهر</option>
|
| 270 |
+
<option>الشهر الماضي</option>
|
| 271 |
+
<option>هذا العام</option>
|
| 272 |
+
</select>
|
| 273 |
+
</div>
|
| 274 |
+
<div class="h-64 bg-gray-50 rounded-md flex items-center justify-center">
|
| 275 |
+
<p class="text-gray-500">رسم بياني للمبيعات سيظهر هنا</p>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
|
| 279 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 280 |
+
<h2 class="text-lg font-semibold mb-4">أحدث الفواتير</h2>
|
| 281 |
+
<div class="overflow-x-auto">
|
| 282 |
+
<table class="min-w-full invoice-table">
|
| 283 |
+
<thead>
|
| 284 |
+
<tr class="bg-gray-100 text-gray-600 text-sm">
|
| 285 |
+
<th class="py-2 px-3 text-right">رقم الفاتورة</th>
|
| 286 |
+
<th class="py-2 px-3 text-right">التاريخ</th>
|
| 287 |
+
<th class="py-2 px-3 text-right">المبلغ</th>
|
| 288 |
+
<th class="py-2 px-3 text-right">الحالة</th>
|
| 289 |
+
</tr>
|
| 290 |
+
</thead>
|
| 291 |
+
<tbody class="text-sm">
|
| 292 |
+
<tr>
|
| 293 |
+
<td class="py-3 px-3">INV-2023-001</td>
|
| 294 |
+
<td class="py-3 px-3">15/06/2023</td>
|
| 295 |
+
<td class="py-3 px-3">2,450 ر.س</td>
|
| 296 |
+
<td class="py-3 px-3"><span class="bg-green-100 text-green-800 py-1 px-2 rounded-full text-xs">مدفوعة</span></td>
|
| 297 |
+
</tr>
|
| 298 |
+
<tr>
|
| 299 |
+
<td class="py-3 px-3">INV-2023-002</td>
|
| 300 |
+
<td class="py-3 px-3">14/06/2023</td>
|
| 301 |
+
<td class="py-3 px-3">1,890 ر.س</td>
|
| 302 |
+
<td class="py-3 px-3"><span class="bg-yellow-100 text-yellow-800 py-1 px-2 rounded-full text-xs">جزئي</span></td>
|
| 303 |
+
</tr>
|
| 304 |
+
<tr>
|
| 305 |
+
<td class="py-3 px-3">INV-2023-003</td>
|
| 306 |
+
<td class="py-3 px-3">12/06/2023</td>
|
| 307 |
+
<td class="py-3 px-3">3,200 ر.س</td>
|
| 308 |
+
<td class="py-3 px-3"><span class="bg-red-100 text-red-800 py-1 px-2 rounded-full text-xs">غير مدفوعة</span></td>
|
| 309 |
+
</tr>
|
| 310 |
+
<tr>
|
| 311 |
+
<td class="py-3 px-3">INV-2023-004</td>
|
| 312 |
+
<td class="py-3 px-3">10/06/2023</td>
|
| 313 |
+
<td class="py-3 px-3">1,750 ر.س</td>
|
| 314 |
+
<td class="py-3 px-3"><span class="bg-green-100 text-green-800 py-1 px-2 rounded-full text-xs">مدفوعة</span></td>
|
| 315 |
+
</tr>
|
| 316 |
+
</tbody>
|
| 317 |
+
</table>
|
| 318 |
+
</div>
|
| 319 |
+
<div class="mt-4 text-center">
|
| 320 |
+
<a href="#" class="text-blue-600 hover:text-blue-800 text-sm">عرض الكل <i class="fas fa-arrow-left mr-1"></i></a>
|
| 321 |
+
</div>
|
| 322 |
+
</div>
|
| 323 |
+
</div>
|
| 324 |
+
|
| 325 |
+
<!-- قسم العملاء والموردين -->
|
| 326 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 327 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 328 |
+
<div class="flex justify-between items-center mb-4">
|
| 329 |
+
<h2 class="text-lg font-semibold">أحدث العملاء</h2>
|
| 330 |
+
<a href="#" class="text-blue-600 hover:text-blue-800 text-sm">إضافة عميل <i class="fas fa-plus mr-1"></i></a>
|
| 331 |
+
</div>
|
| 332 |
+
<div class="space-y-4">
|
| 333 |
+
<div class="flex items-center">
|
| 334 |
+
<img src="https://ui-avatars.com/api/?name=أحمد+محمد&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
|
| 335 |
+
<div class="mr-3">
|
| 336 |
+
<h4 class="font-medium">أحمد محمد</h4>
|
| 337 |
+
<p class="text-gray-500 text-sm">ahmed@example.com</p>
|
| 338 |
+
</div>
|
| 339 |
+
<div class="mr-auto">
|
| 340 |
+
<span class="text-sm">1,200 ر.س</span>
|
| 341 |
+
</div>
|
| 342 |
+
</div>
|
| 343 |
+
<div class="flex items-center">
|
| 344 |
+
<img src="https://ui-avatars.com/api/?name=سارة+علي&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
|
| 345 |
+
<div class="mr-3">
|
| 346 |
+
<h4 class="font-medium">سارة علي</h4>
|
| 347 |
+
<p class="text-gray-500 text-sm">sara@example.com</p>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="mr-auto">
|
| 350 |
+
<span class="text-sm">850 ر.س</span>
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
<div class="flex items-center">
|
| 354 |
+
<img src="https://ui-avatars.com/api/?name=خالد+حسن&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
|
| 355 |
+
<div class="mr-3">
|
| 356 |
+
<h4 class="font-medium">خالد حسن</h4>
|
| 357 |
+
<p class="text-gray-500 text-sm">khaled@example.com</p>
|
| 358 |
+
</div>
|
| 359 |
+
<div class="mr-auto">
|
| 360 |
+
<span class="text-sm">2,300 ر.س</span>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 367 |
+
<div class="flex justify-between items-center mb-4">
|
| 368 |
+
<h2 class="text-lg font-semibold">أحدث الموردين</h2>
|
| 369 |
+
<a href="#" class="text-blue-600 hover:text-blue-800 text-sm">إضافة مورد <i class="fas fa-plus mr-1"></i></a>
|
| 370 |
+
</div>
|
| 371 |
+
<div class="space-y-4">
|
| 372 |
+
<div class="flex items-center">
|
| 373 |
+
<img src="https://ui-avatars.com/api/?name=شركة+التموين&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
|
| 374 |
+
<div class="mr-3">
|
| 375 |
+
<h4 class="font-medium">شركة التموين</h4>
|
| 376 |
+
<p class="text-gray-500 text-sm">info@tamween.com</p>
|
| 377 |
+
</div>
|
| 378 |
+
<div class="mr-auto">
|
| 379 |
+
<span class="text-sm">3,500 ر.س</span>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
<div class="flex items-center">
|
| 383 |
+
<img src="https://ui-avatars.com/api/?name=مكتبة+المعرفة&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
|
| 384 |
+
<div class="mr-3">
|
| 385 |
+
<h4 class="font-medium">مكتبة المعرفة</h4>
|
| 386 |
+
<p class="text-gray-500 text-sm">contact@maarifa.com</p>
|
| 387 |
+
</div>
|
| 388 |
+
<div class="mr-auto">
|
| 389 |
+
<span class="text-sm">1,800 ر.س</span>
|
| 390 |
+
</div>
|
| 391 |
+
</div>
|
| 392 |
+
<div class="flex items-center">
|
| 393 |
+
<img src="https://ui-avatars.com/api/?name=شركة+الأجهزة&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
|
| 394 |
+
<div class="mr-3">
|
| 395 |
+
<h4 class="font-medium">شركة الأجهزة</h4>
|
| 396 |
+
<p class="text-gray-500 text-sm">sales@alajhiza.com</p>
|
| 397 |
+
</div>
|
| 398 |
+
<div class="mr-auto">
|
| 399 |
+
<span class="text-sm">4,200 ر.س</span>
|
| 400 |
+
</div>
|
| 401 |
+
</div>
|
| 402 |
+
</div>
|
| 403 |
+
</div>
|
| 404 |
+
</div>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
|
| 408 |
+
<script>
|
| 409 |
+
// تبديل الشريط الجانبي
|
| 410 |
+
const sidebarToggle = document.getElementById('sidebarToggle');
|
| 411 |
+
const sidebar = document.getElementById('sidebar');
|
| 412 |
+
const content = document.getElementById('content');
|
| 413 |
+
|
| 414 |
+
sidebarToggle.addEventListener('click', () => {
|
| 415 |
+
sidebar.classList.toggle('sidebar-collapsed');
|
| 416 |
+
content.classList.toggle('pr-64');
|
| 417 |
+
content.classList.toggle('pr-20');
|
| 418 |
+
});
|
| 419 |
+
|
| 420 |
+
// القوائم المنسدلة
|
| 421 |
+
const notificationsBtn = document.getElementById('notificationsBtn');
|
| 422 |
+
const notificationsDropdown = document.getElementById('notificationsDropdown');
|
| 423 |
+
|
| 424 |
+
notificationsBtn.addEventListener('click', () => {
|
| 425 |
+
notificationsDropdown.classList.toggle('hidden');
|
| 426 |
+
userMenuDropdown.classList.add('hidden');
|
| 427 |
+
});
|
| 428 |
+
|
| 429 |
+
const userMenuBtn = document.getElementById('userMenuBtn');
|
| 430 |
+
const userMenuDropdown = document.getElementById('userMenuDropdown');
|
| 431 |
+
|
| 432 |
+
userMenuBtn.addEventListener('click', () => {
|
| 433 |
+
userMenuDropdown.classList.toggle('hidden');
|
| 434 |
+
notificationsDropdown.classList.add('hidden');
|
| 435 |
+
});
|
| 436 |
+
|
| 437 |
+
// إغلاق القوائم المنسدلة عند النقر خارجها
|
| 438 |
+
document.addEventListener('click', (e) => {
|
| 439 |
+
if (!notificationsBtn.contains(e.target) && !notificationsDropdown.contains(e.target)) {
|
| 440 |
+
notificationsDropdown.classList.add('hidden');
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
if (!userMenuBtn.contains(e.target) && !userMenuDropdown.contains(e.target)) {
|
| 444 |
+
userMenuDropdown.classList.add('hidden');
|
| 445 |
+
}
|
| 446 |
+
});
|
| 447 |
+
|
| 448 |
+
// تبديل اللغة
|
| 449 |
+
const languageBtn = document.getElementById('languageBtn');
|
| 450 |
+
const body = document.body;
|
| 451 |
+
|
| 452 |
+
languageBtn.addEventListener('click', () => {
|
| 453 |
+
if (body.classList.contains('rtl')) {
|
| 454 |
+
body.classList.remove('rtl');
|
| 455 |
+
body.classList.add('ltr');
|
| 456 |
+
document.documentElement.lang = 'en';
|
| 457 |
+
// هنا يمكنك تغيير النصوص إلى الإنجليزية
|
| 458 |
+
} else {
|
| 459 |
+
body.classList.remove('ltr');
|
| 460 |
+
body.classList.add('rtl');
|
| 461 |
+
document.documentElement.lang = 'ar';
|
| 462 |
+
// هنا يمكنك تغيير النصوص إلى العربية
|
| 463 |
+
}
|
| 464 |
+
});
|
| 465 |
+
|
| 466 |
+
// محاكاة تحميل البيانات
|
| 467 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 468 |
+
// يمكنك هنا جلب البيانات من API
|
| 469 |
+
console.log('System loaded successfully');
|
| 470 |
+
});
|
| 471 |
+
</script>
|
| 472 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=SAME459/same" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 473 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
أريد منك إنشاء تطبيق ويب محاسبي كامل باستخدام أحدث تقنيات تطوير الويب. التطبيق يجب أن يكون متكامل ويشمل الوظائف التالية: 🧾 الوظائف الأساسية: تسجيل الدخول والخروج للمستخدمين مع نظام صلاحيات (مدير / محاسب / مشاهد فقط). إدارة العملاء (إضافة / تعديل / حذف / عرض). إدارة الموردين. إنشاء فواتير شراء وبيع. تتبع المدفوعات والمقبوضات. دفتر اليومية العام. تقارير مالية (الميزانية، قائمة الأرباح والخسائر، كشف الحساب). إدارة المصاريف والدخل. سجل العمليات المحاسبية. دعم نظام الضرائب (قابل للتعديل حسب البلد). تصدير البيانات PDF وExcel. 💻 متطلبات التقنية: الواجهة: React.js أو Next.js الباك إند: Node.js + Express.js أو Laravel قاعدة البيانات: MongoDB أو MySQL توثيق API دعم اللغة العربية والإنجليزية (واجهة ثنائية اللغة) تصميم متجاوب للموبايل والتابلت
|