anycoder-eedde102 / index.html
ReyDiablo's picture
Upload folder using huggingface_hub
e4285fe verified
Raw History Blame Contribute Delete
28.2 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tekium Secure Deploy v2.18 - ATM Management System</title> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #1e3a8a; --primary-dark: #1e2e5e; --secondary: #10b981; --danger: #ef4444; --warning: #f59e0b; --dark: #111827; --light: #f3f4f6; --border: #e5e7eb; --text: #374151; --shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15); } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: var(--text); } /* Login Screen */ .login-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .login-card { background: white; border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 450px; padding: 40px; animation: slideUp 0.5s ease; } @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .login-header { text-align: center; margin-bottom: 30px; } .login-header h1 { color: var(--primary); font-size: 28px; margin-bottom: 10px; } .login-header p { color: var(--text); font-size: 14px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: var(--text); font-weight: 500; font-size: 14px; } .form-group input, .form-group select { width: 100%; padding: 12px 15px; border: 2px solid var(--border); border-radius: 10px; font-size: 14px; transition: all 0.3s; } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); } .input-icon { position: relative; } .input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; } .input-icon input { padding-left: 45px; } .login-btn { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 10px; } .login-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3); } /* Main Dashboard */ .dashboard { display: none; min-height: 100vh; background: var(--light); } /* Header */ .header { background: white; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; } .header-content { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; } .logo { display: flex; align-items: center; gap: 15px; } .logo i { font-size: 30px; color: var(--primary); } .logo h2 { color: var(--primary); font-size: 22px; } .logo span { font-size: 12px; color: var(--text); background: var(--light); padding: 4px 10px; border-radius: 20px; margin-left: 10px; } .header-actions { display: flex; align-items: center; gap: 20px; } .notification-btn { position: relative; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; transition: color 0.3s; } .notification-btn:hover { color: var(--primary); } .notification-badge { position: absolute; top: -5px; right: -5px; background: var(--danger); color: white; font-size: 10px; padding: 2px 6px; border-radius: 10px; } .user-menu { display: flex; align-items: center; gap: 10px; padding: 8px 15px; background: var(--light); border-radius: 30px; cursor: pointer; transition: all 0.3s; } .user-menu:hover { background: var(--border); } .user-avatar { width: 35px; height: 35px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; } /* Sidebar */ .sidebar { position: fixed; left: 0; top: 70px; width: 250px; height: calc(100vh - 70px); background: white; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05); overflow-y: auto; transition: transform 0.3s; z-index: 50; } .sidebar-menu { padding: 20px 0; } .menu-item { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: var(--text); text-decoration: none; transition: all 0.3s; cursor: pointer; border-left: 3px solid transparent; } .menu-item:hover { background: var(--light); color: var(--primary); } .menu-item.active { background: rgba(30, 58, 138, 0.1); color: var(--primary); border-left-color: var(--primary); } .menu-item i { width: 20px; text-align: center; } /* Main Content */ .main-content { margin-left: 250px; padding: 30px; min-height: calc(100vh - 70px); } .page-header { margin-bottom: 30px; } .page-header h3 { font-size: 24px; color: var(--dark); margin-bottom: 5px; } .breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--text); } .breadcrumb span { color: #9ca3af; } /* Stats Cards */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; } .stat-card { background: white; border-radius: 15px; padding: 25px; box-shadow: var(--shadow); transition: all 0.3s; position: relative; overflow: hidden; } .stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); } .stat-card.success::before { background: var(--secondary); } .stat-card.warning::before { background: var(--warning); } .stat-card.danger::before { background: var(--danger); } .stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; } .stat-icon.blue { background: rgba(30, 58, 138, 0.1); color: var(--primary); } .stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--secondary); } .stat-icon.yellow { background: rgba(245, 158, 11, 0.1); color: var(--warning); } .stat-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--danger); } .stat-value { font-size: 32px; font-weight: 700; color: var(--dark); margin-bottom: 5px; } .stat-label { font-size: 14px; color: var(--text); } .stat-change { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 8px; border-radius: 20px; background: rgba(16, 185, 129, 0.1); color: var(--secondary); } .stat-change.negative { background: rgba(239, 68, 68, 0.1); color: var(--danger); } /* ATM Discovery Panel */ .discovery-panel { background: white; border-radius: 15px; padding: 25px; box-shadow: var(--shadow); margin-bottom: 30px; } .discovery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } .discovery-header h4 { font-size: 20px; color: var(--dark); display: flex; align-items: center; gap: 10px; } .scan-controls { display: flex; gap: 10px; } .scan-btn { padding: 10px 20px; background: var(--primary); color: white; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; } .scan-btn:hover { background: var(--primary-dark); transform: translateY(-2px); } .scan-btn.scanning { background: var(--warning); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } .filter-btn { padding: 10px 15px; background: var(--light); color: var(--text); border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s; } .filter-btn:hover { background: var(--border); } .signal-strength { display: flex; align-items: center; gap: 5px; } .signal-bar { width: 4px; background: #e5e7eb; border-radius: 2px; transition: all 0.3s; } .signal-bar:nth-child(1) { height: 8px; } .signal-bar:nth-child(2) { height: 12px; } .signal-bar:nth-child(3) { height: 16px; } .signal-bar:nth-child(4) { height: 20px; } .signal-bar.active { background: var(--secondary); } .signal-bar.weak { background: var(--warning); } .signal-bar.strong { background: var(--secondary); } /* ATM List */ .atm-list { display: flex; flex-direction: column; gap: 15px; } .atm-item { background: var(--light); border-radius: 12px; padding: 20px; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; cursor: pointer; border: 2px solid transparent; } .atm-item:hover { transform: translateX(5px); border-color: var(--primary); box-shadow: var(--shadow); } .atm-item.selected { border-color: var(--primary); background: rgba(30, 58, 138, 0.05); } .atm-info { flex: 1; } .atm-name { font-weight: 600; color: var(--dark); font-size: 16px; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; } .atm-details { display: flex; gap: 20px; font-size: 14px; color: var(--text); } .atm-detail { display: flex; align-items: center; gap: 5px; } .atm-actions { display: flex; align-items: center; gap: 15px; } .connect-btn { padding: 8px 16px; background: var(--secondary); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 14px; } .connect-btn:hover { background: #059669; transform: translateY(-2px); } .connect-btn.connected { background: var(--warning); } .connection-type { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: white; border-radius: 20px; font-size: 12px; font-weight: 600; } .type-wifi { color: var(--primary); } .type-bluetooth { color: #3b82f6; } .type-cellular { color: var(--secondary); } /* Connection Status */ .connection-status { background: white; border-radius: 15px; padding: 25px; box-shadow: var(--shadow); margin-bottom: 30px; } .status-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .status-header h4 { font-size: 18px; color: var(--dark); } .status-indicator { display: flex; align-items: center; gap: 10px; padding: 8px 15px; background: rgba(16, 185, 129, 0.1); border-radius: 20px; color: var(--secondary); font-weight: 600; } .status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); animation: blink 2s infinite; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } .connection-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } .detail-item { padding: 15px; background: var(--light); border-radius: 10px; } .detail-label { font-size: 12px; color: #9ca3af; margin-bottom: 5px; } .detail-value { font-size: 16px; font-weight: 600; color: var(--dark); } /* ATM Status Grid */ .atm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; } .atm-card { background: white; border-radius: 15px; padding: 20px; box-shadow: var(--shadow); transition: all 0.3s; } .atm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .atm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .atm-id { font-weight: 600; color: var(--dark); font-size: 16px; } .atm-status { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; } .status-online { background: rgba(16, 185, 129, 0.1); color: var(--secondary); } .status-offline { background: rgba(239, 68, 68, 0.1); color: var(--danger); } .status-maintenance { background: rgba(245, 158, 11, 0.1); color: var(--warning); } .atm-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; } .info-item { display: flex; flex-direction: column; gap: 3px; } .info-label { font-size: 12px; color: #9ca3af; } .info-value { font-size: 14px; font-weight: 600; color: var(--dark); } /* Modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(5px); } .modal.active { display: flex; animation: fadeIn 0.3s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal-content { background: white; border-radius: 20px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s; } .modal-header { padding: 25px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .modal-header h3 { font-size: 20px; color: var(--dark); } .close-modal { background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; transition: color 0.3s; } .close-modal:hover { color: var(--danger); } .modal-body { padding: 25px; } .modal-footer { padding: 20px 25px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; } .btn { padding: 10px 20px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 14px; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); } .btn-secondary { background: var(--light); color: var(--text); } .btn-secondary:hover { background: var(--border); } /* Mobile Menu Toggle */ .menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; } /* Responsive */ @media (max-width: 768px) { .sidebar { transform: translateX(-100%); } .sidebar.active { transform: translateX(0); } .main-content { margin-left: 0; padding: 20px; } .menu-toggle { display: block; } .header-content { padding: 15px 20px; } .stats-grid { grid-template-columns: 1fr; } .atm-grid { grid-template-columns: 1fr; } .atm-item { flex-direction: column; align-items: flex-start; gap: 15px; } .atm-actions { width: 100%; justify-content: space-between; } } /* Loading Spinner */ .spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid var(--light); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Alert */ .alert { padding: 15px 20px; border-radius: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; animation: slideDown 0.3s; } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .alert-success { background: rgba(16, 185, 129, 0.1); color: var(--secondary); border: 1px solid rgba(16, 185, 129, 0.2); } .alert-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); } .alert-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); } .close-alert { margin-left: auto; background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.7; transition: opacity 0.3s; } .close-alert:hover { opacity: 1; } /* Charts Container */ .chart-container { background: white; border-radius: 15px; padding: 25px; box-shadow: var(--shadow); margin-bottom: 30px; } .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .chart-header h4 { font-size: 18px; color: var(--dark); } .chart-period { display: flex; gap: 10px; } .period-btn { padding: 6px 12px; background: var(--light); border: none; border-radius: 8px; font-size: 12px; cursor: pointer; transition: all 0.3s; } .period-btn.active { background: var(--primary); color: white; } .chart-placeholder { height: 300px; background: linear-gradient(135deg, var(--light) 25%, transparent 25%), linear-gradient(225deg, var(--light) 25%, transparent 25%), linear-gradient(45deg, var(--light) 25%, transparent 25%), linear-gradient(315deg, var(--light) 25%, white 25%); background-position: 10px 0, 10px 0, 0 0, 0 0; background-size: 20px 20px; background-repeat: repeat; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #9ca3af; } /* Activity Log */ .activity-log { background: white; border-radius: 15px; padding: 25px; box-shadow: var(--shadow); } .activity-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .activity-header h4 { font-size: 18px; color: var(--dark); } .view-all-btn { color: var(--primary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s; } .view-all-btn:hover { color: var(--primary-dark); } .activity-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--border); transition: background 0.3s; } .activity-item:hover { background: var(--light); margin: 0 -25px; padding: 15px 25px; } .activity-item:last-child { border-bottom: none; } .activity-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .activity-content { flex: 1; } .activity-title { font-weight: 600; color: var(--dark); margin-bottom: 3px; } .activity-desc { font-size: 14px; color: var(--text); } .activity-time { font-size: 12px; color: #9ca3af; } /* Built with anycoder link */ .anycoder-link { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: white; padding: 10px 20px; border-radius: 25px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s; z-index: 1000; box-shadow: var(--shadow); } .anycoder-link:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); } /* Discovery Animation */ .radar-container { position: relative; width: 60px; height: 60px; display: inline-block; } .radar { position: absolute; width: 100%; height: 100%; border: 2px solid var(--primary); border-radius: 50%; opacity: 0.3; } .radar::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: var(--primary); transform: translate(-50%, -50%); animation: radarPulse 2s infinite; } @keyframes radarPulse { 0% { width: 0; height: 0; opacity: 1; } 100% { width: 100%; height: 100%; opacity: 0; } } .scanning .radar { animation: radarRotate 2s linear infinite; } @keyframes radarRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> </head> <body> <!-- Login Screen --> <div class="login-container" id="loginScreen"> <div class="login-card"> <div class="login-header"> <i class="fas fa-shield-alt" style="font-size: 48px; color: var(--primary); margin-bottom: 15px;"></i> <h1>Tekium Secure Deploy</h1> <p>Version 2.18 - ATM Management System</p> <p style="font-size: 12px; color: #9ca3af; margin-top: 10px;">Windows 10 Enterprise | Hyosung V35</p> </div> <form id="loginForm"> <div class="form-group"> <label for="username">Username</label> <div class="input-icon"> <i class="fas fa-user"></i> <input type="text" id="username" placeholder="Enter username" required> </div> </div> <div class="form-group"> <label for="password">Password</label> <div class="input-icon"> <i class="fas fa-lock"></i> <input type="password" id="password" placeholder="Enter password" required> </div> </div> <div class="form-group"> <label for="location">ATM Location</label> <select id="location" required> <option value="">Select ATM Location</option> <option value="branch1">Branch 1 - Downtown</option> <option value="branch2">Branch 2 - Mall</option> <option value="branch3">Branch 3 - Airport</option> <option value="branch4">Branch 4 - Hospital</option> </select> </div> <button type="submit" class="login-btn"> <i class="fas fa-sign-in-alt" style="margin-right: 8px;"></i> Secure Login </button> </form> <p style="text-align: center; margin-top: 20px; font-size: 12px; color: #9ca3af;"> <i class="fas fa-lock"></i> Encrypted Connection | 256-bit SSL </p> </div> </div> <!-- Main Dashboard --> <div class="dashboard" id="dashboard"> <!-- Header --> <header class="header"> <div class="header-content"> <button class="menu-toggle" id="menuToggle"> <i class="fas fa-bars"></i> </button> <div class="logo"> <i class="fas fa-shield-alt"></i> <h2>Tekium Secure Deploy</h2> <span>v2.18</span> </div> <div class="header-actions"> <button class="notification-btn" onclick="showNotifications()"> <i class="fas fa-bell"></i> <span class="notification-badge">3</span> </button> <div class="user-menu" onclick="showUserMenu()"> <div class="user-avatar">AD</div> <div> <div style="font-weight: 600; font-size: 14px;">Admin User</div> <div style="font-size: 12px; color: #9ca3af;">Administrator</div> </div> <i class="fas fa-chevron-down" style="margin-left: 10px; font-size: 12px;"></i> </div> </div> </div> </header> <!-- Sidebar --> <aside class="sidebar" id="sidebar"> <nav class="sidebar-menu"> <a href="#" class="menu-item active" onclick="switchPage('overview')"> <i class="fas fa-tachometer-alt"></i> <span>Overview</span> </a> <a href="#" class="menu-item" onclick="switchPage('discovery')"> <i class="fas fa-wifi"></i> <span>ATM Discovery</span> </a> <a href="#" class="menu-item" onclick="switchPage('atms')"> <i class="fas fa-credit-card"></i> <span>ATM Management</span> </a> <a href="#" class="menu-item" onclick="switchPage('transactions')"> <i class="fas fa-exchange-alt"></i> <span>Transactions</span> </a> <a href="#" class="menu-item" onclick="switchPage('security')"> <i class="fas fa-shield-alt"></i> <span>Security</span> </a> <a href="#" class="menu-item" onclick="switchPage('maintenance')
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tekium Secure Deploy v2.18 - ATM Management System</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #1e3a8a;
--primary-dark: #1e2e5e;
--secondary: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
--dark: #111827;
--light: #f3f4f6;
--border: #e5e7eb;
--text: #374151;
--shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
--shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: var(--text);
}
/* Login Screen */
.login-container {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-card {
background: white;
border-radius: 20px;
box-shadow: var(--shadow-lg);
width: 100%;
max-width: 450px;
padding: 40px;
animation: slideUp 0.5s ease;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.login-header {
text-align: center;
margin-bottom: 30px;
}
.login-header h1 {
color: var(--primary);
font-size: 28px;
margin-bottom: 10px;
}
.login-header p {
color: var(--text);
font-size: 14px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: var(--text);
font-weight: 500;
font-size: 14px;
}
.form-group input,
.form-group select {
width: 100%;
padding: 12px 15px;
border: 2px solid var(--border);
border-radius: 10px;