Prompt "Design a sleek, modern WiFi client billing dashboard with a calm tech vibe. Use a clean indigo/dark blue color scheme with soft neon accents. The system should include: Client Management Smooth card-based client profiles (name, MAC address, plan, status) "Add Client" floating action button with subtle glow Billing Automation Visual timeline for billing cycles (weekly/monthly) Toggle switches for auto-invoicing and payment reminders Usage & Payments Dashboard Live bandwidth usage graphs (minimalist sparklines) Payment status badges (Paid/Pending/Overdue) with color-coded pulses Invoice Generation One-click "Generate Invoice" button with smooth slide-out animation Printable minimalist invoice template (client details, usage, amount due) Alerts & Notifications Toast notifications for payment confirmations Gentle pulsating warning icon for overdue accounts Tech Stack Suggestions: Frontend: React + Tailwind CSS with Framer Motion animations Charts: Lightweight Chart.js or D3 for data viz Backend: Firebase (for auth/database) or Node.js + Stripe/PayPal API Vibe Elements: Glassmorphism panels with soft blur Hover micro-interactions on buttons/cards Ambient gradient background (#0f172a → #1e293b) Cyber font (e.g., Orbitron for headers, Inter for body)" - Initial Deployment
Browse files- README.md +7 -5
- index.html +761 -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: jay
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: blue
|
| 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,761 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5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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>NeoConnect | WiFi Billing Dashboard</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/chart.js@3.9.1/dist/chart.umd.min.js"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0"></script>
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@300;400;500&display=swap" rel="stylesheet">
|
| 11 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 12 |
+
<style>
|
| 13 |
+
:root {
|
| 14 |
+
--primary: #6366f1;
|
| 15 |
+
--primary-dark: #4338ca;
|
| 16 |
+
--accent: #7dd3fc;
|
| 17 |
+
--bg-dark: #0f172a;
|
| 18 |
+
--bg-light: #1e293b;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
body {
|
| 22 |
+
font-family: 'Inter', sans-serif;
|
| 23 |
+
background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
|
| 24 |
+
color: #e2e8f0;
|
| 25 |
+
min-height: 100vh;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
h1, h2, h3, .font-tech {
|
| 29 |
+
font-family: 'Orbitron', sans-serif;
|
| 30 |
+
letter-spacing: 0.05em;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.glass-card {
|
| 34 |
+
background: rgba(15, 23, 42, 0.7);
|
| 35 |
+
backdrop-filter: blur(10px);
|
| 36 |
+
border: 1px solid rgba(99, 102, 241, 0.2);
|
| 37 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.glow-effect {
|
| 41 |
+
box-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.pulse {
|
| 45 |
+
animation: pulse 2s infinite;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
@keyframes pulse {
|
| 49 |
+
0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
|
| 50 |
+
70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
|
| 51 |
+
100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.slide-in-right {
|
| 55 |
+
animation: slideInRight 0.3s ease-out forwards;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
@keyframes slideInRight {
|
| 59 |
+
from { transform: translateX(100%); opacity: 0; }
|
| 60 |
+
to { transform: translateX(0); opacity: 1; }
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.sparkline {
|
| 64 |
+
height: 30px;
|
| 65 |
+
width: 100px;
|
| 66 |
+
}
|
| 67 |
+
</style>
|
| 68 |
+
</head>
|
| 69 |
+
<body class="min-h-screen">
|
| 70 |
+
<div class="container mx-auto px-4 py-8">
|
| 71 |
+
<!-- Header Section -->
|
| 72 |
+
<header class="flex justify-between items-center mb-8">
|
| 73 |
+
<div>
|
| 74 |
+
<h1 class="text-3xl font-tech text-indigo-400">NeoConnect<span class="text-accent">.</span></h1>
|
| 75 |
+
<p class="text-slate-400 text-sm">WiFi Client Billing System</p>
|
| 76 |
+
</div>
|
| 77 |
+
<div class="flex items-center space-x-4">
|
| 78 |
+
<button class="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg flex items-center text-sm">
|
| 79 |
+
<i class="fas fa-cog mr-2"></i> Settings
|
| 80 |
+
</button>
|
| 81 |
+
<div class="relative">
|
| 82 |
+
<div class="h-10 w-10 rounded-full bg-indigo-500 flex items-center justify-center">
|
| 83 |
+
<i class="fas fa-user"></i>
|
| 84 |
+
</div>
|
| 85 |
+
<span class="absolute top-0 right-0 h-3 w-3 rounded-full bg-green-500 pulse"></span>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</header>
|
| 89 |
+
|
| 90 |
+
<!-- Stats Overview -->
|
| 91 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
|
| 92 |
+
<div class="glass-card p-6 rounded-xl">
|
| 93 |
+
<h3 class="text-slate-400 text-sm mb-1">Active Clients</h3>
|
| 94 |
+
<div class="flex justify-between items-end">
|
| 95 |
+
<p class="text-3xl font-semibold">42</p>
|
| 96 |
+
<span class="text-green-400 text-sm flex items-center">
|
| 97 |
+
<i class="fas fa-arrow-up mr-1"></i> 5%
|
| 98 |
+
</span>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
<div class="glass-card p-6 rounded-xl">
|
| 102 |
+
<h3 class="text-slate-400 text-sm mb-1">Monthly Revenue</h3>
|
| 103 |
+
<div class="flex justify-between items-end">
|
| 104 |
+
<p class="text-3xl font-semibold">$1,890</p>
|
| 105 |
+
<span class="text-green-400 text-sm flex items-center">
|
| 106 |
+
<i class="fas fa-arrow-up mr-1"></i> 12%
|
| 107 |
+
</span>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
<div class="glass-card p-6 rounded-xl">
|
| 111 |
+
<h3 class="text-slate-400 text-sm mb-1">Payments Due</h3>
|
| 112 |
+
<div class="flex justify-between items-end">
|
| 113 |
+
<p class="text-3xl font-semibold">3</p>
|
| 114 |
+
<span class="text-amber-400 text-sm flex items-center">
|
| 115 |
+
<i class="fas fa-exclamation-circle mr-1"></i> Needs attention
|
| 116 |
+
</span>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="glass-card p-6 rounded-xl">
|
| 120 |
+
<h3 class="text-slate-400 text-sm mb-1">Avg. Bandwidth</h3>
|
| 121 |
+
<div class="flex justify-between items-end">
|
| 122 |
+
<p class="text-3xl font-semibold">45 Mbps</p>
|
| 123 |
+
<span class="text-accent text-sm flex items-center">
|
| 124 |
+
<i class="fas fa-chart-line mr-1"></i> Stable
|
| 125 |
+
</span>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<!-- Main Content Area -->
|
| 131 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 132 |
+
<!-- Client Management Section -->
|
| 133 |
+
<div class="lg:col-span-2 space-y-6">
|
| 134 |
+
<div class="flex justify-between items-center">
|
| 135 |
+
<h2 class="text-xl font-tech text-indigo-300">Client Management</h2>
|
| 136 |
+
<button id="addClientBtn" class="bg-indigo-600 hover:bg-indigo-500 glow-effect px-4 py-2 rounded-full flex items-center text-sm">
|
| 137 |
+
<i class="fas fa-plus mr-2"></i> Add Client
|
| 138 |
+
</button>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<!-- Search and Filters -->
|
| 142 |
+
<div class="glass-card p-4 rounded-lg">
|
| 143 |
+
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
| 144 |
+
<div class="relative flex-grow">
|
| 145 |
+
<i class="fas fa-search absolute left-3 top-3 text-slate-500"></i>
|
| 146 |
+
<input type="text" placeholder="Search clients..." class="bg-slate-800 pl-10 pr-4 py-2 w-full rounded-lg focus:ring-2 focus:ring-indigo-500 focus:outline-none">
|
| 147 |
+
</div>
|
| 148 |
+
<div class="flex space-x-2">
|
| 149 |
+
<button class="bg-slate-700 hover:bg-slate-600 px-3 py-1 rounded-lg text-sm">All</button>
|
| 150 |
+
<button class="bg-slate-700 hover:bg-slate-600 px-3 py-1 rounded-lg text-sm">Active</button>
|
| 151 |
+
<button class="bg-slate-700 hover:bg-slate-600 px-3 py-1 rounded-lg text-sm">Pending</button>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
<!-- Client Cards -->
|
| 157 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 158 |
+
<!-- Client Card 1 -->
|
| 159 |
+
<div class="glass-card p-4 rounded-xl hover:border-indigo-400 transition-all duration-200 relative group">
|
| 160 |
+
<div class="absolute top-2 right-2">
|
| 161 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-amber-100/10 text-amber-500">
|
| 162 |
+
Pro Plan
|
| 163 |
+
</span>
|
| 164 |
+
</div>
|
| 165 |
+
<div class="flex items-start space-x-4">
|
| 166 |
+
<div class="h-12 w-12 rounded-full bg-indigo-500/20 flex items-center justify-center">
|
| 167 |
+
<i class="fas fa-user text-indigo-400"></i>
|
| 168 |
+
</div>
|
| 169 |
+
<div class="flex-1">
|
| 170 |
+
<h3 class="font-medium group-hover:text-indigo-300 transition-colors">Alex Johnson</h3>
|
| 171 |
+
<p class="text-slate-400 text-sm mt-1">MAC: 12:34:56:78:90:AB</p>
|
| 172 |
+
<div class="flex items-center justify-between mt-2">
|
| 173 |
+
<div>
|
| 174 |
+
<canvas class="sparkline" id="client1Usage"></canvas>
|
| 175 |
+
</div>
|
| 176 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100/10 text-green-500">
|
| 177 |
+
<span class="h-2 w-2 rounded-full bg-green-500 mr-1"></span> Paid
|
| 178 |
+
</span>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
<div class="mt-3 pt-3 border-t border-slate-700/50 flex justify-between">
|
| 183 |
+
<button class="text-xs text-slate-400 hover:text-indigo-300 flex items-center">
|
| 184 |
+
<i class="fas fa-clock mr-1"></i> Auto-billing
|
| 185 |
+
</button>
|
| 186 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 187 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
| 188 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 189 |
+
</label>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
|
| 193 |
+
<!-- Client Card 2 -->
|
| 194 |
+
<div class="glass-card p-4 rounded-xl hover:border-indigo-400 transition-all duration-200 relative group">
|
| 195 |
+
<div class="absolute top-2 right-2">
|
| 196 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-100/10 text-purple-500">
|
| 197 |
+
Business
|
| 198 |
+
</span>
|
| 199 |
+
</div>
|
| 200 |
+
<div class="flex items-start space-x-4">
|
| 201 |
+
<div class="h-12 w-12 rounded-full bg-indigo-500/20 flex items-center justify-center">
|
| 202 |
+
<i class="fas fa-building text-indigo-400"></i>
|
| 203 |
+
</div>
|
| 204 |
+
<div class="flex-1">
|
| 205 |
+
<h3 class="font-medium group-hover:text-indigo-300 transition-colors">Tech Solutions LLC</h3>
|
| 206 |
+
<p class="text-slate-400 text-sm mt-1">MAC: 76:54:32:10:FE:DC</p>
|
| 207 |
+
<div class="flex items-center justify-between mt-2">
|
| 208 |
+
<div>
|
| 209 |
+
<canvas class="sparkline" id="client2Usage"></canvas>
|
| 210 |
+
</div>
|
| 211 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-amber-100/10 text-amber-500">
|
| 212 |
+
<span class="h-2 w-2 rounded-full bg-amber-500 mr-1 pulse"></span> Overdue
|
| 213 |
+
</span>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="mt-3 pt-3 border-t border-slate-700/50 flex justify-between">
|
| 218 |
+
<button class="text-xs text-slate-400 hover:text-indigo-300 flex items-center">
|
| 219 |
+
<i class="fas fa-clock mr-1"></i> Auto-billing
|
| 220 |
+
</button>
|
| 221 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 222 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
| 223 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 224 |
+
</label>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
|
| 228 |
+
<!-- Client Card 3 -->
|
| 229 |
+
<div class="glass-card p-4 rounded-xl hover:border-indigo-400 transition-all duration-200 relative group">
|
| 230 |
+
<div class="absolute top-2 right-2">
|
| 231 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100/10 text-blue-500">
|
| 232 |
+
Basic
|
| 233 |
+
</span>
|
| 234 |
+
</div>
|
| 235 |
+
<div class="flex items-start space-x-4">
|
| 236 |
+
<div class="h-12 w-12 rounded-full bg-indigo-500/20 flex items-center justify-center">
|
| 237 |
+
<i class="fas fa-user text-indigo-400"></i>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="flex-1">
|
| 240 |
+
<h3 class="font-medium group-hover:text-indigo-300 transition-colors">Sarah Williams</h3>
|
| 241 |
+
<p class="text-slate-400 text-sm mt-1">MAC: AB:CD:EF:12:34:56</p>
|
| 242 |
+
<div class="flex items-center justify-between mt-2">
|
| 243 |
+
<div>
|
| 244 |
+
<canvas class="sparkline" id="client3Usage"></canvas>
|
| 245 |
+
</div>
|
| 246 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-sky-100/10 text-sky-500">
|
| 247 |
+
<span class="h-2 w-2 rounded-full bg-sky-500 mr-1"></span> Pending
|
| 248 |
+
</span>
|
| 249 |
+
</div>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
<div class="mt-3 pt-3 border-t border-slate-700/50 flex justify-between">
|
| 253 |
+
<button class="text-xs text-slate-400 hover:text-indigo-300 flex items-center">
|
| 254 |
+
<i class="fas fa-clock mr-1"></i> Auto-billing
|
| 255 |
+
</button>
|
| 256 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 257 |
+
<input type="checkbox" value="" class="sr-only peer">
|
| 258 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 259 |
+
</label>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
|
| 263 |
+
<!-- Client Card 4 -->
|
| 264 |
+
<div class="glass-card p-4 rounded-xl hover:border-indigo-400 transition-all duration-200 relative group">
|
| 265 |
+
<div class="absolute top-2 right-2">
|
| 266 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-emerald-100/10 text-emerald-500">
|
| 267 |
+
Premium
|
| 268 |
+
</span>
|
| 269 |
+
</div>
|
| 270 |
+
<div class="flex items-start space-x-4">
|
| 271 |
+
<div class="h-12 w-12 rounded-full bg-indigo-500/20 flex items-center justify-center">
|
| 272 |
+
<i class="fas fa-home text-indigo-400"></i>
|
| 273 |
+
</div>
|
| 274 |
+
<div class="flex-1">
|
| 275 |
+
<h3 class="font-medium group-hover:text-indigo-300 transition-colors">Rivera Family</h3>
|
| 276 |
+
<p class="text-slate-400 text-sm mt-1">MAC: 89:AB:CD:EF:01:23</p>
|
| 277 |
+
<div class="flex items-center justify-between mt-2">
|
| 278 |
+
<div>
|
| 279 |
+
<canvas class="sparkline" id="client4Usage"></canvas>
|
| 280 |
+
</div>
|
| 281 |
+
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100/10 text-green-500">
|
| 282 |
+
<span class="h-2 w-2 rounded-full bg-green-500 mr-1"></span> Paid
|
| 283 |
+
</span>
|
| 284 |
+
</div>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
<div class="mt-3 pt-3 border-t border-slate-700/50 flex justify-between">
|
| 288 |
+
<button class="text-xs text-slate-400 hover:text-indigo-300 flex items-center">
|
| 289 |
+
<i class="fas fa-clock mr-1"></i> Auto-billing
|
| 290 |
+
</button>
|
| 291 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 292 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
| 293 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 294 |
+
</label>
|
| 295 |
+
</div>
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
+
</div>
|
| 299 |
+
|
| 300 |
+
<!-- Billing & Activity Section -->
|
| 301 |
+
<div class="space-y-6">
|
| 302 |
+
<h2 class="text-xl font-tech text-indigo-300">Billing Automation</h2>
|
| 303 |
+
|
| 304 |
+
<div class="glass-card p-6 rounded-xl">
|
| 305 |
+
<div class="flex justify-between items-center mb-4">
|
| 306 |
+
<h3 class="font-medium">Billing Cycle</h3>
|
| 307 |
+
<div class="flex items-center space-x-2">
|
| 308 |
+
<button class="bg-indigo-700 text-indigo-200 px-3 py-1 rounded-lg text-xs">Weekly</button>
|
| 309 |
+
<button class="bg-slate-700 hover:bg-slate-600 px-3 py-1 rounded-lg text-xs">Monthly</button>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<div class="h-40 mb-4">
|
| 314 |
+
<canvas id="billingTimeline"></canvas>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<div class="space-y-3">
|
| 318 |
+
<div class="flex items-center justify-between">
|
| 319 |
+
<div class="flex items-center space-x-3">
|
| 320 |
+
<i class="fas fa-envelope text-amber-400"></i>
|
| 321 |
+
<span class="text-sm">Payment Reminders</span>
|
| 322 |
+
</div>
|
| 323 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 324 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
| 325 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 326 |
+
</label>
|
| 327 |
+
</div>
|
| 328 |
+
<div class="flex items-center justify-between">
|
| 329 |
+
<div class="flex items-center space-x-3">
|
| 330 |
+
<i class="fas fa-file-invoice-dollar text-accent"></i>
|
| 331 |
+
<span class="text-sm">Auto-Invoicing</span>
|
| 332 |
+
</div>
|
| 333 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 334 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
| 335 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 336 |
+
</label>
|
| 337 |
+
</div>
|
| 338 |
+
<div class="flex items-center justify-between">
|
| 339 |
+
<div class="flex items-center space-x-3">
|
| 340 |
+
<i class="fas fa-credit-card text-green-400"></i>
|
| 341 |
+
<span class="text-sm">Auto-Pay</span>
|
| 342 |
+
</div>
|
| 343 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
| 344 |
+
<input type="checkbox" value="" class="sr-only peer">
|
| 345 |
+
<div class="w-9 h-5 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-indigo-600"></div>
|
| 346 |
+
</label>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</div>
|
| 350 |
+
|
| 351 |
+
<div class="glass-card p-6 rounded-xl">
|
| 352 |
+
<div class="flex justify-between items-center mb-4">
|
| 353 |
+
<h3 class="font-medium">Generate Invoice</h3>
|
| 354 |
+
<button class="text-xs text-slate-400 hover:text-indigo-300">
|
| 355 |
+
View All
|
| 356 |
+
</button>
|
| 357 |
+
</div>
|
| 358 |
+
|
| 359 |
+
<div class="flex flex-col space-y-4">
|
| 360 |
+
<div class="flex justify-between items-center py-2 px-3 rounded-lg bg-slate-800">
|
| 361 |
+
<div>
|
| 362 |
+
<h4 class="text-sm font-medium">Sarah Williams</h4>
|
| 363 |
+
<p class="text-xs text-slate-400">Jul 1 - Jul 31</p>
|
| 364 |
+
</div>
|
| 365 |
+
<button id="generateInvoiceBtn" class="bg-indigo-600 hover:bg-indigo-500 text-xs px-3 py-1 rounded-lg flex items-center">
|
| 366 |
+
<i class="fas fa-file-export mr-1"></i> Generate
|
| 367 |
+
</button>
|
| 368 |
+
</div>
|
| 369 |
+
<div class="flex justify-between items-center py-2 px-3 rounded-lg bg-slate-800">
|
| 370 |
+
<div>
|
| 371 |
+
<h4 class="text-sm font-medium">Tech Solutions LLC</h4>
|
| 372 |
+
<p class="text-xs text-slate-400">Jul 1 - Jul 31</p>
|
| 373 |
+
</div>
|
| 374 |
+
<button class="bg-indigo-600 hover:bg-indigo-500 text-xs px-3 py-1 rounded-lg flex items-center">
|
| 375 |
+
<i class="fas fa-file-export mr-1"></i> Generate
|
| 376 |
+
</button>
|
| 377 |
+
</div>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
|
| 384 |
+
<!-- Invoice Modal (Hidden by default) -->
|
| 385 |
+
<div id="invoiceModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center p-4 z-50 hidden">
|
| 386 |
+
<div class="bg-slate-900 rounded-xl max-w-2xl w-full p-6 slide-in-right glass-card">
|
| 387 |
+
<div class="flex justify-between items-center mb-6">
|
| 388 |
+
<h2 class="text-xl font-tech text-indigo-300">Invoice</h2>
|
| 389 |
+
<button id="closeInvoiceBtn" class="text-slate-400 hover:text-white">
|
| 390 |
+
<i class="fas fa-times"></i>
|
| 391 |
+
</button>
|
| 392 |
+
</div>
|
| 393 |
+
|
| 394 |
+
<div class="mb-6">
|
| 395 |
+
<div class="flex justify-between mb-8">
|
| 396 |
+
<div>
|
| 397 |
+
<h3 class="font-medium text-lg">NeoConnect</h3>
|
| 398 |
+
<p class="text-slate-400 text-sm">1234 Tech Ave, Suite 400</p>
|
| 399 |
+
<p class="text-slate-400 text-sm">San Francisco, CA 94107</p>
|
| 400 |
+
</div>
|
| 401 |
+
<div class="text-right">
|
| 402 |
+
<h3 class="font-medium text-lg">Invoice #NC-2023-042</h3>
|
| 403 |
+
<p class="text-slate-400 text-sm">Date: July 15, 2023</p>
|
| 404 |
+
<p class="text-slate-400 text-sm">Due: July 30, 2023</p>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
|
| 408 |
+
<div class="mb-8">
|
| 409 |
+
<h4 class="text-sm font-medium text-slate-400 mb-2">BILL TO:</h4>
|
| 410 |
+
<p class="font-medium">Sarah Williams</p>
|
| 411 |
+
<p class="text-slate-400 text-sm">MAC: AB:CD:EF:12:34:56</p>
|
| 412 |
+
<p class="text-slate-400 text-sm">sarah@example.com</p>
|
| 413 |
+
</div>
|
| 414 |
+
|
| 415 |
+
<div class="glass-card p-4 rounded-lg mb-6">
|
| 416 |
+
<table class="w-full">
|
| 417 |
+
<thead>
|
| 418 |
+
<tr class="text-left text-sm border-b border-slate-700">
|
| 419 |
+
<th class="pb-2">Description</th>
|
| 420 |
+
<th class="text-right pb-2">Amount</th>
|
| 421 |
+
</tr>
|
| 422 |
+
</thead>
|
| 423 |
+
<tbody>
|
| 424 |
+
<tr class="text-sm">
|
| 425 |
+
<td class="py-3">Basic WiFi Plan (Jul 1-31)</td>
|
| 426 |
+
<td class="text-right py-3">$29.99</td>
|
| 427 |
+
</tr>
|
| 428 |
+
<tr class="text-sm">
|
| 429 |
+
<td class="py-3">Overage (15GB)</td>
|
| 430 |
+
<td class="text-right py-3">$5.00</td>
|
| 431 |
+
</tr>
|
| 432 |
+
<tr class="text-sm">
|
| 433 |
+
<td class="py-3">Tax (8.5%)</td>
|
| 434 |
+
<td class="text-right py-3">$2.98</td>
|
| 435 |
+
</tr>
|
| 436 |
+
<tr class="text-sm font-medium border-t border-slate-700">
|
| 437 |
+
<td class="pt-3">Total Due</td>
|
| 438 |
+
<td class="text-right pt-3">$37.97</td>
|
| 439 |
+
</tr>
|
| 440 |
+
</tbody>
|
| 441 |
+
</table>
|
| 442 |
+
</div>
|
| 443 |
+
|
| 444 |
+
<div class="flex justify-between items-center text-sm">
|
| 445 |
+
<div>
|
| 446 |
+
<p class="text-slate-400">Payment accepted via:</p>
|
| 447 |
+
<div class="flex space-x-2 mt-2">
|
| 448 |
+
<i class="fab fa-cc-visa text-2xl text-blue-500"></i>
|
| 449 |
+
<i class="fab fa-cc-mastercard text-2xl text-amber-600"></i>
|
| 450 |
+
<i class="fab fa-cc-paypal text-2xl text-blue-400"></i>
|
| 451 |
+
</div>
|
| 452 |
+
</div>
|
| 453 |
+
<div class="text-right">
|
| 454 |
+
<button class="bg-indigo-600 hover:bg-indigo-500 px-4 py-2 rounded-lg mr-2">
|
| 455 |
+
<i class="fas fa-paper-plane mr-1"></i> Email
|
| 456 |
+
</button>
|
| 457 |
+
<button class="bg-slate-700 hover:bg-slate-600 px-4 py-2 rounded-lg">
|
| 458 |
+
<i class="fas fa-print mr-1"></i> Print
|
| 459 |
+
</button>
|
| 460 |
+
</div>
|
| 461 |
+
</div>
|
| 462 |
+
</div>
|
| 463 |
+
</div>
|
| 464 |
+
</div>
|
| 465 |
+
|
| 466 |
+
<!-- Add Client Modal (Hidden by default) -->
|
| 467 |
+
<div id="addClientModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center p-4 z-50 hidden">
|
| 468 |
+
<div class="bg-slate-900 rounded-xl max-w-md w-full p-6 slide-in-right glass-card">
|
| 469 |
+
<div class="flex justify-between items-center mb-6">
|
| 470 |
+
<h2 class="text-xl font-tech text-indigo-300">Add New Client</h2>
|
| 471 |
+
<button id="closeAddClientBtn" class="text-slate-400 hover:text-white">
|
| 472 |
+
<i class="fas fa-times"></i>
|
| 473 |
+
</button>
|
| 474 |
+
</div>
|
| 475 |
+
|
| 476 |
+
<div class="space-y-4">
|
| 477 |
+
<div>
|
| 478 |
+
<label class="block text-sm text-slate-400 mb-1">Full Name</label>
|
| 479 |
+
<input type="text" class="w-full bg-slate-800 border border-slate-700 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:outline-none">
|
| 480 |
+
</div>
|
| 481 |
+
|
| 482 |
+
<div>
|
| 483 |
+
<label class="block text-sm text-slate-400 mb-1">Email</label>
|
| 484 |
+
<input type="email" class="w-full bg-slate-800 border border-slate-700 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:outline-none">
|
| 485 |
+
</div>
|
| 486 |
+
|
| 487 |
+
<div>
|
| 488 |
+
<label class="block text-sm text-slate-400 mb-1">MAC Address</label>
|
| 489 |
+
<input type="text" class="w-full bg-slate-800 border border-slate-700 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:outline-none" placeholder="XX:XX:XX:XX:XX:XX">
|
| 490 |
+
</div>
|
| 491 |
+
|
| 492 |
+
<div>
|
| 493 |
+
<label class="block text-sm text-slate-400 mb-1">Plan</label>
|
| 494 |
+
<select class="w-full bg-slate-800 border border-slate-700 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:outline-none">
|
| 495 |
+
<option>Basic ($29.99/mo)</option>
|
| 496 |
+
<option>Pro ($49.99/mo)</option>
|
| 497 |
+
<option>Premium ($79.99/mo)</option>
|
| 498 |
+
<option>Business ($129.99/mo)</option>
|
| 499 |
+
</select>
|
| 500 |
+
</div>
|
| 501 |
+
|
| 502 |
+
<div class="pt-4">
|
| 503 |
+
<button class="w-full bg-indigo-600 hover:bg-indigo-500 px-4 py-2 rounded-lg">
|
| 504 |
+
<i class="fas fa-save mr-1"></i> Save Client
|
| 505 |
+
</button>
|
| 506 |
+
</div>
|
| 507 |
+
</div>
|
| 508 |
+
</div>
|
| 509 |
+
</div>
|
| 510 |
+
|
| 511 |
+
<!-- Toast Notification (Hidden by default) -->
|
| 512 |
+
<div id="toastNotification" class="fixed bottom-4 right-4 bg-green-600 text-white px-6 py-3 rounded-lg shadow-lg flex items-center space-x-3 z-50 hidden">
|
| 513 |
+
<i class="fas fa-check-circle"></i>
|
| 514 |
+
<span>Invoice generated successfully!</span>
|
| 515 |
+
<button id="closeToastBtn" class="text-white">
|
| 516 |
+
<i class="fas fa-times"></i>
|
| 517 |
+
</button>
|
| 518 |
+
</div>
|
| 519 |
+
|
| 520 |
+
<script>
|
| 521 |
+
// Initialize sparkline charts for client usage
|
| 522 |
+
function initializeSparklines() {
|
| 523 |
+
// Client 1 Usage
|
| 524 |
+
new Chart(
|
| 525 |
+
document.getElementById('client1Usage'),
|
| 526 |
+
{
|
| 527 |
+
type: 'line',
|
| 528 |
+
data: {
|
| 529 |
+
labels: Array(7).fill(''),
|
| 530 |
+
datasets: [{
|
| 531 |
+
data: [10, 25, 35, 20, 30, 40, 45],
|
| 532 |
+
borderColor: '#7dd3fc',
|
| 533 |
+
borderWidth: 2,
|
| 534 |
+
tension: 0.4,
|
| 535 |
+
fill: false,
|
| 536 |
+
pointRadius: 0
|
| 537 |
+
}]
|
| 538 |
+
},
|
| 539 |
+
options: {
|
| 540 |
+
plugins: {
|
| 541 |
+
legend: { display: false },
|
| 542 |
+
tooltip: { enabled: false }
|
| 543 |
+
},
|
| 544 |
+
scales: {
|
| 545 |
+
x: { display: false },
|
| 546 |
+
y: { display: false }
|
| 547 |
+
}
|
| 548 |
+
}
|
| 549 |
+
}
|
| 550 |
+
);
|
| 551 |
+
|
| 552 |
+
// Client 2 Usage
|
| 553 |
+
new Chart(
|
| 554 |
+
document.getElementById('client2Usage'),
|
| 555 |
+
{
|
| 556 |
+
type: 'line',
|
| 557 |
+
data: {
|
| 558 |
+
labels: Array(7).fill(''),
|
| 559 |
+
datasets: [{
|
| 560 |
+
data: [70, 75, 80, 85, 90, 85, 82],
|
| 561 |
+
borderColor: '#f59e0b',
|
| 562 |
+
borderWidth: 2,
|
| 563 |
+
tension: 0.4,
|
| 564 |
+
fill: false,
|
| 565 |
+
pointRadius: 0
|
| 566 |
+
}]
|
| 567 |
+
},
|
| 568 |
+
options: {
|
| 569 |
+
plugins: {
|
| 570 |
+
legend: { display: false },
|
| 571 |
+
tooltip: { enabled: false }
|
| 572 |
+
},
|
| 573 |
+
scales: {
|
| 574 |
+
x: { display: false },
|
| 575 |
+
y: { display: false }
|
| 576 |
+
}
|
| 577 |
+
}
|
| 578 |
+
}
|
| 579 |
+
);
|
| 580 |
+
|
| 581 |
+
// Client 3 Usage
|
| 582 |
+
new Chart(
|
| 583 |
+
document.getElementById('client3Usage'),
|
| 584 |
+
{
|
| 585 |
+
type: 'line',
|
| 586 |
+
data: {
|
| 587 |
+
labels: Array(7).fill(''),
|
| 588 |
+
datasets: [{
|
| 589 |
+
data: [20, 15, 10, 30, 25, 35, 20],
|
| 590 |
+
borderColor: '#0ea5e9',
|
| 591 |
+
borderWidth: 2,
|
| 592 |
+
tension: 0.4,
|
| 593 |
+
fill: false,
|
| 594 |
+
pointRadius: 0
|
| 595 |
+
}]
|
| 596 |
+
},
|
| 597 |
+
options: {
|
| 598 |
+
plugins: {
|
| 599 |
+
legend: { display: false },
|
| 600 |
+
tooltip: { enabled: false }
|
| 601 |
+
},
|
| 602 |
+
scales: {
|
| 603 |
+
x: { display: false },
|
| 604 |
+
y: { display: false }
|
| 605 |
+
}
|
| 606 |
+
}
|
| 607 |
+
}
|
| 608 |
+
);
|
| 609 |
+
|
| 610 |
+
// Client 4 Usage
|
| 611 |
+
new Chart(
|
| 612 |
+
document.getElementById('client4Usage'),
|
| 613 |
+
{
|
| 614 |
+
type: 'line',
|
| 615 |
+
data: {
|
| 616 |
+
labels: Array(7).fill(''),
|
| 617 |
+
datasets: [{
|
| 618 |
+
data: [60, 65, 70, 65, 60, 65, 68],
|
| 619 |
+
borderColor: '#10b981',
|
| 620 |
+
borderWidth: 2,
|
| 621 |
+
tension: 0.4,
|
| 622 |
+
fill: false,
|
| 623 |
+
pointRadius: 0
|
| 624 |
+
}]
|
| 625 |
+
},
|
| 626 |
+
options: {
|
| 627 |
+
plugins: {
|
| 628 |
+
legend: { display: false },
|
| 629 |
+
tooltip: { enabled: false }
|
| 630 |
+
},
|
| 631 |
+
scales: {
|
| 632 |
+
x: { display: false },
|
| 633 |
+
y: { display: false }
|
| 634 |
+
}
|
| 635 |
+
}
|
| 636 |
+
}
|
| 637 |
+
);
|
| 638 |
+
}
|
| 639 |
+
|
| 640 |
+
// Initialize billing timeline chart
|
| 641 |
+
function initializeBillingTimeline() {
|
| 642 |
+
new Chart(
|
| 643 |
+
document.getElementById('billingTimeline'),
|
| 644 |
+
{
|
| 645 |
+
type: 'bar',
|
| 646 |
+
data: {
|
| 647 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
| 648 |
+
datasets: [{
|
| 649 |
+
data: [1200, 1450, 1600, 1500, 1750, 1850, 1890],
|
| 650 |
+
backgroundColor: '#6366f1',
|
| 651 |
+
borderRadius: 8,
|
| 652 |
+
borderWidth: 0
|
| 653 |
+
}]
|
| 654 |
+
},
|
| 655 |
+
options: {
|
| 656 |
+
plugins: {
|
| 657 |
+
legend: { display: false },
|
| 658 |
+
tooltip: {
|
| 659 |
+
callbacks: {
|
| 660 |
+
label: function(context) {
|
| 661 |
+
return '$' + context.raw;
|
| 662 |
+
}
|
| 663 |
+
}
|
| 664 |
+
}
|
| 665 |
+
},
|
| 666 |
+
scales: {
|
| 667 |
+
y: {
|
| 668 |
+
beginAtZero: true,
|
| 669 |
+
grid: {
|
| 670 |
+
color: 'rgba(71,85,105,0.3)',
|
| 671 |
+
drawBorder: false
|
| 672 |
+
},
|
| 673 |
+
ticks: {
|
| 674 |
+
callback: function(value) {
|
| 675 |
+
return '$' + value;
|
| 676 |
+
}
|
| 677 |
+
}
|
| 678 |
+
},
|
| 679 |
+
x: {
|
| 680 |
+
grid: {
|
| 681 |
+
display: false,
|
| 682 |
+
drawBorder: false
|
| 683 |
+
}
|
| 684 |
+
}
|
| 685 |
+
}
|
| 686 |
+
}
|
| 687 |
+
}
|
| 688 |
+
);
|
| 689 |
+
}
|
| 690 |
+
|
| 691 |
+
// Modal and Toast functions
|
| 692 |
+
function showInvoiceModal() {
|
| 693 |
+
document.getElementById('invoiceModal').classList.remove('hidden');
|
| 694 |
+
document.getElementById('invoiceModal').classList.add('flex');
|
| 695 |
+
document.body.classList.add('overflow-hidden');
|
| 696 |
+
}
|
| 697 |
+
|
| 698 |
+
function hideInvoiceModal() {
|
| 699 |
+
document.getElementById('invoiceModal').classList.add('hidden');
|
| 700 |
+
document.getElementById('invoiceModal').classList.remove('flex');
|
| 701 |
+
document.body.classList.remove('overflow-hidden');
|
| 702 |
+
}
|
| 703 |
+
|
| 704 |
+
function showAddClientModal() {
|
| 705 |
+
document.getElementById('addClientModal').classList.remove('hidden');
|
| 706 |
+
document.getElementById('addClientModal').classList.add('flex');
|
| 707 |
+
document.body.classList.add('overflow-hidden');
|
| 708 |
+
}
|
| 709 |
+
|
| 710 |
+
function hideAddClientModal() {
|
| 711 |
+
document.getElementById('addClientModal').classList.add('hidden');
|
| 712 |
+
document.getElementById('addClientModal').classList.remove('flex');
|
| 713 |
+
document.body.classList.remove('overflow-hidden');
|
| 714 |
+
}
|
| 715 |
+
|
| 716 |
+
function showToast() {
|
| 717 |
+
const toast = document.getElementById('toastNotification');
|
| 718 |
+
toast.classList.remove('hidden');
|
| 719 |
+
|
| 720 |
+
setTimeout(() => {
|
| 721 |
+
toast.classList.add('hidden');
|
| 722 |
+
}, 5000);
|
| 723 |
+
}
|
| 724 |
+
|
| 725 |
+
function hideToast() {
|
| 726 |
+
document.getElementById('toastNotification').classList.add('hidden');
|
| 727 |
+
}
|
| 728 |
+
|
| 729 |
+
// Event Listeners
|
| 730 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 731 |
+
initializeSparklines();
|
| 732 |
+
initializeBillingTimeline();
|
| 733 |
+
|
| 734 |
+
// Invoice modal
|
| 735 |
+
document.getElementById('generateInvoiceBtn').addEventListener('click', showInvoiceModal);
|
| 736 |
+
document.getElementById('closeInvoiceBtn').addEventListener('click', hideInvoiceModal);
|
| 737 |
+
|
| 738 |
+
// Add Client modal
|
| 739 |
+
document.getElementById('addClientBtn').addEventListener('click', showAddClientModal);
|
| 740 |
+
document.getElementById('closeAddClientBtn').addEventListener('click', hideAddClientModal);
|
| 741 |
+
|
| 742 |
+
// Toast notification (for demo purposes)
|
| 743 |
+
document.getElementById('generateInvoiceBtn').addEventListener('click', function() {
|
| 744 |
+
setTimeout(showToast, 1500);
|
| 745 |
+
});
|
| 746 |
+
|
| 747 |
+
document.getElementById('closeToastBtn').addEventListener('click', hideToast);
|
| 748 |
+
|
| 749 |
+
// Close modals when clicking outside
|
| 750 |
+
window.addEventListener('click', function(event) {
|
| 751 |
+
if (event.target === document.getElementById('invoiceModal')) {
|
| 752 |
+
hideInvoiceModal();
|
| 753 |
+
}
|
| 754 |
+
if (event.target === document.getElementById('addClientModal')) {
|
| 755 |
+
hideAddClientModal();
|
| 756 |
+
}
|
| 757 |
+
});
|
| 758 |
+
});
|
| 759 |
+
</script>
|
| 760 |
+
<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=jikoniji/jay" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 761 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Prompt "Design a sleek, modern WiFi client billing dashboard with a calm tech vibe. Use a clean indigo/dark blue color scheme with soft neon accents. The system should include: Client Management Smooth card-based client profiles (name, MAC address, plan, status) "Add Client" floating action button with subtle glow Billing Automation Visual timeline for billing cycles (weekly/monthly) Toggle switches for auto-invoicing and payment reminders Usage & Payments Dashboard Live bandwidth usage graphs (minimalist sparklines) Payment status badges (Paid/Pending/Overdue) with color-coded pulses Invoice Generation One-click "Generate Invoice" button with smooth slide-out animation Printable minimalist invoice template (client details, usage, amount due) Alerts & Notifications Toast notifications for payment confirmations Gentle pulsating warning icon for overdue accounts Tech Stack Suggestions: Frontend: React + Tailwind CSS with Framer Motion animations Charts: Lightweight Chart.js or D3 for data viz Backend: Firebase (for auth/database) or Node.js + Stripe/PayPal API Vibe Elements: Glassmorphism panels with soft blur Hover micro-interactions on buttons/cards Ambient gradient background (#0f172a → #1e293b) Cyber font (e.g., Orbitron for headers, Inter for body)"
|