Spaces:
Running
Running
Download web_app/dashboard_improved.html from H3y-sam/Telegram-Bot: direct link, hf CLI and curl.
- Browser
- Download file 22.4 kB
-
https://huggingface.co/spaces/H3y-sam/Telegram-Bot/resolve/main/web_app/dashboard_improved.html
- Command line
-
hf download hf://spaces/H3y-sam/Telegram-Bot/web_app/dashboard_improved.html
-
curl -L -o dashboard_improved.html https://huggingface.co/spaces/H3y-sam/Telegram-Bot/resolve/main/web_app/dashboard_improved.html
22.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CRAZYLEARNIERS - JEE & NEET AI Dashboard</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| --primary: #FF6B35; | |
| --primary-dark: #E65100; | |
| --secondary: #F7931E; | |
| --accent: #FFD60A; | |
| --success: #00D26A; | |
| --warning: #FF7F50; | |
| --dark: #0A0E27; | |
| --dark-lt: #141829; | |
| --text: #F5F7FA; | |
| --text-muted: #A0A9B8; | |
| --border: #2A2D3F; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: linear-gradient(135deg, var(--dark) 0%, #1A1F3A 100%); | |
| color: var(--text); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| /* ===== ANIMATED BACKGROUND ===== */ | |
| .bg-animation { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.1; | |
| } | |
| .blob { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(40px); | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| .blob-1 { | |
| width: 300px; | |
| height: 300px; | |
| background: var(--primary); | |
| top: -100px; | |
| right: -100px; | |
| animation-delay: 0s; | |
| } | |
| .blob-2 { | |
| width: 200px; | |
| height: 200px; | |
| background: var(--secondary); | |
| bottom: 100px; | |
| left: -50px; | |
| animation-delay: -2s; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translate(0, 0); } | |
| 50% { transform: translate(30px, -30px); } | |
| } | |
| /* ===== LAYOUT ===== */ | |
| .container { | |
| display: flex; | |
| height: 100vh; | |
| } | |
| .sidebar { | |
| width: 280px; | |
| background: linear-gradient(180deg, rgba(255, 107, 53, 0.95) 0%, rgba(230, 81, 0, 0.95) 100%); | |
| backdrop-filter: blur(10px); | |
| border-right: 1px solid rgba(255, 255, 255, 0.1); | |
| padding: 30px 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| overflow-y: auto; | |
| animation: slideInLeft 0.6s ease-out; | |
| } | |
| @keyframes slideInLeft { | |
| from { | |
| transform: translateX(-100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin-bottom: 10px; | |
| animation: zoomIn 0.8s ease-out 0.2s both; | |
| } | |
| .logo-icon { | |
| font-size: 32px; | |
| } | |
| .logo-text { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: white; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| line-height: 1.2; | |
| } | |
| .logo-sub { | |
| font-size: 9px; | |
| font-weight: 600; | |
| color: rgba(255, 255, 255, 0.8); | |
| letter-spacing: 0.5px; | |
| text-transform: uppercase; | |
| } | |
| .status-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| background: rgba(0, 210, 106, 0.25); | |
| border: 1px solid var(--success); | |
| color: var(--success); | |
| padding: 6px 12px; | |
| border-radius: 20px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| width: fit-content; | |
| animation: pulse 2s ease-in-out infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.7; } | |
| } | |
| .status-dot { | |
| width: 6px; | |
| height: 6px; | |
| background: var(--success); | |
| border-radius: 50%; | |
| animation: ping 1.5s ease-in-out infinite; | |
| } | |
| @keyframes ping { | |
| 0% { | |
| transform: scale(1); | |
| opacity: 1; | |
| } | |
| 75% { | |
| transform: scale(1.5); | |
| opacity: 0; | |
| } | |
| 100% { | |
| transform: scale(1); | |
| opacity: 0; | |
| } | |
| } | |
| .nav-menu { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| flex: 1; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 12px 14px; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: rgba(255, 255, 255, 0.8); | |
| transition: all 0.3s ease; | |
| border: 1px solid transparent; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .nav-item::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: -30px; | |
| width: 0; | |
| height: 100%; | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: translateY(-50%) skewX(-20deg); | |
| transition: width 0.4s ease; | |
| z-index: -1; | |
| } | |
| .nav-item:hover { | |
| background: rgba(255, 255, 255, 0.15); | |
| color: white; | |
| border-color: rgba(255, 255, 255, 0.3); | |
| } | |
| .nav-item:hover::before { | |
| left: 100%; | |
| width: 60px; | |
| } | |
| .nav-item.active { | |
| background: rgba(255, 255, 255, 0.25); | |
| color: white; | |
| border-color: rgba(255, 255, 255, 0.4); | |
| font-weight: 600; | |
| box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); | |
| } | |
| .nav-icon { | |
| font-size: 16px; | |
| } | |
| /* ===== MAIN CONTENT ===== */ | |
| .content { | |
| flex: 1; | |
| padding: 40px; | |
| overflow-y: auto; | |
| animation: slideInRight 0.6s ease-out; | |
| } | |
| @keyframes slideInRight { | |
| from { | |
| transform: translateX(100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| .header { | |
| margin-bottom: 50px; | |
| animation: fadeInDown 0.7s ease-out 0.3s both; | |
| } | |
| @keyframes fadeInDown { | |
| from { | |
| transform: translateY(-20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| .header-title { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 36px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| margin-bottom: 8px; | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .header-subtitle { | |
| font-size: 14px; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| letter-spacing: 0.3px; | |
| } | |
| /* ===== STATS GRID ===== */ | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |
| gap: 24px; | |
| margin-bottom: 50px; | |
| } | |
| .stat-card { | |
| background: linear-gradient(135deg, rgba(20, 24, 41, 0.8) 0%, rgba(42, 45, 63, 0.8) 100%); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--border); | |
| border-radius: 20px; | |
| padding: 32px; | |
| transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); | |
| position: relative; | |
| overflow: hidden; | |
| cursor: pointer; | |
| animation: scaleInUp 0.6s ease-out both; | |
| } | |
| @keyframes scaleInUp { | |
| from { | |
| transform: translateY(30px) scale(0.95); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0) scale(1); | |
| opacity: 1; | |
| } | |
| } | |
| .stat-card:nth-child(1) { animation-delay: 0.4s; } | |
| .stat-card:nth-child(2) { animation-delay: 0.5s; } | |
| .stat-card:nth-child(3) { animation-delay: 0.6s; } | |
| .stat-card:nth-child(4) { animation-delay: 0.7s; } | |
| .stat-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| right: -50%; | |
| width: 200px; | |
| height: 200px; | |
| background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent); | |
| border-radius: 50%; | |
| transition: all 0.8s ease; | |
| } | |
| .stat-card:hover::before { | |
| top: -30%; | |
| right: -30%; | |
| } | |
| .stat-card:hover { | |
| border-color: var(--primary); | |
| background: linear-gradient(135deg, rgba(20, 24, 41, 0.95) 0%, rgba(42, 45, 63, 0.95) 100%); | |
| transform: translateY(-8px); | |
| box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15); | |
| } | |
| .stat-number { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 48px; | |
| font-weight: 700; | |
| background: linear-gradient(135deg, var(--primary), var(--secondary)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| margin-bottom: 12px; | |
| letter-spacing: -1px; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .stat-label { | |
| font-size: 12px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| letter-spacing: 0.8px; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| /* ===== CHANNEL SUMMARY ===== */ | |
| .section { | |
| background: linear-gradient(135deg, rgba(20, 24, 41, 0.8) 0%, rgba(42, 45, 63, 0.8) 100%); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--border); | |
| border-radius: 20px; | |
| padding: 40px; | |
| animation: fadeInUp 0.7s ease-out 0.5s both; | |
| } | |
| @keyframes fadeInUp { | |
| from { | |
| transform: translateY(30px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| .section-title { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 20px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| margin-bottom: 30px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .section-icon { | |
| font-size: 24px; | |
| } | |
| .channel-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 20px; | |
| border: 1px solid var(--border); | |
| border-radius: 14px; | |
| margin-bottom: 16px; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .channel-item::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| height: 100%; | |
| width: 3px; | |
| background: linear-gradient(180deg, var(--primary), var(--secondary)); | |
| transform: scaleY(0); | |
| transform-origin: top; | |
| transition: transform 0.3s ease; | |
| } | |
| .channel-item:hover { | |
| border-color: var(--primary); | |
| background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(247, 147, 30, 0.05)); | |
| transform: translateX(8px); | |
| } | |
| .channel-item:hover::before { | |
| transform: scaleY(1); | |
| } | |
| .channel-name { | |
| font-family: 'Poppins', sans-serif; | |
| font-size: 14px; | |
| font-weight: 600; | |
| color: var(--text); | |
| } | |
| .channel-meta { | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| margin-top: 4px; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .meta-tag { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| padding: 3px 8px; | |
| background: rgba(255, 107, 53, 0.15); | |
| color: var(--primary); | |
| border-radius: 6px; | |
| font-weight: 500; | |
| } | |
| .status-active { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 6px 14px; | |
| background: rgba(0, 210, 106, 0.15); | |
| border: 1px solid rgba(0, 210, 106, 0.3); | |
| color: var(--success); | |
| border-radius: 12px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .status-dot-mini { | |
| width: 5px; | |
| height: 5px; | |
| background: var(--success); | |
| border-radius: 50%; | |
| } | |
| /* ===== SCROLLBAR ===== */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--border); | |
| border-radius: 10px; | |
| transition: background 0.3s ease; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--primary); | |
| } | |
| /* ===== RESPONSIVE ===== */ | |
| @media (max-width: 1024px) { | |
| .sidebar { | |
| width: 250px; | |
| } | |
| .header-title { | |
| font-size: 28px; | |
| } | |
| .stat-number { | |
| font-size: 40px; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| flex-direction: column; | |
| } | |
| .sidebar { | |
| width: 100%; | |
| height: auto; | |
| flex-direction: row; | |
| padding: 20px; | |
| overflow-y: visible; | |
| border-right: none; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .logo { | |
| margin-right: auto; | |
| } | |
| .nav-menu { | |
| flex-direction: row; | |
| flex: 1; | |
| } | |
| .content { | |
| padding: 20px; | |
| } | |
| .header-title { | |
| font-size: 24px; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr 1fr; | |
| gap: 16px; | |
| } | |
| .section { | |
| padding: 24px; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .sidebar { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .nav-menu { | |
| flex-direction: column; | |
| width: 100%; | |
| } | |
| .nav-item { | |
| width: 100%; | |
| } | |
| .header-title { | |
| font-size: 20px; | |
| } | |
| .stat-number { | |
| font-size: 32px; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Animated Background --> | |
| <div class="bg-animation"> | |
| <div class="blob blob-1"></div> | |
| <div class="blob blob-2"></div> | |
| </div> | |
| <div class="container"> | |
| <!-- SIDEBAR --> | |
| <div class="sidebar"> | |
| <div class="logo"> | |
| <div> | |
| <div class="logo-icon">β‘</div> | |
| </div> | |
| <div> | |
| <div class="logo-text">CRAZYLEARNIERS</div> | |
| <div class="logo-sub">JEE & NEET AI</div> | |
| </div> | |
| </div> | |
| <div class="status-badge"> | |
| <span class="status-dot"></span> | |
| Bot Running | |
| </div> | |
| <nav class="nav-menu"> | |
| <div class="nav-item active"> | |
| <span class="nav-icon">π</span> | |
| <span>Overview</span> | |
| </div> | |
| <div class="nav-item"> | |
| <span class="nav-icon">π‘</span> | |
| <span>Channels</span> | |
| </div> | |
| <div class="nav-item"> | |
| <span class="nav-icon">βοΈ</span> | |
| <span>Content Settings</span> | |
| </div> | |
| <div class="nav-item"> | |
| <span class="nav-icon">π§ͺ</span> | |
| <span>MCQ Sessions</span> | |
| </div> | |
| <div class="nav-item"> | |
| <span class="nav-icon">π</span> | |
| <span>Content Library</span> | |
| </div> | |
| <div class="nav-item"> | |
| <span class="nav-icon">π¨</span> | |
| <span>AI Style & Brand</span> | |
| </div> | |
| </nav> | |
| <div style="font-size: 11px; color: rgba(255,255,255,0.6); text-align: center; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);"> | |
| v2.0 β’ JEE & NEET Bot | |
| </div> | |
| </div> | |
| <!-- MAIN CONTENT --> | |
| <div class="content"> | |
| <div class="header"> | |
| <h1 class="header-title">π Overview</h1> | |
| <p class="header-subtitle">Live snapshot of your bot's activity</p> | |
| </div> | |
| <!-- STATS GRID --> | |
| <div class="stats-grid"> | |
| <div class="stat-card"> | |
| <div class="stat-number">3/3</div> | |
| <div class="stat-label">Active Channels</div> | |
| </div> | |
| <div class="stat-card"> | |
| <div class="stat-number">0</div> | |
| <div class="stat-label">Scheduled Jobs</div> | |
| </div> | |
| <div class="stat-card"> | |
| <div class="stat-number">0</div> | |
| <div class="stat-label">Bot Users</div> | |
| </div> | |
| <div class="stat-card"> | |
| <div class="stat-number">8</div> | |
| <div class="stat-label">Content Types</div> | |
| </div> | |
| </div> | |
| <!-- CHANNEL SUMMARY --> | |
| <div class="section"> | |
| <h2 class="section-title"> | |
| <span class="section-icon">π‘</span> | |
| Channel Summary | |
| </h2> | |
| <div class="channel-item"> | |
| <div> | |
| <div class="channel-name">JEE Main Daily</div> | |
| <div class="channel-meta"> | |
| <span>@JEE_Mains_Handwritten_Notes</span> | |
| <span class="meta-tag">π 2 active types</span> | |
| <span class="meta-tag">π§ͺ MCQ on</span> | |
| </div> | |
| </div> | |
| <div class="status-active"> | |
| <span class="status-dot-mini"></span> | |
| Active | |
| </div> | |
| </div> | |
| <div class="channel-item"> | |
| <div> | |
| <div class="channel-name">NEET Daily</div> | |
| <div class="channel-meta"> | |
| <span>@NEET_Handwritten_Notes_2025</span> | |
| <span class="meta-tag">π 3 active types</span> | |
| </div> | |
| </div> | |
| <div class="status-active"> | |
| <span class="status-dot-mini"></span> | |
| Active | |
| </div> | |
| </div> | |
| <div class="channel-item"> | |
| <div> | |
| <div class="channel-name">JEE Advanced Daily</div> | |
| <div class="channel-meta"> | |
| <span>@JEE_Advanced_Notes</span> | |
| <span class="meta-tag">π 2 active types</span> | |
| </div> | |
| </div> | |
| <div class="status-active"> | |
| <span class="status-dot-mini"></span> | |
| Active | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |