181 lines
5.2 KiB
PHP
181 lines
5.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0">
|
|
<title>Door Code - Identia</title>
|
|
<link rel="stylesheet" href="vendors/mdi/css/materialdesignicons.min.css">
|
|
<link rel="shortcut icon" href="images/myn.png" />
|
|
<style>
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
background: #f8f9fa;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.code-card {
|
|
background: #fff;
|
|
border-radius: 24px;
|
|
box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
|
|
padding: 40px 30px;
|
|
max-width: 420px;
|
|
width: 100%;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
@keyframes slideUp {
|
|
from { opacity: 0; transform: translateY(30px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.code-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, #4b49ac, #7c3aed, #4b49ac);
|
|
}
|
|
|
|
.brand-logo {
|
|
margin-bottom: 24px;
|
|
}
|
|
.brand-logo img {
|
|
width: 120px;
|
|
height: auto;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
color: #1e293b;
|
|
margin-bottom: 6px;
|
|
}
|
|
.card-subtitle {
|
|
font-size: 13px;
|
|
color: #94a3b8;
|
|
margin-bottom: 28px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.code-display {
|
|
position: relative;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
margin-bottom: 28px;
|
|
border: 2px solid #e2e8f0;
|
|
transition: border-color 0.3s;
|
|
}
|
|
.code-display:hover {
|
|
border-color: #4b49ac;
|
|
}
|
|
.code-display img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
/* Decorative glow effect */
|
|
.code-glow {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 14px;
|
|
pointer-events: none;
|
|
background: radial-gradient(ellipse at center, rgba(75, 73, 172, 0.05) 0%, transparent 70%);
|
|
}
|
|
|
|
.info-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 18px;
|
|
border-radius: 30px;
|
|
background: #ede9fe;
|
|
color: #4b49ac;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
}
|
|
.info-badge i { font-size: 16px; }
|
|
|
|
.scan-instructions {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
line-height: 1.7;
|
|
text-align: left;
|
|
padding: 16px;
|
|
background: #f8f9fa;
|
|
border-radius: 12px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
.scan-instructions strong { color: #1e293b; }
|
|
.scan-instructions .step {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.scan-instructions .step:last-child { margin-bottom: 0; }
|
|
.scan-instructions .step-num {
|
|
width: 22px; height: 22px;
|
|
border-radius: 50%;
|
|
background: #4b49ac;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="code-card">
|
|
<div class="brand-logo">
|
|
<img src="images/ko.png" alt="Identia">
|
|
</div>
|
|
|
|
<div class="card-title">Door Access Code</div>
|
|
<div class="card-subtitle">Scan this code using the Identia Scanner to unlock the door</div>
|
|
|
|
<div class="code-display">
|
|
<img src="images/door_code.png" alt="Identia Door Code">
|
|
<div class="code-glow"></div>
|
|
</div>
|
|
|
|
<div class="info-badge">
|
|
<i class="mdi mdi-shield-check"></i>
|
|
Secured — Only Identia Scanner
|
|
</div>
|
|
|
|
<div class="scan-instructions">
|
|
<div class="step">
|
|
<div class="step-num">1</div>
|
|
<div>Open <strong>scanning.php</strong> on your device</div>
|
|
</div>
|
|
<div class="step">
|
|
<div class="step-num">2</div>
|
|
<div>Point the camera at the code above</div>
|
|
</div>
|
|
<div class="step">
|
|
<div class="step-num">3</div>
|
|
<div>Access is valid for <strong>30 seconds</strong> only</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|