Spaces:
Running
Running
Download index.html from Isaac-808/anycoder-d9e76917: direct link, hf CLI and curl.
- Browser
- Download file 10.5 kB
-
https://huggingface.co/spaces/Isaac-808/anycoder-d9e76917/resolve/main/index.html
- Command line
-
hf download hf://spaces/Isaac-808/anycoder-d9e76917/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Isaac-808/anycoder-d9e76917/resolve/main/index.html
10.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Application Status Dashboard</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| :root { | |
| --primary: #4361ee; | |
| --secondary: #3f37c9; | |
| --danger: #f72585; | |
| --warning: #f8961e; | |
| --success: #4cc9f0; | |
| --dark: #1d3557; | |
| --light: #f8f9fa; | |
| --gray: #adb5bd; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 20px; | |
| } | |
| .container { | |
| width: 100%; | |
| max-width: 1200px; | |
| } | |
| .header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 30px; | |
| color: white; | |
| } | |
| .header h1 { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); | |
| } | |
| .header a { | |
| color: white; | |
| text-decoration: none; | |
| font-size: 0.9rem; | |
| opacity: 0.8; | |
| transition: opacity 0.3s; | |
| } | |
| .header a:hover { | |
| opacity: 1; | |
| text-decoration: underline; | |
| } | |
| .dashboard { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 25px; | |
| } | |
| .card { | |
| background: white; | |
| border-radius: 20px; | |
| padding: 30px; | |
| box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| text-align: center; | |
| } | |
| .card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); | |
| } | |
| .card-icon { | |
| width: 80px; | |
| height: 80px; | |
| border-radius: 50%; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| margin-bottom: 20px; | |
| font-size: 2rem; | |
| color: white; | |
| } | |
| .status-danger { | |
| background: var(--danger); | |
| } | |
| .status-warning { | |
| background: var(--warning); | |
| } | |
| .status-success { | |
| background: var(--success); | |
| } | |
| .status-info { | |
| background: var(--primary); | |
| } | |
| .card h2 { | |
| font-size: 1.5rem; | |
| margin-bottom: 10px; | |
| color: var(--dark); | |
| } | |
| .card p { | |
| color: var(--gray); | |
| margin-bottom: 20px; | |
| line-height: 1.6; | |
| } | |
| .progress-bar { | |
| width: 100%; | |
| height: 10px; | |
| background: #e9ecef; | |
| border-radius: 5px; | |
| overflow: hidden; | |
| margin: 15px 0; | |
| } | |
| .progress { | |
| height: 100%; | |
| border-radius: 5px; | |
| } | |
| .progress-danger { | |
| background: var(--danger); | |
| width: 15%; | |
| } | |
| .progress-warning { | |
| background: var(--warning); | |
| width: 45%; | |
| } | |
| .progress-success { | |
| background: var(--success); | |
| width: 100%; | |
| } | |
| .btn { | |
| padding: 12px 25px; | |
| border: none; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| margin-top: 10px; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .btn-primary { | |
| background: var(--primary); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| background: var(--secondary); | |
| transform: scale(1.05); | |
| } | |
| .btn-outline { | |
| background: transparent; | |
| color: var(--primary); | |
| border: 2px solid var(--primary); | |
| } | |
| .btn-outline:hover { | |
| background: var(--primary); | |
| color: white; | |
| transform: scale(1.05); | |
| } | |
| .notification { | |
| position: fixed; | |
| bottom: 30px; | |
| right: 30px; | |
| background: white; | |
| padding: 20px; | |
| border-radius: 15px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| transform: translateY(100px); | |
| opacity: 0; | |
| transition: all 0.5s; | |
| max-width: 400px; | |
| } | |
| .notification.show { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| .notification-icon { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 50%; | |
| background: var(--danger); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| color: white; | |
| font-size: 1.5rem; | |
| } | |
| .notification-content h4 { | |
| margin-bottom: 5px; | |
| color: var(--dark); | |
| } | |
| .notification-content p { | |
| color: var(--gray); | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .header { | |
| flex-direction: column; | |
| text-align: center; | |
| gap: 10px; | |
| } | |
| .header h1 { | |
| font-size: 2rem; | |
| } | |
| .card { | |
| padding: 20px; | |
| } | |
| .notification { | |
| right: 20px; | |
| left: 20px; | |
| max-width: none; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .dashboard { | |
| grid-template-columns: 1fr; | |
| } | |
| .header h1 { | |
| font-size: 1.8rem; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>Application Status Dashboard</h1> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">Built with anycoder</a> | |
| </div> | |
| <div class="dashboard"> | |
| <div class="card"> | |
| <div class="card-icon status-danger"> | |
| <i class="fas fa-exclamation-triangle"></i> | |
| </div> | |
| <h2>Application Status</h2> | |
| <p>The application is currently not working. There seems to be an issue with the core functionality.</p> | |
| <div class="progress-bar"> | |
| <div class="progress progress-danger"></div> | |
| </div> | |
| <p>System Health: 15%</p> | |
| <button class="btn btn-primary" id="diagnoseBtn"> | |
| <i class="fas fa-search"></i> Run Diagnostics | |
| </button> | |
| </div> | |
| <div class="card"> | |
| <div class="card-icon status-warning"> | |
| <i class="fas fa-tools"></i> | |
| </div> | |
| <h2>Issue Analysis</h2> | |
| <p>Initial diagnostics indicate a problem with the application's main service. Further investigation required.</p> | |
| <div class="progress-bar"> | |
| <div class="progress progress-warning"></div> | |
| </div> | |
| <p>Diagnosis Progress: 45%</p> | |
| <button class="btn btn-outline" id="detailsBtn"> | |
| <i class="fas fa-info-circle"></i> View Details | |
| </button> | |
| </div> | |
| <div class="card"> | |
| <div class="card-icon status-info"> | |
| <i class="fas fa-redo-alt"></i> | |
| </div> | |
| <h2>Recovery Options</h2> | |
| <p>Try restarting the application, checking logs, or contacting support if the problem persists.</p> | |
| <div class="progress-bar"> | |
| <div class="progress progress-success"></div> | |
| </div> | |
| <p>Recovery Options: Available</p> | |
| <button class="btn btn-primary" id="restartBtn"> | |
| <i class="fas fa-power-off"></i> Restart Application | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="notification" id="notification"> | |
| <div class="notification-icon"> | |
| <i class="fas fa-exclamation"></i> | |
| </div> | |
| <div class="notification-content"> | |
| <h4>Application Issue Detected</h4> | |
| <p>The system has identified that the application is not working properly. Our team is investigating.</p> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Show notification after a short delay | |
| setTimeout(function() { | |
| document.getElementById('notification').classList.add('show'); | |
| }, 1000); | |
| // Hide notification after 5 seconds | |
| setTimeout(function() { | |
| document.getElementById('notification').classList.remove('show'); | |
| }, 6000); | |
| // Button event handlers | |
| document.getElementById('diagnoseBtn').addEventListener('click', function() { | |
| alert('Running diagnostics... This may take a few moments.'); | |
| }); | |
| document.getElementById('detailsBtn').addEventListener('click', function() { | |
| alert('Detailed analysis:\n- Service connectivity: FAILED\n- Database connection: OK\n- Authentication service: FAILED\n- API endpoints: PARTIAL'); | |
| }); | |
| document.getElementById('restartBtn').addEventListener('click', function() { | |
| alert('Application restart initiated. Please wait...'); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |