-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
164 lines (163 loc) · 8.56 KB
/
Copy pathindex.html
File metadata and controls
164 lines (163 loc) · 8.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="ESEC Student On-Duty Management System — Submit, track, and manage student OD requests for events, workshops, and technical activities at Erode Sengunthar Engineering College." />
<meta name="robots" content="noindex, nofollow" />
<meta name="theme-color" content="#F59E0B" />
<meta property="og:title" content="ESEC OD Portal" />
<meta property="og:description" content="Student On-Duty Management System for Erode Sengunthar Engineering College." />
<meta property="og:type" content="website" />
<link rel="apple-touch-icon" href="/logo.png" />
<title>ESEC Student On-Duty Management System</title>
<link rel="icon" href="/favicon.png" type="image/png" />
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries,typography"></script>
<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet" />
<script id="tailwind-config">
window.tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"blueprint-blue": "#F59E0B",
"institutional-gold": "#F59E0B",
"goldenrod": "#DAA520",
"concrete-gray": "#E5E4E2",
"drafting-paper": "#FFFDF5",
"ink-black": "#0F172A",
"pencil-gray": "#555555",
"primary": "#F59E0B",
"primary-dark": "#DAA520",
"concrete-light": "#E0E0E0",
"concrete-dark": "#1F2937",
"steel-light": "#CFD8DC",
"steel-dark": "#374151",
},
fontFamily: {
"display": ["Chakra Petch", "sans-serif"],
"body": ["Inter", "sans-serif"],
"mono": ["JetBrains Mono", "monospace"],
},
backgroundImage: {
'grid-paper': "linear-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px)",
}
},
},
}
</script>
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #FFFDF5;
}
.bg-topo {
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2' fill='%23F59E0B' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.bg-stripes {
background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
background-size: 1rem 1rem;
}
.steel-border {
border: 2px solid #DAA520;
box-shadow:
inset 1px 1px 0px rgba(255, 255, 255, 0.1),
inset -1px -1px 0px rgba(0, 0, 0, 0.3),
2px 2px 0px rgba(0,0,0,0.2);
}
.input-inset {
box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}
@keyframes bounce-pin {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.animate-pin {
animation: bounce-pin 2s infinite ease-in-out;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #F59E0B33;
border-radius: 10px;
}
html { scroll-behavior: smooth; }
html, body { overflow-y: auto; scrollbar-gutter: stable; }
body::-webkit-scrollbar, .custom-scrollbar::-webkit-scrollbar { width: 10px; height: 10px; }
body::-webkit-scrollbar-thumb { background: #F59E0B88; border-radius: 999px; }
body::-webkit-scrollbar-track { background: #f1f5f9; }
/* The app predates a token-based theme, so these semantic overrides make
existing surfaces readable in dark mode without changing every view. */
html.dark body { background: #020617; color: #e2e8f0; }
html.dark .bg-white { background-color: #0f172a !important; }
html.dark .bg-slate-50, html.dark .bg-slate-100, html.dark .bg-slate-50\/30, html.dark .bg-slate-50\/50 { background-color: #1e293b !important; }
html.dark [class~="bg-[#F8FAFC]"], html.dark [class~="bg-[#F5F5F5]"] { background-color: #020617 !important; }
html.dark .text-slate-900, html.dark .text-slate-800, html.dark .text-slate-700, html.dark .text-gray-900 { color: #f1f5f9 !important; }
html.dark .text-slate-600, html.dark .text-slate-500, html.dark .text-pencil-gray { color: #cbd5e1 !important; }
html.dark .border-slate-100, html.dark .border-slate-200, html.dark .border-slate-300, html.dark .border-b, html.dark .border-t { border-color: #334155 !important; }
html.dark input, html.dark select, html.dark textarea { background-color: #0f172a !important; color: #f8fafc !important; border-color: #475569 !important; }
html.dark input::placeholder, html.dark textarea::placeholder { color: #94a3b8; }
html.dark body::-webkit-scrollbar-track { background: #0f172a; }
html.dark .text-gray-700, html.dark .text-gray-600 { color: #cbd5e1 !important; }
html.dark .hover\:bg-slate-50:hover { background-color: #334155 !important; }
html.dark .hover\:bg-slate-50\/50:hover { background-color: #1e293b !important; }
html.dark .divide-y > :not([hidden]) ~ :not([hidden]) { border-color: #334155 !important; }
.grid-bg {
background-size: 20px 20px;
background-image: linear-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
@keyframes swing {
0%, 100% { transform: rotate(0deg); }
20% { transform: rotate(15deg); }
40% { transform: rotate(-12deg); }
60% { transform: rotate(8deg); }
80% { transform: rotate(-5deg); }
}
.animate-swing {
animation: swing 1s ease-in-out infinite;
transform-origin: top center;
}
</style>
<script>
(function() {
const savedTheme = localStorage.getItem('theme');
if (savedTheme === 'dark') {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
})();
</script>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@^19.2.4",
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
"react/": "https://esm.sh/react@^19.2.4/",
"@supabase/supabase-js": "https://esm.sh/@supabase/supabase-js@^2.95.3",
"jspdf": "https://esm.sh/jspdf@^4.1.0",
"react-router-dom": "https://esm.sh/react-router-dom@^7.13.0",
"lucide-react": "https://esm.sh/lucide-react@^0.564.0",
"exifr": "https://esm.sh/exifr@^7.1.3",
"xlsx": "https://esm.sh/xlsx@0.18.5"
}
}
</script>
</head>
<body class="text-ink-black grid-bg transition-colors duration-300">
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
</body>
</html>