Spaces:
Running
Running
Download index.html from tjksecurity/workiout: direct link, hf CLI and curl.
- Browser
- Download file 33.2 kB
-
https://huggingface.co/spaces/tjksecurity/workiout/resolve/main/index.html
- Command line
-
hf download hf://spaces/tjksecurity/workiout/index.html
-
curl -L -o index.html https://huggingface.co/spaces/tjksecurity/workiout/resolve/main/index.html
33.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>EliteFit Pro | Personal Training Platform</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); | |
| } | |
| .sidebar-item:hover .sidebar-icon { | |
| transform: translateX(5px); | |
| } | |
| .progress-ring__circle { | |
| transition: stroke-dashoffset 0.5s; | |
| transform: rotate(-90deg); | |
| transform-origin: 50% 50%; | |
| } | |
| .animate-bounce-slow { | |
| animation: bounce 3s infinite; | |
| } | |
| @keyframes bounce { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .nutrition-card: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); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="hidden md:flex md:flex-shrink-0"> | |
| <div class="flex flex-col w-64 gradient-bg text-white"> | |
| <div class="flex items-center justify-center h-16 px-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-dumbbell text-2xl mr-2 text-blue-300"></i> | |
| <span class="text-xl font-bold">EliteFit Pro</span> | |
| </div> | |
| </div> | |
| <div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto"> | |
| <div class="space-y-1"> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md bg-blue-800 text-white group"> | |
| <i class="fas fa-tachometer-alt mr-3 text-blue-300"></i> | |
| Dashboard | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-users mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Clients | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-dumbbell mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Workout Plans | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-utensils mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Nutrition Plans | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-chart-line mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Progress Tracking | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-calendar-alt mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Scheduling | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-3 text-sm font-medium rounded-md hover:bg-blue-800 text-white group sidebar-item"> | |
| <i class="fas fa-file-invoice-dollar mr-3 text-blue-300 sidebar-icon transition-transform"></i> | |
| Billing | |
| </a> | |
| </div> | |
| <div class="mt-auto mb-4"> | |
| <div class="p-4 bg-blue-800 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-lightbulb text-yellow-300 text-xl"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm font-medium text-blue-100"> | |
| Pro Tip: Use our new AI workout generator to create customized plans in seconds! | |
| </p> | |
| </div> | |
| </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 bg-white border-b border-gray-200 px-4"> | |
| <div class="flex items-center md:hidden"> | |
| <button class="text-gray-500 focus:outline-none"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| <div class="flex-1 px-4"> | |
| <div class="relative max-w-md"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search..." type="search"> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| <div class="ml-3 relative"> | |
| <div> | |
| <button class="flex items-center max-w-xs text-sm rounded-full focus:outline-none" id="user-menu"> | |
| <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Content area --> | |
| <div class="flex-1 overflow-y-auto p-6"> | |
| <div class="pb-5 border-b border-gray-200"> | |
| <h1 class="text-3xl font-bold text-gray-900">Client Dashboard</h1> | |
| <p class="mt-2 text-sm text-gray-500">Manage your clients' training and nutrition programs</p> | |
| </div> | |
| <!-- Stats --> | |
| <div class="mt-6 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-md p-3"> | |
| <i class="fas fa-users text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Active Clients</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">24</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="text-sm text-gray-500"> | |
| <span class="font-medium text-green-600">+3</span> from last month | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-green-500 rounded-md p-3"> | |
| <i class="fas fa-check-circle text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Completed Workouts</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">142</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="text-sm text-gray-500"> | |
| <span class="font-medium text-green-600">+12%</span> from last week | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-yellow-500 rounded-md p-3"> | |
| <i class="fas fa-utensils text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Nutrition Plans</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">18</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="text-sm text-gray-500"> | |
| <span class="font-medium text-green-600">+5</span> updated this week | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-chart-line text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Avg. Progress</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">78%</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="text-sm text-gray-500"> | |
| <span class="font-medium text-green-600">+8%</span> from last month | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Client list and progress --> | |
| <div class="mt-8 grid grid-cols-1 gap-6 lg:grid-cols-3"> | |
| <!-- Client list --> | |
| <div class="lg:col-span-2"> | |
| <div class="bg-white shadow overflow-hidden sm:rounded-lg"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Recent Clients</h3> | |
| <button class="inline-flex items-center px-3 py-1 border border-transparent text-sm leading-4 font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none"> | |
| <i class="fas fa-plus mr-1"></i> New Client | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden"> | |
| <ul class="divide-y divide-gray-200" id="clientList"> | |
| <!-- Clients will be added here by JavaScript --> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Progress overview --> | |
| <div> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Client Progress Overview</h3> | |
| <div class="mt-6"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div> | |
| <span class="text-sm font-medium text-gray-500">On Track</span> | |
| </div> | |
| <span class="text-sm font-medium text-gray-900">15</span> | |
| </div> | |
| <div class="mt-2 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div> | |
| <span class="text-sm font-medium text-gray-500">Needs Attention</span> | |
| </div> | |
| <span class="text-sm font-medium text-gray-900">6</span> | |
| </div> | |
| <div class="mt-2 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div> | |
| <span class="text-sm font-medium text-gray-500">Behind Schedule</span> | |
| </div> | |
| <span class="text-sm font-medium text-gray-900">3</span> | |
| </div> | |
| </div> | |
| <div class="mt-8"> | |
| <h4 class="text-sm font-medium text-gray-500 mb-2">Progress Distribution</h4> | |
| <div class="flex items-center justify-center"> | |
| <svg class="w-32 h-32" viewBox="0 0 36 36"> | |
| <path d="M18 2.0845 | |
| a 15.9155 15.9155 0 0 1 0 31.831 | |
| a 15.9155 15.9155 0 0 1 0 -31.831" | |
| fill="none" | |
| stroke="#E5E7EB" | |
| stroke-width="3" | |
| stroke-dasharray="100, 100" | |
| /> | |
| <path d="M18 2.0845 | |
| a 15.9155 15.9155 0 0 1 0 31.831 | |
| a 15.9155 15.9155 0 0 1 0 -31.831" | |
| fill="none" | |
| stroke="#3B82F6" | |
| stroke-width="3" | |
| stroke-dasharray="65, 100" | |
| /> | |
| </svg> | |
| <div class="ml-6"> | |
| <div class="text-3xl font-bold text-gray-900">65%</div> | |
| <div class="text-sm text-gray-500">Average Progress</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Workout and nutrition plans --> | |
| <div class="mt-8 grid grid-cols-1 gap-6 lg:grid-cols-2"> | |
| <!-- Recent workouts --> | |
| <div> | |
| <div class="bg-white shadow overflow-hidden sm:rounded-lg"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Recent Workout Plans</h3> | |
| </div> | |
| <div class="bg-white overflow-hidden"> | |
| <ul class="divide-y divide-gray-200" id="workoutPlans"> | |
| <!-- Workout plans will be added here by JavaScript --> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Nutrition plans --> | |
| <div> | |
| <div class="bg-white shadow overflow-hidden sm:rounded-lg"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Nutrition Plans</h3> | |
| </div> | |
| <div class="p-4 grid grid-cols-1 gap-4 sm:grid-cols-2"> | |
| <div class="nutrition-card bg-blue-50 rounded-lg p-4 transition duration-300 ease-in-out"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-blue-100 rounded-md p-2"> | |
| <i class="fas fa-fire text-blue-600"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h4 class="text-sm font-medium text-blue-900">Fat Loss</h4> | |
| <p class="text-xs text-blue-600">12 clients</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="nutrition-card bg-green-50 rounded-lg p-4 transition duration-300 ease-in-out"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-green-100 rounded-md p-2"> | |
| <i class="fas fa-dumbbell text-green-600"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h4 class="text-sm font-medium text-green-900">Muscle Gain</h4> | |
| <p class="text-xs text-green-600">8 clients</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="nutrition-card bg-purple-50 rounded-lg p-4 transition duration-300 ease-in-out"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-100 rounded-md p-2"> | |
| <i class="fas fa-heart text-purple-600"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h4 class="text-sm font-medium text-purple-900">Maintenance</h4> | |
| <p class="text-xs text-purple-600">4 clients</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="nutrition-card bg-yellow-50 rounded-lg p-4 transition duration-300 ease-in-out"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-yellow-100 rounded-md p-2"> | |
| <i class="fas fa-running text-yellow-600"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <h4 class="text-sm font-medium text-yellow-900">Performance</h4> | |
| <p class="text-xs text-yellow-600">2 clients</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick actions --> | |
| <div class="mt-8"> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Quick Actions</h3> | |
| <div class="mt-4 grid grid-cols-2 gap-4 sm:grid-cols-4"> | |
| <button class="inline-flex flex-col items-center justify-center px-4 py-3 border border-transparent text-sm font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none"> | |
| <i class="fas fa-plus mb-1"></i> | |
| <span>New Client</span> | |
| </button> | |
| <button class="inline-flex flex-col items-center justify-center px-4 py-3 border border-transparent text-sm font-medium rounded-md text-blue-700 bg-blue-100 hover:bg-blue-200 focus:outline-none"> | |
| <i class="fas fa-dumbbell mb-1"></i> | |
| <span>Create Workout</span> | |
| </button> | |
| <button class="inline-flex flex-col items-center justify-center px-4 py-3 border border-transparent text-sm font-medium rounded-md text-green-700 bg-green-100 hover:bg-green-200 focus:outline-none"> | |
| <i class="fas fa-utensils mb-1"></i> | |
| <span>Create Meal Plan</span> | |
| </button> | |
| <button class="inline-flex flex-col items-center justify-center px-4 py-3 border border-transparent text-sm font-medium rounded-md text-purple-700 bg-purple-100 hover:bg-purple-200 focus:outline-none"> | |
| <i class="fas fa-chart-line mb-1"></i> | |
| <span>View Reports</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| </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=tjksecurity/workiout" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |