File size: 34,524 Bytes
efe0ed3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI App Generator Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom animations and effects */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}
.card-hover {
transition: all 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Code editor styling */
.code-block {
font-family: 'Courier New', Courier, monospace;
background-color: #1e293b;
color: #f8fafc;
border-radius: 0.5rem;
padding: 1rem;
overflow-x: auto;
}
/* Gradient text */
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(90deg, #6366f1, #8b5cf6);
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 bg-gradient-to-b from-indigo-900 to-indigo-800">
<div class="flex items-center justify-center h-16 px-4 bg-indigo-900">
<div class="flex items-center">
<i class="fas fa-robot text-white text-2xl mr-2"></i>
<span class="text-white font-semibold text-xl">AI App Generator</span>
</div>
</div>
<div class="flex flex-col flex-grow overflow-y-auto">
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="#" class="flex items-center px-4 py-2 text-white bg-indigo-700 rounded-lg group">
<i class="fas fa-magic mr-3"></i>
App Generator
</a>
<a href="#" class="flex items-center px-4 py-2 text-indigo-200 hover:text-white hover:bg-indigo-600 rounded-lg group">
<i class="fas fa-project-diagram mr-3"></i>
Projects
</a>
<a href="#" class="flex items-center px-4 py-2 text-indigo-200 hover:text-white hover:bg-indigo-600 rounded-lg group">
<i class="fas fa-credit-card mr-3"></i>
Monetization
</a>
<a href="#" class="flex items-center px-4 py-2 text-indigo-200 hover:text-white hover:bg-indigo-600 rounded-lg group">
<i class="fas fa-cloud-upload-alt mr-3"></i>
Deployment
</a>
<a href="#" class="flex items-center px-4 py-2 text-indigo-200 hover:text-white hover:bg-indigo-600 rounded-lg group">
<i class="fas fa-shield-alt mr-3"></i>
Security
</a>
</nav>
<div class="px-4 py-4 border-t border-indigo-700">
<div class="flex items-center">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User profile">
<div class="ml-3">
<p class="text-sm font-medium text-white">Sarah Johnson</p>
<p class="text-xs font-medium text-indigo-200">Developer</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex flex-col flex-1 overflow-hidden">
<!-- Top Navigation -->
<div class="flex items-center justify-between h-16 px-6 bg-white border-b border-gray-200">
<div class="flex items-center">
<button class="md:hidden text-gray-500 focus:outline-none">
<i class="fas fa-bars"></i>
</button>
<div class="relative ml-4">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
<i class="fas fa-search text-gray-400"></i>
</div>
<input type="text" class="w-full py-2 pl-10 pr-4 text-sm bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="Search projects...">
</div>
</div>
<div class="flex items-center space-x-4">
<button class="p-1 text-gray-400 rounded-full hover:text-gray-500 focus:outline-none">
<i class="fas fa-bell"></i>
</button>
<button class="p-1 text-gray-400 rounded-full hover:text-gray-500 focus:outline-none">
<i class="fas fa-question-circle"></i>
</button>
<div class="relative">
<button id="user-menu-button" class="flex items-center text-sm text-gray-700 rounded-full focus:outline-none">
<span class="sr-only">Open user menu</span>
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User profile">
</button>
<!-- Dropdown menu -->
<div id="user-menu" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="flex-1 overflow-auto p-6">
<!-- Welcome Banner -->
<div class="bg-gradient-to-r from-indigo-500 to-purple-600 rounded-xl shadow-md p-6 mb-6 text-white animate-fade-in-up">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center">
<div>
<h1 class="text-2xl font-bold mb-2">Generate Your Full-Stack AI App</h1>
<p class="opacity-90">Transform your ideas into production-ready applications with backend and monetization.</p>
</div>
<button class="mt-4 md:mt-0 px-6 py-2 bg-white text-indigo-600 font-medium rounded-lg hover:bg-opacity-90 transition-all">
New Project
</button>
</div>
</div>
<!-- App Generator Form -->
<div class="bg-white rounded-xl shadow-md p-6 mb-6 animate-fade-in-up" style="animation-delay: 0.1s;">
<h2 class="text-xl font-semibold mb-4 gradient-text">App Configuration</h2>
<div class="space-y-6">
<!-- App Description -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Describe your application</label>
<textarea class="w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" rows="3" placeholder="I want to build a SaaS platform for content creators with user authentication, subscription payments, and analytics dashboard..."></textarea>
</div>
<!-- Framework Selection -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Backend Framework</label>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="radio" name="framework" class="text-indigo-600 focus:ring-indigo-500" checked>
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">Flask (Python)</span>
<span class="block text-xs text-gray-500">Lightweight and flexible</span>
</div>
</label>
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="radio" name="framework" class="text-indigo-600 focus:ring-indigo-500">
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">Express.js (Node.js)</span>
<span class="block text-xs text-gray-500">Fast and scalable</span>
</div>
</label>
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="radio" name="framework" class="text-indigo-600 focus:ring-indigo-500">
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">Custom</span>
<span class="block text-xs text-gray-500">Specify your own</span>
</div>
</label>
</div>
</div>
<!-- Monetization Options -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Monetization Strategy</label>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="checkbox" class="text-indigo-600 focus:ring-indigo-500">
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">Stripe</span>
<span class="block text-xs text-gray-500">Payments</span>
</div>
</label>
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="checkbox" class="text-indigo-600 focus:ring-indigo-500">
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">PayPal</span>
<span class="block text-xs text-gray-500">Payments</span>
</div>
</label>
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="checkbox" class="text-indigo-600 focus:ring-indigo-500" checked>
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">Subscriptions</span>
<span class="block text-xs text-gray-500">Recurring billing</span>
</div>
</label>
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:bg-gray-50">
<input type="checkbox" class="text-indigo-600 focus:ring-indigo-500">
<div class="ml-3">
<span class="block text-sm font-medium text-gray-700">API Credits</span>
<span class="block text-xs text-gray-500">Pay-per-use</span>
</div>
</label>
</div>
</div>
<!-- Advanced Options -->
<div class="border-t pt-4">
<button id="toggle-advanced" class="flex items-center text-sm text-indigo-600 hover:text-indigo-800">
<span>Advanced Options</span>
<i class="fas fa-chevron-down ml-1 text-xs"></i>
</button>
<div id="advanced-options" class="mt-4 hidden space-y-4">
<!-- Database Selection -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Database</label>
<select class="w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>SQLite (Default)</option>
<option>PostgreSQL</option>
<option>MySQL</option>
<option>MongoDB</option>
</select>
</div>
<!-- Authentication -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Authentication</label>
<select class="w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>JWT (Default)</option>
<option>OAuth 2.0</option>
<option>Session-based</option>
</select>
</div>
<!-- Deployment Target -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Deployment Target</label>
<select class="w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>Hugging Face Spaces (Default)</option>
<option>Docker</option>
<option>AWS</option>
<option>Google Cloud</option>
<option>Azure</option>
</select>
</div>
</div>
</div>
<!-- Generate Button -->
<div class="flex justify-end">
<button class="px-6 py-2 bg-indigo-600 text-white font-medium rounded-lg hover:bg-indigo-700 transition-all flex items-center">
<i class="fas fa-magic mr-2"></i>
Generate App
</button>
</div>
</div>
</div>
<!-- Generated Code Preview -->
<div class="bg-white rounded-xl shadow-md p-6 mb-6 animate-fade-in-up" style="animation-delay: 0.2s;">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-semibold gradient-text">Generated Code Preview</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-lg">Flask</button>
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-lg">React</button>
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-lg">Stripe</button>
</div>
</div>
<div class="mb-4">
<div class="flex border-b">
<button class="px-4 py-2 text-sm font-medium text-indigo-600 border-b-2 border-indigo-600">app.py</button>
<button class="px-4 py-2 text-sm font-medium text-gray-500 hover:text-gray-700">routes.py</button>
<button class="px-4 py-2 text-sm font-medium text-gray-500 hover:text-gray-700">models.py</button>
<button class="px-4 py-2 text-sm font-medium text-gray-500 hover:text-gray-700">config.py</button>
</div>
</div>
<div class="code-block">
<pre><code># Flask Application with Stripe Integration
from flask import Flask, render_template, request, redirect, url_for
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager, current_user, login_required
import stripe
app = Flask(__name__)
app.config.from_pyfile('config.py')
# Database setup
db = SQLAlchemy(app)
# User model
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True, nullable=False)
password = db.Column(db.String(80), nullable=False)
is_active = db.Column(db.Boolean, default=True)
subscription_status = db.Column(db.String(20), default='free')
# Stripe integration
stripe.api_key = app.config['STRIPE_SECRET_KEY']
@app.route('/')
def home():
return render_template('index.html')
@app.route('/subscribe', methods=['POST'])
@login_required
def subscribe():
# Create Stripe checkout session
session = stripe.checkout.Session.create(
payment_method_types=['card'],
line_items=[{
'price': app.config['STRIPE_PRICE_ID'],
'quantity': 1,
}],
mode='subscription',
success_url=url_for('success', _external=True),
cancel_url=url_for('cancel', _external=True),
)
return redirect(session.url, code=303)
if __name__ == '__main__':
app.run(debug=True)</code></pre>
</div>
<div class="flex justify-end mt-4 space-x-3">
<button class="px-4 py-2 text-sm bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center">
<i class="fas fa-download mr-2"></i>
Download ZIP
</button>
<button class="px-4 py-2 text-sm bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 flex items-center">
<i class="fas fa-cloud-upload-alt mr-2"></i>
Deploy Now
</button>
</div>
</div>
<!-- Project Stats -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6">
<div class="bg-white rounded-xl shadow-md p-6 card-hover animate-fade-in-up" style="animation-delay: 0.3s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Generated Projects</p>
<p class="text-2xl font-bold mt-1">24</p>
<p class="text-sm text-green-500 mt-1">
<i class="fas fa-arrow-up mr-1"></i> 15% from last month
</p>
</div>
<div class="p-3 rounded-lg bg-indigo-100 text-indigo-600">
<i class="fas fa-folder-open text-xl"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 card-hover animate-fade-in-up" style="animation-delay: 0.4s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Active Deployments</p>
<p class="text-2xl font-bold mt-1">18</p>
<p class="text-sm text-green-500 mt-1">
<i class="fas fa-arrow-up mr-1"></i> 22% from last month
</p>
</div>
<div class="p-3 rounded-lg bg-green-100 text-green-600">
<i class="fas fa-server text-xl"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 card-hover animate-fade-in-up" style="animation-delay: 0.5s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Monetized Apps</p>
<p class="text-2xl font-bold mt-1">12</p>
<p class="text-sm text-green-500 mt-1">
<i class="fas fa-arrow-up mr-1"></i> 8% from last month
</p>
</div>
<div class="p-3 rounded-lg bg-blue-100 text-blue-600">
<i class="fas fa-dollar-sign text-xl"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 card-hover animate-fade-in-up" style="animation-delay: 0.6s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Lines of Code Saved</p>
<p class="text-2xl font-bold mt-1">42,780</p>
<p class="text-sm text-green-500 mt-1">
<i class="fas fa-arrow-up mr-1"></i> 31% from last month
</p>
</div>
<div class="p-3 rounded-lg bg-purple-100 text-purple-600">
<i class="fas fa-code text-xl"></i>
</div>
</div>
</div>
</div>
<!-- Recent Projects -->
<div class="bg-white rounded-xl shadow-md overflow-hidden animate-fade-in-up" style="animation-delay: 0.7s;">
<div class="px-6 py-4 border-b border-gray-200">
<div class="flex items-center justify-between">
<h2 class="text-lg font-semibold">Recent Projects</h2>
<button class="px-4 py-2 text-sm bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
View All
</button>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project Name</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Framework</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Monetization</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Updated</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">Content Creator SaaS</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Flask + React</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Stripe Subscriptions</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Deployed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 hours ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
<button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-download"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">E-commerce API</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Express.js</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">PayPal + API Credits</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Generating</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 day ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
<button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-download"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">Analytics Dashboard</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Flask</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">None</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Testing</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 days ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
<button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-download"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">Membership Portal</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Express.js</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Stripe Subscriptions</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Deployed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 week ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
<button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-download"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
// Toggle user dropdown menu
document.getElementById('user-menu-button').addEventListener('click', function() {
const menu = document.getElementById('user-menu');
menu.classList.toggle('hidden');
});
// Close dropdown when clicking outside
document.addEventListener('click', function(event) {
const userMenu = document.getElementById('user-menu');
const userButton = document.getElementById('user-menu-button');
if (!userButton.contains(event.target) && !userMenu.contains(event.target)) {
userMenu.classList.add('hidden');
}
});
// Toggle advanced options
document.getElementById('toggle-advanced').addEventListener('click', function() {
const options = document.getElementById('advanced-options');
const icon = this.querySelector('i');
options.classList.toggle('hidden');
if (options.classList.contains('hidden')) {
icon.classList.remove('fa-chevron-up');
icon.classList.add('fa-chevron-down');
} else {
icon.classList.remove('fa-chevron-down');
icon.classList.add('fa-chevron-up');
}
});
// Simulate loading animations
document.addEventListener('DOMContentLoaded', function() {
// This would be replaced with actual data loading in a real app
setTimeout(() => {
const loadingElements = document.querySelectorAll('.animate-fade-in-up');
loadingElements.forEach(el => {
el.style.opacity = '1';
});
}, 100);
});
</script>
<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=Boobs00/generate" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |