Spaces:
Sleeping
Sleeping
Download pages/test-sections.html from AfanR/Neuro-Track: direct link, hf CLI and curl.
- Browser
- Download file 5.55 kB
-
https://huggingface.co/spaces/AfanR/Neuro-Track/resolve/main/pages/test-sections.html
- Command line
-
hf download hf://spaces/AfanR/Neuro-Track/pages/test-sections.html
-
curl -L -o test-sections.html https://huggingface.co/spaces/AfanR/Neuro-Track/resolve/main/pages/test-sections.html
5.55 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Test Sections</title> | |
| <style> | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| body { font-family: Arial, sans-serif; } | |
| .header { | |
| background: #0d9488; | |
| color: white; | |
| padding: 20px; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .header nav { | |
| display: flex; | |
| gap: 20px; | |
| } | |
| .header nav a { | |
| color: white; | |
| text-decoration: none; | |
| padding: 10px 20px; | |
| background: rgba(255,255,255,0.1); | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| .header nav a:hover, .header nav a.active { | |
| background: rgba(255,255,255,0.3); | |
| } | |
| .main-content { | |
| min-height: calc(100vh - 72px); | |
| } | |
| .content-section { | |
| min-height: calc(100vh - 72px); | |
| padding: 20px; | |
| } | |
| #dashboardSection { background: #e0f2fe; } | |
| #scheduleSection { background: #fef3c7; } | |
| #messagesSection { background: #d1fae5; } | |
| #profileSection { background: #fce7f3; } | |
| .page-wrapper { | |
| display: flex; | |
| min-height: calc(100vh - 72px); | |
| } | |
| .sidebar { | |
| width: 250px; | |
| background: white; | |
| border-right: 1px solid #ddd; | |
| padding: 20px; | |
| } | |
| .page-main { | |
| flex: 1; | |
| padding: 20px; | |
| } | |
| h1 { margin-bottom: 10px; } | |
| p { color: #666; } | |
| </style> | |
| </head> | |
| <body> | |
| <header class="header"> | |
| <nav> | |
| <a onclick="showSection('dashboard')" class="active">Dashboard</a> | |
| <a onclick="showSection('schedule')">Schedule</a> | |
| <a onclick="showSection('messages')">Messages</a> | |
| <a onclick="showSection('profile')">Profile</a> | |
| </nav> | |
| </header> | |
| <main class="main-content"> | |
| <!-- Dashboard Section --> | |
| <div id="dashboardSection" class="content-section"> | |
| <div class="page-wrapper"> | |
| <aside class="sidebar"> | |
| <h3>Dashboard Sidebar</h3> | |
| <ul> | |
| <li>Patient Dashboard</li> | |
| <li>Patient List</li> | |
| <li>Files</li> | |
| </ul> | |
| </aside> | |
| <div class="page-main"> | |
| <h1>Dashboard</h1> | |
| <p>This is the dashboard content area.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Schedule Section --> | |
| <div id="scheduleSection" class="content-section" style="display: none;"> | |
| <div class="page-wrapper"> | |
| <aside class="sidebar"> | |
| <h3>Schedule Sidebar</h3> | |
| <ul> | |
| <li>Calendar</li> | |
| <li>Meetings</li> | |
| <li>Events</li> | |
| </ul> | |
| </aside> | |
| <div class="page-main"> | |
| <h1>Schedule</h1> | |
| <p>This is the schedule content area.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Messages Section --> | |
| <div id="messagesSection" class="content-section" style="display: none;"> | |
| <div class="page-wrapper"> | |
| <aside class="sidebar"> | |
| <h3>Messages Sidebar</h3> | |
| <ul> | |
| <li>Inbox</li> | |
| <li>Sent</li> | |
| <li>Archive</li> | |
| </ul> | |
| </aside> | |
| <div class="page-main"> | |
| <h1>Messages</h1> | |
| <p>This is the messages content area.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Profile Section --> | |
| <div id="profileSection" class="content-section" style="display: none;"> | |
| <div class="page-wrapper"> | |
| <aside class="sidebar"> | |
| <h3>Profile Sidebar</h3> | |
| <ul> | |
| <li>Personal Info</li> | |
| <li>Settings</li> | |
| <li>Security</li> | |
| </ul> | |
| </aside> | |
| <div class="page-main"> | |
| <h1>Profile</h1> | |
| <p>This is the profile content area.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| function showSection(section) { | |
| // Hide all sections | |
| document.getElementById('dashboardSection').style.display = 'none'; | |
| document.getElementById('scheduleSection').style.display = 'none'; | |
| document.getElementById('messagesSection').style.display = 'none'; | |
| document.getElementById('profileSection').style.display = 'none'; | |
| // Show selected section | |
| document.getElementById(section + 'Section').style.display = 'block'; | |
| // Update nav active state | |
| document.querySelectorAll('nav a').forEach(a => a.classList.remove('active')); | |
| event.target.classList.add('active'); | |
| } | |
| </script> | |
| </body> | |
| </html> | |