| <!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> |
| |
| @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); |
| } |
| |
| |
| ::-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-block { |
| font-family: 'Courier New', Courier, monospace; |
| background-color: #1e293b; |
| color: #f8fafc; |
| border-radius: 0.5rem; |
| padding: 1rem; |
| overflow-x: auto; |
| } |
| |
| |
| .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"> |
| |
| <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> |
| |
| |
| <div class="flex flex-col flex-1 overflow-hidden"> |
| |
| <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> |
| |
| <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> |
| |
| |
| <div class="flex-1 overflow-auto p-6"> |
| |
| <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> |
| |
| |
| <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"> |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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"> |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| |
| <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> |
| |
| document.getElementById('user-menu-button').addEventListener('click', function() { |
| const menu = document.getElementById('user-menu'); |
| menu.classList.toggle('hidden'); |
| }); |
| |
| |
| 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'); |
| } |
| }); |
| |
| |
| 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'); |
| } |
| }); |
| |
| |
| document.addEventListener('DOMContentLoaded', function() { |
| |
| 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> |