Spaces:
Running
Running
Download index.html from danielmkinga92/usis: direct link, hf CLI and curl.
- Browser
- Download file 30.2 kB
-
https://huggingface.co/spaces/danielmkinga92/usis/resolve/main/index.html
- Command line
-
hf download hf://spaces/danielmkinga92/usis/index.html
-
curl -L -o index.html https://huggingface.co/spaces/danielmkinga92/usis/resolve/main/index.html
30.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>UATC Student Information System (USIS)</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed { | |
| width: 80px; | |
| } | |
| .sidebar.collapsed .nav-text { | |
| display: none; | |
| } | |
| .main-content { | |
| transition: margin-left 0.3s ease; | |
| } | |
| .active-nav { | |
| background-color: #3b82f6; | |
| color: white ; | |
| } | |
| .active-nav i { | |
| color: white ; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div id="sidebar" class="sidebar bg-gray-800 text-white w-64 flex flex-col"> | |
| <div class="p-4 flex items-center justify-between border-b border-gray-700"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="book-open" class="text-blue-400"></i> | |
| <span class="nav-text text-xl font-bold">USIS</span> | |
| </div> | |
| <button id="toggleSidebar" class="text-gray-400 hover:text-white"> | |
| <i data-feather="chevron-left"></i> | |
| </button> | |
| </div> | |
| <div class="p-4 border-b border-gray-700"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-10 h-10 rounded-full"> | |
| <div class="nav-text"> | |
| <div class="font-medium">Welcome</div> | |
| <div class="text-xs text-gray-400">Administrator</div> | |
| </div> | |
| </div> | |
| </div> | |
| <nav class="flex-1 overflow-y-auto"> | |
| <div class="p-2"> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 nav-text">Main</div> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg active-nav"> | |
| <i data-feather="home"></i> | |
| <span class="nav-text">Dashboard</span> | |
| </a> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 nav-text">Administration</div> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="users"></i> | |
| <span class="nav-text">Student Management</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="book"></i> | |
| <span class="nav-text">Course Management</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="user-check"></i> | |
| <span class="nav-text">Lecturer Management</span> | |
| </a> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 nav-text">Academic</div> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="calendar"></i> | |
| <span class="nav-text">Academic Calendar</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="file-text"></i> | |
| <span class="nav-text">Transcripts</span> | |
| </a> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 nav-text">Finance</div> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="dollar-sign"></i> | |
| <span class="nav-text">Fee Payments</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 px-4 py-3 text-gray-300 hover:bg-gray-700 rounded-lg"> | |
| <i data-feather="credit-card"></i> | |
| <span class="nav-text">Payment Reports</span> | |
| </a> | |
| </div> | |
| </nav> | |
| <div class="p-4 border-t border-gray-700"> | |
| <a href="#" class="flex items-center space-x-3 text-gray-300 hover:text-white"> | |
| <i data-feather="settings"></i> | |
| <span class="nav-text">Settings</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 mt-3 text-gray-300 hover:text-white"> | |
| <i data-feather="log-out"></i> | |
| <span class="nav-text">Logout</span> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="main-content flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm z-10"> | |
| <div class="px-6 py-4 flex items-center justify-between"> | |
| <div class="flex items-center space-x-4"> | |
| <button id="mobileToggle" class="text-gray-500 lg:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| <h1 class="text-xl font-semibold text-gray-800">Dashboard</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="bell"></i> | |
| <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
| </button> | |
| </div> | |
| <div class="relative"> | |
| <button class="flex items-center space-x-2"> | |
| <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-8 h-8 rounded-full"> | |
| <span class="hidden md:inline-block">Admin User</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Content Area --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <!-- Stats Cards --> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Students</p> | |
| <h3 class="text-2xl font-bold">1,248</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-blue-100 text-blue-600"> | |
| <i data-feather="users"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-green-500 text-sm font-medium">+12% from last month</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Active Courses</p> | |
| <h3 class="text-2xl font-bold">86</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600"> | |
| <i data-feather="book"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-green-500 text-sm font-medium">+5 new this semester</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Pending Applications</p> | |
| <h3 class="text-2xl font-bold">42</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-yellow-100 text-yellow-600"> | |
| <i data-feather="file-text"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-red-500 text-sm font-medium">+8 awaiting review</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Revenue</p> | |
| <h3 class="text-2xl font-bold">$284,570</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-purple-100 text-purple-600"> | |
| <i data-feather="dollar-sign"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <span class="text-green-500 text-sm font-medium">+18% from last term</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6"> | |
| <!-- Recent Applications --> | |
| <div class="bg-white rounded-lg shadow col-span-2" data-aos="fade-up"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Student Applications</h2> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Program</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">John Smith</div> | |
| <div class="text-sm text-gray-500">john@example.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Computer Science</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-500">2023-06-15</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 text-yellow-800">Pending</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-blue-600 hover:text-blue-900">Review</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Sarah Johnson</div> | |
| <div class="text-sm text-gray-500">sarah@example.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Business Administration</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-500">2023-06-14</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 text-green-800">Approved</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-blue-600 hover:text-blue-900">View</button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/4" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Michael Brown</div> | |
| <div class="text-sm text-gray-500">michael@example.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-900">Electrical Engineering</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="text-sm text-gray-500">2023-06-13</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-red-100 text-red-800">Rejected</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-blue-600 hover:text-blue-900">View</button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="p-4 border-t border-gray-200 flex justify-end"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">View All Applications</button> | |
| </div> | |
| </div> | |
| <!-- Upcoming Events --> | |
| <div class="bg-white rounded-lg shadow" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <h2 class="text-lg font-semibold text-gray-800">Upcoming Academic Events</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-12 w-12 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i data-feather="calendar" class="text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-sm font-medium text-gray-900">Registration Deadline</h3> | |
| <p class="text-sm text-gray-500">Fall Semester 2023</p> | |
| <p class="text-xs text-gray-400 mt-1">June 30, 2023</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-12 w-12 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i data-feather="book" class="text-green-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-sm font-medium text-gray-900">Classes Begin</h3> | |
| <p class="text-sm text-gray-500">Fall Semester 2023</p> | |
| <p class="text-xs text-gray-400 mt-1">August 21, 2023</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-12 w-12 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i data-feather="clipboard" class="text-purple-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-sm font-medium text-gray-900">Midterm Exams</h3> | |
| <p class="text-sm text-gray-500">Fall Semester 2023</p> | |
| <p class="text-xs text-gray-400 mt-1">October 9-13, 2023</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-12 w-12 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i data-feather="award" class="text-yellow-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-sm font-medium text-gray-900">Graduation Ceremony</h3> | |
| <p class="text-sm text-gray-500">Class of 2023</p> | |
| <p class="text-xs text-gray-400 mt-1">December 15, 2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-gray-200"> | |
| <button class="w-full px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50">View Full Calendar</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Payments --> | |
| <div class="bg-white rounded-lg shadow mb-6" data-aos="fade-up"> | |
| <div class="p-6 border-b border-gray-200"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Fee Payments</h2> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Student</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Payment ID</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Method</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/5" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Emma Wilson</div> | |
| <div class="text-sm text-gray-500">CS-2021-001</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">PAY-78945</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,250.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-15</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Credit Card</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 text-green-800">Completed</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/6" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">David Lee</div> | |
| <div class="text-sm text-gray-500">BA-2022-045</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">PAY-78944</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$1,000.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-14</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Bank Transfer</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 text-green-800">Completed</span> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/7" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Sophia Martinez</div> | |
| <div class="text-sm text-gray-500">EE-2020-112</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">PAY-78943</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">$850.00</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-06-13</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Mobile Payment</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 text-yellow-800">Pending</span> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="p-4 border-t border-gray-200 flex justify-end"> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">Generate Financial Report</button> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize AOS animations | |
| AOS.init({ | |
| duration: 800, | |
| easing: 'ease-in-out', | |
| once: true | |
| }); | |
| // Toggle sidebar | |
| const sidebar = document.getElementById('sidebar'); | |
| const toggleSidebar = document.getElementById('toggleSidebar'); | |
| const mobileToggle = document.getElementById('mobileToggle'); | |
| toggleSidebar.addEventListener('click', () => { | |
| sidebar.classList.toggle('collapsed'); | |
| }); | |
| mobileToggle.addEventListener('click', () => { | |
| sidebar.classList.toggle('hidden'); | |
| }); | |
| // Active navigation | |
| const navLinks = document.querySelectorAll('nav a'); | |
| navLinks.forEach(link => { | |
| link.addEventListener('click', function() { | |
| navLinks.forEach(l => l.classList.remove('active-nav')); | |
| this.classList.add('active-nav'); | |
| }); | |
| }); | |
| // Feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |