Download testing.html from dsadasdd563563/examify-smart-testing-playground: direct link, hf CLI and curl.
- Browser
- Download file 14.3 kB
-
https://huggingface.co/spaces/dsadasdd563563/examify-smart-testing-playground/resolve/main/testing.html
- Command line
-
hf download hf://spaces/dsadasdd563563/examify-smart-testing-playground/testing.html
-
curl -L -o testing.html https://huggingface.co/spaces/dsadasdd563563/examify-smart-testing-playground/resolve/main/testing.html
14.3 kB
| <html lang="en" class="light"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Testing | Examify</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0f9ff', | |
| 100: '#e0f2fe', | |
| 200: '#bae6fd', | |
| 300: '#7dd3fc', | |
| 400: '#38bdf8', | |
| 500: '#0ea5e9', | |
| 600: '#0284c7', | |
| 700: '#0369a1', | |
| 800: '#075985', | |
| 900: '#0c4a6e', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-gray-50 dark:bg-gray-900 min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="bg-white dark:bg-gray-800 shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i data-feather="book-open" class="h-8 w-8 text-primary-500"></i> | |
| <span class="ml-2 text-xl font-bold text-gray-900 dark:text-white">Examify</span> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
| <a href="index.html" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Home | |
| </a> | |
| <a href="admin.html" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Admin | |
| </a> | |
| <a href="testing.html" class="border-primary-500 text-gray-900 dark:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Testing | |
| </a> | |
| <a href="profile.html" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Profile | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
| <button type="button" class="p-1 rounded-full text-gray-400 hover:text-gray-500 dark:hover:text-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <i data-feather="bell"></i> | |
| </button> | |
| <div class="ml-3 relative"> | |
| <div> | |
| <button type="button" class="flex text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true"> | |
| <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="User profile"> | |
| </button> | |
| </div> | |
| </div> | |
| <button id="theme-toggle" type="button" class="ml-3 p-1 rounded-full text-gray-400 hover:text-gray-500 dark:hover:text-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <i data-feather="moon" id="theme-icon"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Testing Content --> | |
| <div class="py-10"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-3xl font-bold text-gray-900 dark:text-white">Available Exams</h1> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search exams..." class="pl-10 pr-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-800 dark:text-white"> | |
| <div class="absolute left-3 top-2.5 text-gray-400"> | |
| <i data-feather="search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid gap-6 grid-cols-1 md:grid-cols-2 lg:grid-cols-3"> | |
| <!-- Exam Card 1 --> | |
| <div class="bg-white dark:bg-gray-800 shadow rounded-lg overflow-hidden hover:shadow-lg transition-shadow duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h3 class="text-lg font-bold text-gray-900 dark:text-white">Mathematics Midterm</h3> | |
| <p class="text-sm text-gray-500 dark:text-gray-300 mt-1">Algebra & Calculus</p> | |
| </div> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-primary-100 dark:bg-primary-900 text-primary-800 dark:text-primary-200"> | |
| 60 min | |
| </span> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm text-gray-500 dark:text-gray-400"> | |
| <span>20 Questions</span> | |
| <span>Due: May 15</span> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <button class="w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Start Exam | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Exam Card 2 --> | |
| <div class="bg-white dark:bg-gray-800 shadow rounded-lg overflow-hidden hover:shadow-lg transition-shadow duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h3 class="text-lg font-bold text-gray-900 dark:text-white">History Final</h3> | |
| <p class="text-sm text-gray-500 dark:text-gray-300 mt-1">World History</p> | |
| </div> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-primary-100 dark:bg-primary-900 text-primary-800 dark:text-primary-200"> | |
| 90 min | |
| </span> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm text-gray-500 dark:text-gray-400"> | |
| <span>50 Questions</span> | |
| <span>Due: May 20</span> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <button class="w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Start Exam | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Exam Card 3 --> | |
| <div class="bg-white dark:bg-gray-800 shadow rounded-lg overflow-hidden hover:shadow-lg transition-shadow duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h3 class="text-lg font-bold text-gray-900 dark:text-white">Science Quiz</h3> | |
| <p class="text-sm text-gray-500 dark:text-gray-300 mt-1">Physics & Chemistry</p> | |
| </div> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-primary-100 dark:bg-primary-900 text-primary-800 dark:text-primary-200"> | |
| 30 min | |
| </span> | |
| </div> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-sm text-gray-500 dark:text-gray-400"> | |
| <span>15 Questions</span> | |
| <span>Due: May 10</span> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <button class="w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Start Exam | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Completed Exams --> | |
| <div class="mt-12"> | |
| <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-6">Completed Exams</h2> | |
| <div class="bg-white dark:bg-gray-800 shadow rounded-lg overflow-hidden"> | |
| <table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700"> | |
| <thead class="bg-gray-50 dark:bg-gray-700"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Exam</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Score</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Date Taken</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Status</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm font-medium text-gray-900 dark:text-white">English Literature</div> | |
| </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 dark:bg-green-900 text-green-800 dark:text-green-200">92%</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400">April 15, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400">Completed</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm font-medium text-gray-900 dark:text-white">Biology Midterm</div> | |
| </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 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">78%</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400">March 28, 2023</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400">Completed</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Theme toggle functionality | |
| const themeToggle = document.getElementById('theme-toggle') | |
| const themeIcon = document.getElementById('theme-icon') | |
| const htmlEl = document.documentElement | |
| // Check for saved theme preference or use system preference | |
| if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { | |
| htmlEl.classList.add('dark') | |
| themeIcon.setAttribute('data-feather', 'sun') | |
| } else { | |
| htmlEl.classList.remove('dark') | |
| themeIcon.setAttribute('data-feather', 'moon') | |
| } | |
| // Toggle theme on button click | |
| themeToggle.addEventListener('click', () => { | |
| if (htmlEl.classList.contains('dark')) { | |
| htmlEl.classList.remove('dark') | |
| localStorage.setItem('theme', 'light') | |
| themeIcon.setAttribute('data-feather', 'moon') | |
| } else { | |
| htmlEl.classList.add('dark') | |
| localStorage.setItem('theme', 'dark') | |
| themeIcon.setAttribute('data-feather', 'sun') | |
| } | |
| feather.replace() | |
| }) | |
| // Initialize feather icons | |
| feather.replace() | |
| </script> | |
| </body> | |
| </html> |