Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>BS Industrial Technology Majors</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> | |
| .major-card { | |
| transition: all 0.3s ease; | |
| } | |
| .major-card:hover { | |
| transform: scale(1.03); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .hidden-content { | |
| display: none; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen"> | |
| <!-- Login Page (shown by default) --> | |
| <div id="login-page" class="min-h-screen flex items-center justify-center bg-gray-100"> | |
| <div class="bg-white rounded-xl shadow-2xl p-8 w-full max-w-md"> | |
| <div class="text-center mb-8"> | |
| <i class="fas fa-user-shield text-5xl text-blue-600 mb-4"></i> | |
| <h2 class="text-3xl font-bold text-gray-800">Admin Login</h2> | |
| <p class="text-gray-600 mt-2">Enter your credentials to view the majors</p> | |
| </div> | |
| <form id="login-form"> | |
| <div class="mb-6"> | |
| <label for="username" class="block text-sm font-medium text-gray-700 mb-2">Username</label> | |
| <input type="text" id="username" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Enter username" required> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="password" class="block text-sm font-medium text-gray-700 mb-2">Password</label> | |
| <input type="password" id="password" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Enter password" required> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200"> | |
| <i class="fas fa-sign-in-alt mr-2"></i> Login | |
| </button> | |
| </form> | |
| <div id="login-error" class="mt-4 text-red-600 text-sm hidden"> | |
| <i class="fas fa-exclamation-circle mr-2"></i> Invalid username or password | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content (hidden until login) --> | |
| <div id="main-content" class="hidden-content"> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Header --> | |
| <header class="text-center mb-12"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4"> | |
| <i class="fas fa-industry text-blue-600 mr-3"></i> | |
| BS Industrial Technology | |
| </h1> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto"> | |
| Explore our specialized majors and find the perfect path for your industrial technology career | |
| </p> | |
| </header> | |
| <!-- Majors Grid --> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8" id="majors-container"> | |
| <!-- AFP Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-blue-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-shield-alt text-5xl text-blue-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">AFP</h3> | |
| <p class="text-gray-600">(Armed Forces of the Philippines)</p> | |
| </div> | |
| <div class="bg-blue-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Automotive Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-red-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-car text-5xl text-red-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Automotive</h3> | |
| <p class="text-gray-600">Vehicle Technology & Maintenance</p> | |
| </div> | |
| <div class="bg-red-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Cosmetology Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-pink-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-cut text-5xl text-pink-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Cosmetology</h3> | |
| <p class="text-gray-600">Beauty & Hair Care Sciences</p> | |
| </div> | |
| <div class="bg-pink-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Culinary Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-yellow-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-utensils text-5xl text-yellow-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Culinary</h3> | |
| <p class="text-gray-600">Food Preparation & Service</p> | |
| </div> | |
| <div class="bg-yellow-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Electricity Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-green-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-bolt text-5xl text-green-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Electricity</h3> | |
| <p class="text-gray-600">Electrical Systems & Installation</p> | |
| </div> | |
| <div class="bg-green-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Electronics Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-indigo-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-microchip text-5xl text-indigo-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Electronics</h3> | |
| <p class="text-gray-600">Electronic Devices & Circuits</p> | |
| </div> | |
| <div class="bg-indigo-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Drafting Major --> | |
| <div class="major-card bg-white rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-purple-100 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-ruler-combined text-5xl text-purple-600"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Drafting</h3> | |
| <p class="text-gray-600">Technical Drawing & Design</p> | |
| </div> | |
| <div class="bg-purple-600 px-6 py-4 text-center"> | |
| <button class="text-white font-medium hover:underline"> | |
| View Details <i class="fas fa-arrow-right ml-1"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Logout Card --> | |
| <div class="major-card bg-gradient-to-br from-gray-800 to-gray-900 rounded-2xl shadow-lg overflow-hidden"> | |
| <div class="p-8 text-center"> | |
| <div class="bg-gray-700 w-32 h-32 mx-auto rounded-full flex items-center justify-center mb-6"> | |
| <i class="fas fa-sign-out-alt text-5xl text-white"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold text-white mb-2">Logout</h3> | |
| <p class="text-gray-300">Return to login screen</p> | |
| </div> | |
| <div class="bg-gray-700 px-6 py-4 text-center"> | |
| <button id="logout-btn" class="text-white font-medium hover:underline"> | |
| <i class="fas fa-sign-out-alt mr-2"></i> Logout | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-8 mt-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center"> | |
| <h3 class="text-xl font-semibold mb-4">BS Industrial Technology</h3> | |
| <p class="text-gray-400 max-w-2xl mx-auto"> | |
| A comprehensive program offering specialized training in various industrial technology fields. | |
| </p> | |
| <div class="mt-6"> | |
| <p class="text-gray-400"> | |
| <i class="fas fa-envelope mr-2"></i> industrialtech@university.edu | |
| </p> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400"> | |
| <p>© 2023 BS Industrial Technology Program. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| // Handle login form submission | |
| document.getElementById('login-form').addEventListener('submit', (e) => { | |
| e.preventDefault(); | |
| const username = document.getElementById('username').value; | |
| const password = document.getElementById('password').value; | |
| const errorElement = document.getElementById('login-error'); | |
| // Check credentials (username: admin, password: master78) | |
| if (username === 'admin' && password === 'master78') { | |
| // Successful login - show main content | |
| errorElement.classList.add('hidden'); | |
| document.getElementById('login-page').classList.add('hidden-content'); | |
| document.getElementById('main-content').classList.remove('hidden-content'); | |
| } else { | |
| // Failed login | |
| errorElement.classList.remove('hidden'); | |
| document.getElementById('password').value = ''; | |
| } | |
| }); | |
| // Handle logout button | |
| document.getElementById('logout-btn').addEventListener('click', () => { | |
| document.getElementById('main-content').classList.add('hidden-content'); | |
| document.getElementById('login-page').classList.remove('hidden-content'); | |
| document.getElementById('username').value = ''; | |
| document.getElementById('password').value = ''; | |
| document.getElementById('login-error').classList.add('hidden'); | |
| }); | |
| </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=cpilotin/bsit-class-scheduler" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |