Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +457 -19
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: accounting-app
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: red
|
| 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,457 @@
|
|
| 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="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Accounting Dashboard</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 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: '#4F46E5',
|
| 15 |
+
secondary: '#10B981',
|
| 16 |
+
danger: '#EF4444',
|
| 17 |
+
warning: '#F59E0B',
|
| 18 |
+
info: '#3B82F6'
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
</script>
|
| 24 |
+
<style>
|
| 25 |
+
.sidebar {
|
| 26 |
+
transition: all 0.3s ease;
|
| 27 |
+
}
|
| 28 |
+
.chart-container {
|
| 29 |
+
height: 300px;
|
| 30 |
+
}
|
| 31 |
+
@media (max-width: 768px) {
|
| 32 |
+
.sidebar {
|
| 33 |
+
transform: translateX(-100%);
|
| 34 |
+
position: absolute;
|
| 35 |
+
z-index: 50;
|
| 36 |
+
}
|
| 37 |
+
.sidebar.active {
|
| 38 |
+
transform: translateX(0);
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
+
</head>
|
| 43 |
+
<body class="bg-gray-50 font-sans">
|
| 44 |
+
<div class="flex h-screen overflow-hidden">
|
| 45 |
+
<!-- Sidebar -->
|
| 46 |
+
<div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
|
| 47 |
+
<div class="p-4 border-b border-gray-200">
|
| 48 |
+
<h1 class="text-xl font-bold text-primary flex items-center">
|
| 49 |
+
<i class="fas fa-calculator mr-2"></i> AccountPro
|
| 50 |
+
</h1>
|
| 51 |
+
</div>
|
| 52 |
+
<nav class="flex-1 overflow-y-auto p-4">
|
| 53 |
+
<div class="space-y-1">
|
| 54 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 bg-indigo-50 text-primary rounded-lg font-medium">
|
| 55 |
+
<i class="fas fa-tachometer-alt"></i>
|
| 56 |
+
<span>Dashboard</span>
|
| 57 |
+
</a>
|
| 58 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 59 |
+
<i class="fas fa-file-invoice-dollar"></i>
|
| 60 |
+
<span>Invoices</span>
|
| 61 |
+
</a>
|
| 62 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 63 |
+
<i class="fas fa-receipt"></i>
|
| 64 |
+
<span>Expenses</span>
|
| 65 |
+
</a>
|
| 66 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 67 |
+
<i class="fas fa-users"></i>
|
| 68 |
+
<span>Clients</span>
|
| 69 |
+
</a>
|
| 70 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 71 |
+
<i class="fas fa-chart-line"></i>
|
| 72 |
+
<span>Reports</span>
|
| 73 |
+
</a>
|
| 74 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 75 |
+
<i class="fas fa-cog"></i>
|
| 76 |
+
<span>Settings</span>
|
| 77 |
+
</a>
|
| 78 |
+
</div>
|
| 79 |
+
<div class="mt-8">
|
| 80 |
+
<h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider px-4 mb-2">Quick Actions</h3>
|
| 81 |
+
<div class="space-y-1">
|
| 82 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-2 text-gray-600 hover:bg-gray-100 rounded-lg text-sm">
|
| 83 |
+
<i class="fas fa-plus-circle text-primary"></i>
|
| 84 |
+
<span>Create Invoice</span>
|
| 85 |
+
</a>
|
| 86 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-2 text-gray-600 hover:bg-gray-100 rounded-lg text-sm">
|
| 87 |
+
<i class="fas fa-file-import text-secondary"></i>
|
| 88 |
+
<span>Import Data</span>
|
| 89 |
+
</a>
|
| 90 |
+
<a href="#" class="flex items-center space-x-2 px-4 py-2 text-gray-600 hover:bg-gray-100 rounded-lg text-sm">
|
| 91 |
+
<i class="fas fa-file-export text-warning"></i>
|
| 92 |
+
<span>Export Reports</span>
|
| 93 |
+
</a>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</nav>
|
| 97 |
+
<div class="p-4 border-t border-gray-200">
|
| 98 |
+
<div class="flex items-center space-x-3">
|
| 99 |
+
<div class="w-9 h-9 rounded-full bg-primary flex items-center justify-center text-white">
|
| 100 |
+
<span>JD</span>
|
| 101 |
+
</div>
|
| 102 |
+
<div>
|
| 103 |
+
<p class="text-sm font-medium">John Doe</p>
|
| 104 |
+
<p class="text-xs text-gray-500">Admin</p>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<!-- Main Content -->
|
| 111 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 112 |
+
<!-- Top Navigation -->
|
| 113 |
+
<header class="bg-white border-b border-gray-200">
|
| 114 |
+
<div class="flex items-center justify-between px-6 py-4">
|
| 115 |
+
<div class="flex items-center">
|
| 116 |
+
<button id="sidebarToggle" class="md:hidden text-gray-500 mr-4">
|
| 117 |
+
<i class="fas fa-bars text-xl"></i>
|
| 118 |
+
</button>
|
| 119 |
+
<h2 class="text-xl font-semibold text-gray-800">Dashboard</h2>
|
| 120 |
+
</div>
|
| 121 |
+
<div class="flex items-center space-x-4">
|
| 122 |
+
<div class="relative">
|
| 123 |
+
<button class="text-gray-500 hover:text-gray-700">
|
| 124 |
+
<i class="fas fa-bell text-xl"></i>
|
| 125 |
+
<span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
|
| 126 |
+
</button>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="relative">
|
| 129 |
+
<button class="text-gray-500 hover:text-gray-700">
|
| 130 |
+
<i class="fas fa-envelope text-xl"></i>
|
| 131 |
+
<span class="absolute top-0 right-0 w-2 h-2 bg-blue-500 rounded-full"></span>
|
| 132 |
+
</button>
|
| 133 |
+
</div>
|
| 134 |
+
<div class="relative">
|
| 135 |
+
<select class="appearance-none bg-gray-100 border-none rounded-lg px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-primary">
|
| 136 |
+
<option>This Month</option>
|
| 137 |
+
<option>Last Month</option>
|
| 138 |
+
<option>This Quarter</option>
|
| 139 |
+
<option>This Year</option>
|
| 140 |
+
</select>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
</header>
|
| 145 |
+
|
| 146 |
+
<!-- Dashboard Content -->
|
| 147 |
+
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
|
| 148 |
+
<!-- Summary Cards -->
|
| 149 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
| 150 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 151 |
+
<div class="flex items-center justify-between">
|
| 152 |
+
<div>
|
| 153 |
+
<p class="text-sm font-medium text-gray-500">Total Revenue</p>
|
| 154 |
+
<h3 class="text-2xl font-bold mt-1">$24,780</h3>
|
| 155 |
+
<p class="text-sm text-green-500 mt-1 flex items-center">
|
| 156 |
+
<i class="fas fa-arrow-up mr-1"></i> 12.5% from last month
|
| 157 |
+
</p>
|
| 158 |
+
</div>
|
| 159 |
+
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 160 |
+
<i class="fas fa-dollar-sign text-xl"></i>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 165 |
+
<div class="flex items-center justify-between">
|
| 166 |
+
<div>
|
| 167 |
+
<p class="text-sm font-medium text-gray-500">Total Expenses</p>
|
| 168 |
+
<h3 class="text-2xl font-bold mt-1">$8,420</h3>
|
| 169 |
+
<p class="text-sm text-red-500 mt-1 flex items-center">
|
| 170 |
+
<i class="fas fa-arrow-up mr-1"></i> 3.2% from last month
|
| 171 |
+
</p>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="w-12 h-12 rounded-full bg-red-100 flex items-center justify-center text-red-600">
|
| 174 |
+
<i class="fas fa-receipt text-xl"></i>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 179 |
+
<div class="flex items-center justify-between">
|
| 180 |
+
<div>
|
| 181 |
+
<p class="text-sm font-medium text-gray-500">Profit</p>
|
| 182 |
+
<h3 class="text-2xl font-bold mt-1">$16,360</h3>
|
| 183 |
+
<p class="text-sm text-green-500 mt-1 flex items-center">
|
| 184 |
+
<i class="fas fa-arrow-up mr-1"></i> 18.7% from last month
|
| 185 |
+
</p>
|
| 186 |
+
</div>
|
| 187 |
+
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 188 |
+
<i class="fas fa-chart-line text-xl"></i>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 193 |
+
<div class="flex items-center justify-between">
|
| 194 |
+
<div>
|
| 195 |
+
<p class="text-sm font-medium text-gray-500">Unpaid Invoices</p>
|
| 196 |
+
<h3 class="text-2xl font-bold mt-1">$5,430</h3>
|
| 197 |
+
<p class="text-sm text-yellow-500 mt-1 flex items-center">
|
| 198 |
+
<i class="fas fa-exclamation-circle mr-1"></i> 7 overdue
|
| 199 |
+
</p>
|
| 200 |
+
</div>
|
| 201 |
+
<div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
|
| 202 |
+
<i class="fas fa-file-invoice text-xl"></i>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
|
| 208 |
+
<!-- Charts Row -->
|
| 209 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
| 210 |
+
<!-- Revenue Chart -->
|
| 211 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 212 |
+
<div class="flex items-center justify-between mb-6">
|
| 213 |
+
<h3 class="text-lg font-semibold">Revenue Overview</h3>
|
| 214 |
+
<div class="flex space-x-2">
|
| 215 |
+
<button class="px-3 py-1 text-xs bg-indigo-50 text-primary rounded-lg">Monthly</button>
|
| 216 |
+
<button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-lg">Quarterly</button>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="chart-container">
|
| 220 |
+
<canvas id="revenueChart"></canvas>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
|
| 224 |
+
<!-- Expense Breakdown -->
|
| 225 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 226 |
+
<div class="flex items-center justify-between mb-6">
|
| 227 |
+
<h3 class="text-lg font-semibold">Expense Breakdown</h3>
|
| 228 |
+
<div class="flex space-x-2">
|
| 229 |
+
<button class="px-3 py-1 text-xs bg-indigo-50 text-primary rounded-lg">Categories</button>
|
| 230 |
+
<button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-lg">Vendors</button>
|
| 231 |
+
</div>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="chart-container">
|
| 234 |
+
<canvas id="expenseChart"></canvas>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
|
| 239 |
+
<!-- Recent Transactions and Quick Stats -->
|
| 240 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
| 241 |
+
<!-- Recent Transactions -->
|
| 242 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-sm p-6">
|
| 243 |
+
<div class="flex items-center justify-between mb-6">
|
| 244 |
+
<h3 class="text-lg font-semibold">Recent Transactions</h3>
|
| 245 |
+
<a href="#" class="text-sm text-primary font-medium">View All</a>
|
| 246 |
+
</div>
|
| 247 |
+
<div class="space-y-4">
|
| 248 |
+
<div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg">
|
| 249 |
+
<div class="flex items-center space-x-3">
|
| 250 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 251 |
+
<i class="fas fa-dollar-sign"></i>
|
| 252 |
+
</div>
|
| 253 |
+
<div>
|
| 254 |
+
<p class="font-medium">Invoice Payment</p>
|
| 255 |
+
<p class="text-sm text-gray-500">From Acme Corp</p>
|
| 256 |
+
</div>
|
| 257 |
+
</div>
|
| 258 |
+
<div class="text-right">
|
| 259 |
+
<p class="font-medium text-green-600">+$2,500.00</p>
|
| 260 |
+
<p class="text-sm text-gray-500">2 days ago</p>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
<div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg">
|
| 264 |
+
<div class="flex items-center space-x-3">
|
| 265 |
+
<div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center text-red-600">
|
| 266 |
+
<i class="fas fa-shopping-cart"></i>
|
| 267 |
+
</div>
|
| 268 |
+
<div>
|
| 269 |
+
<p class="font-medium">Office Supplies</p>
|
| 270 |
+
<p class="text-sm text-gray-500">Staples</p>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
<div class="text-right">
|
| 274 |
+
<p class="font-medium text-red-600">-$189.50</p>
|
| 275 |
+
<p class="text-sm text-gray-500">3 days ago</p>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
<div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg">
|
| 279 |
+
<div class="flex items-center space-x-3">
|
| 280 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 281 |
+
<i class="fas fa-file-invoice"></i>
|
| 282 |
+
</div>
|
| 283 |
+
<div>
|
| 284 |
+
<p class="font-medium">Invoice Sent</p>
|
| 285 |
+
<p class="text-sm text-gray-500">To Beta LLC</p>
|
| 286 |
+
</div>
|
| 287 |
+
</div>
|
| 288 |
+
<div class="text-right">
|
| 289 |
+
<p class="font-medium text-blue-600">$3,750.00</p>
|
| 290 |
+
<p class="text-sm text-gray-500">5 days ago</p>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
<div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg">
|
| 294 |
+
<div class="flex items-center space-x-3">
|
| 295 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
|
| 296 |
+
<i class="fas fa-wifi"></i>
|
| 297 |
+
</div>
|
| 298 |
+
<div>
|
| 299 |
+
<p class="font-medium">Software Subscription</p>
|
| 300 |
+
<p class="text-sm text-gray-500">Adobe Creative Cloud</p>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
<div class="text-right">
|
| 304 |
+
<p class="font-medium text-red-600">-$52.99</p>
|
| 305 |
+
<p class="text-sm text-gray-500">1 week ago</p>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
|
| 311 |
+
<!-- Quick Stats -->
|
| 312 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
| 313 |
+
<div class="mb-6">
|
| 314 |
+
<h3 class="text-lg font-semibold">Quick Stats</h3>
|
| 315 |
+
</div>
|
| 316 |
+
<div class="space-y-4">
|
| 317 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 318 |
+
<div class="flex items-center justify-between">
|
| 319 |
+
<div>
|
| 320 |
+
<p class="text-sm font-medium text-gray-500">Invoices Sent</p>
|
| 321 |
+
<h3 class="text-xl font-bold mt-1">24</h3>
|
| 322 |
+
</div>
|
| 323 |
+
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center text-primary">
|
| 324 |
+
<i class="fas fa-paper-plane"></i>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</div>
|
| 328 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 329 |
+
<div class="flex items-center justify-between">
|
| 330 |
+
<div>
|
| 331 |
+
<p class="text-sm font-medium text-gray-500">Bills to Pay</p>
|
| 332 |
+
<h3 class="text-xl font-bold mt-1">8</h3>
|
| 333 |
+
</div>
|
| 334 |
+
<div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center text-red-500">
|
| 335 |
+
<i class="fas fa-file-invoice-dollar"></i>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 340 |
+
<div class="flex items-center justify-between">
|
| 341 |
+
<div>
|
| 342 |
+
<p class="text-sm font-medium text-gray-500">Upcoming Payments</p>
|
| 343 |
+
<h3 class="text-xl font-bold mt-1">3</h3>
|
| 344 |
+
</div>
|
| 345 |
+
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500">
|
| 346 |
+
<i class="fas fa-clock"></i>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</div>
|
| 350 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 351 |
+
<div class="flex items-center justify-between">
|
| 352 |
+
<div>
|
| 353 |
+
<p class="text-sm font-medium text-gray-500">Tax Due</p>
|
| 354 |
+
<h3 class="text-xl font-bold mt-1">$2,450</h3>
|
| 355 |
+
</div>
|
| 356 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-500">
|
| 357 |
+
<i class="fas fa-percentage"></i>
|
| 358 |
+
</div>
|
| 359 |
+
</div>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
</div>
|
| 364 |
+
</main>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 369 |
+
<script>
|
| 370 |
+
// Toggle sidebar on mobile
|
| 371 |
+
document.getElementById('sidebarToggle').addEventListener('click', function() {
|
| 372 |
+
document.querySelector('.sidebar').classList.toggle('active');
|
| 373 |
+
});
|
| 374 |
+
|
| 375 |
+
// Revenue Chart
|
| 376 |
+
const revenueCtx = document.getElementById('revenueChart').getContext('2d');
|
| 377 |
+
const revenueChart = new Chart(revenueCtx, {
|
| 378 |
+
type: 'line',
|
| 379 |
+
data: {
|
| 380 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
| 381 |
+
datasets: [{
|
| 382 |
+
label: 'Revenue',
|
| 383 |
+
data: [6500, 5900, 8000, 8100, 5600, 8500, 7300],
|
| 384 |
+
backgroundColor: 'rgba(79, 70, 229, 0.1)',
|
| 385 |
+
borderColor: '#4F46E5',
|
| 386 |
+
borderWidth: 2,
|
| 387 |
+
tension: 0.3,
|
| 388 |
+
fill: true
|
| 389 |
+
}]
|
| 390 |
+
},
|
| 391 |
+
options: {
|
| 392 |
+
responsive: true,
|
| 393 |
+
maintainAspectRatio: false,
|
| 394 |
+
plugins: {
|
| 395 |
+
legend: {
|
| 396 |
+
display: false
|
| 397 |
+
}
|
| 398 |
+
},
|
| 399 |
+
scales: {
|
| 400 |
+
y: {
|
| 401 |
+
beginAtZero: true,
|
| 402 |
+
grid: {
|
| 403 |
+
drawBorder: false
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
x: {
|
| 407 |
+
grid: {
|
| 408 |
+
display: false
|
| 409 |
+
}
|
| 410 |
+
}
|
| 411 |
+
}
|
| 412 |
+
}
|
| 413 |
+
});
|
| 414 |
+
|
| 415 |
+
// Expense Chart
|
| 416 |
+
const expenseCtx = document.getElementById('expenseChart').getContext('2d');
|
| 417 |
+
const expenseChart = new Chart(expenseCtx, {
|
| 418 |
+
type: 'doughnut',
|
| 419 |
+
data: {
|
| 420 |
+
labels: ['Office', 'Salaries', 'Marketing', 'Software', 'Utilities'],
|
| 421 |
+
datasets: [{
|
| 422 |
+
data: [25, 40, 15, 10, 10],
|
| 423 |
+
backgroundColor: [
|
| 424 |
+
'#4F46E5',
|
| 425 |
+
'#10B981',
|
| 426 |
+
'#F59E0B',
|
| 427 |
+
'#EF4444',
|
| 428 |
+
'#3B82F6'
|
| 429 |
+
],
|
| 430 |
+
borderWidth: 0
|
| 431 |
+
}]
|
| 432 |
+
},
|
| 433 |
+
options: {
|
| 434 |
+
responsive: true,
|
| 435 |
+
maintainAspectRatio: false,
|
| 436 |
+
cutout: '70%',
|
| 437 |
+
plugins: {
|
| 438 |
+
legend: {
|
| 439 |
+
position: 'right',
|
| 440 |
+
}
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
});
|
| 444 |
+
|
| 445 |
+
// Sample data for recent transactions (would normally come from API)
|
| 446 |
+
const transactions = [
|
| 447 |
+
{ type: 'income', amount: 2500, description: 'Invoice Payment', from: 'Acme Corp', date: '2 days ago' },
|
| 448 |
+
{ type: 'expense', amount: 189.50, description: 'Office Supplies', from: 'Staples', date: '3 days ago' },
|
| 449 |
+
{ type: 'invoice', amount: 3750, description: 'Invoice Sent', from: 'Beta LLC', date: '5 days ago' },
|
| 450 |
+
{ type: 'expense', amount: 52.99, description: 'Software Subscription', from: 'Adobe', date: '1 week ago' }
|
| 451 |
+
];
|
| 452 |
+
|
| 453 |
+
// You could use this data to dynamically populate the transactions list
|
| 454 |
+
// For now, we're using static HTML for better initial rendering
|
| 455 |
+
</script>
|
| 456 |
+
<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=Jeremy8776/accounting-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 457 |
+
</html>
|