anycoder-fe33fdf4 / index.html
seanharu012's picture
Upload folder using huggingface_hub
d14c31e verified
Raw History Blame Contribute Delete
23.3 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>IMS Dashboard β€” DMCI Power Corporation</title> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" /> <style> *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } :root { --navy: #0b1f3a; --navy2: #0e2a50; --navy3: #143668; --blue: #1158c7; --blue2: #1a6ee8; --blue-lt: #e8f0fe; --white: #ffffff; --bg: #f0f4f8; --g50: #f8fafc; --g100: #edf1f7; --g200: #d5dce9; --g300: #b0bcce; --g400: #8494ad; --g600: #445570; --g800: #1a2535; --green: #0e7a45; --green-lt: #e8f5ee; --green2: #12a05a; --red: #c0392b; --red-lt: #fdecea; --amber: #d4891a; --amber-lt: #fff3e0; --sh: 0 1px 4px rgba(11, 31, 58, 0.08); --shM: 0 4px 20px rgba(11, 31, 58, 0.13); --shL: 0 8px 32px rgba(11, 31, 58, 0.16); --r: 8px; --font: 'Inter', system-ui, sans-serif; --hdr-h: 56px; --admin-hdr: #0d3a8e; } body { font-family: var(--font); background: var(--bg); color: var(--g800); min-height: 100vh; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; } /* ══ HEADER ══ */ .hdr { background: var(--navy); height: var(--hdr-h); display: flex; align-items: center; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.32); transition: background 0.3s; flex-shrink: 0; min-height: var(--hdr-h); } .hdr.admin-mode { background: var(--admin-hdr); } .hdr-in { width: 100%; display: flex; align-items: center; padding: 0 24px; height: 100%; overflow: hidden; min-width: 0; } .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; } .brand-ico-img { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--white); display: flex; align-items: center; justify-content: center; } .brand-ico-img img { width: 100%; height: 100%; object-fit: contain; display: block; } .brand-title { font-size: 0.88rem; font-weight: 700; color: var(--white); white-space: nowrap; } .brand-admin-badge { display: none; padding: 2px 7px; border-radius: 3px; background: rgba(79, 195, 247, 0.2); border: 1px solid rgba(79, 195, 247, 0.4); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; color: #4fc3f7; text-transform: uppercase; white-space: nowrap; margin-left: 4px; } .brand-admin-badge.on { display: inline-flex; } .hdr-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.1); margin: 0 6px; flex-shrink: 0; } .nav-wrap { display: flex; align-items: stretch; height: var(--hdr-h); flex: 1; min-width: 0; overflow: hidden; } .nav { display: flex; align-items: stretch; height: var(--hdr-h); overflow-x: auto; scrollbar-width: none; flex-shrink: 1; min-width: 0; } .nav::-webkit-scrollbar { display: none; } .ni { display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px; font-family: var(--font); font-size: 0.76rem; font-weight: 500; color: rgba(255, 255, 255, 0.62); background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: color 0.14s, background 0.14s, border-color 0.14s; } .ni:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); } .ni.active { color: var(--white); font-weight: 600; border-bottom-color: #4fc3f7; background: rgba(255, 255, 255, 0.07); } .ni .arr { font-size: 0.44rem; opacity: 0.5; transition: transform 0.18s; } .ni.adm { color: #90caf9; } .ni.adm:hover { color: var(--white); background: rgba(79, 195, 247, 0.1); } .ni.adm.active { border-bottom-color: #4fc3f7; } .nd { position: relative; display: inline-flex; align-items: stretch; height: var(--hdr-h); } .nd:hover>.ni .arr, .nd:focus-within>.ni .arr { transform: rotate(180deg); } .dd { position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.07); border-top: 2px solid #4fc3f7; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shL); opacity: 0; pointer-events: none; transform: translateY(-3px); transition: opacity 0.15s, transform 0.15s; z-index: 9999; overflow: hidden; } .nd:hover .dd, .nd:focus-within .dd { opacity: 1; pointer-events: all; transform: translateY(0); } .ddi { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 16px; font-family: var(--font); font-size: 0.77rem; font-weight: 400; color: rgba(255, 255, 255, 0.66); background: none; border: none; cursor: pointer; text-align: left; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.12s, color 0.12s; } .ddi:last-child { border-bottom: none; } .ddi:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); } .ddi-i { font-size: 0.84rem; width: 17px; text-align: center; flex-shrink: 0; } .admin-zone { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; padding-left: 10px; } .admin-login-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 4px; background: rgba(17, 88, 199, 0.35); border: 1px solid rgba(74, 144, 217, 0.45); color: #90caf9; font-family: var(--font); font-size: 0.73rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.15s; } .admin-login-btn:hover { background: rgba(17, 88, 199, 0.55); color: var(--white); border-color: #4fc3f7; } .admin-user-pill { display: none; align-items: center; } .admin-user-pill.on { display: flex; } .admin-pill-btn { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 4px 0 0 4px; background: rgba(17, 88, 199, 0.4); border: 1px solid rgba(74, 144, 217, 0.5); border-right: none; color: #90caf9; font-family: var(--font); font-size: 0.73rem; font-weight: 700; cursor: default; white-space: nowrap; } .admin-pill-btn .admin-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fc3f7; flex-shrink: 0; } .admin-logout-btn { padding: 5px 10px; border-radius: 0 4px 4px 0; background: rgba(192, 57, 43, 0.25); border: 1px solid rgba(231, 76, 60, 0.35); border-left: none; color: #ef9a9a; font-family: var(--font); font-size: 0.69rem; font-weight: 600; cursor: pointer; transition: all 0.15s; } .admin-logout-btn:hover { background: rgba(192, 57, 43, 0.5); color: #ffcdd2; } .mob-btn { display: none; width: 34px; height: 34px; border-radius: 6px; background: rgba(255, 255, 255, 0.09); border: none; color: var(--white); font-size: 1rem; cursor: pointer; align-items: center; justify-content: center; margin-left: 8px; flex-shrink: 0; } .mob-ov { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 990; } .mob-ov.on { display: block; } .mob-dr { display: none; position: fixed; top: var(--hdr-h); left: 0; right: 0; bottom: 0; background: var(--navy2); z-index: 995; overflow-y: auto; padding: 6px 0 48px; } .mob-dr.on { display: block; } .mob-ni { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 24px; font-family: var(--font); font-size: 0.82rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); background: none; border: none; cursor: pointer; text-align: left; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background .12s, color .12s; } .mob-ni:hover { background: rgba(255, 255, 255, 0.05); color: var(--white); } .mob-ni.sub { padding-left: 42px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.42); } .mob-ni.sub:hover { color: rgba(255, 255, 255, 0.82); } .mob-sec { padding: 13px 24px 3px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.24); } @media(max-width:1100px) { .nav { display: none; } .mob-btn { display: flex; } } /* ══ PAGE SYSTEM ══ */ .page { display: none; } .page.on { display: flex; flex-direction: column; flex: 1; animation: pgIn 0.22s ease; } @keyframes pgIn { from { opacity: 0; transform: translateY(5px) } to { opacity: 1; transform: none } } /* ══ HOME / HERO ══ */ .hero { position: relative; overflow: hidden; background: var(--navy); min-height: 300px; display: flex; align-items: stretch; } .hero-in { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 60px 40px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; } .hero-l { max-width: 590px; } .hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 3px; background: rgba(17, 88, 199, 0.25); border: 1px solid rgba(74, 144, 217, 0.5); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #90caf9; margin-bottom: 16px; } .hero-l h1 { font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 800; color: var(--white); line-height: 1.18; margin-bottom: 20px; letter-spacing: -0.02em; } .hero-l h1 em { color: #64b5f6; font-style: normal; } .hero-cert-text { font-size: 1.05rem; color: rgba(255, 255, 255, 0.75); line-height: 1.78; margin-bottom: 26px; max-width: 500px; border-left: 3px solid var(--blue2); padding-left: 16px; } .hero-cert-text strong { color: rgba(255, 255, 255, 0.95); font-weight: 700; } .hero-r { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; } .cert-row { display: flex; gap: 10px; } .cbox-link { text-decoration: none; display: block; transition: transform 0.2s; } .cbox-merged { background: rgba(255, 255, 255, 0.95); border-radius: 10px; overflow: hidden; width: 118px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; align-items: center; } .cbox-link:hover .cbox-merged { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .cbox-img-wrap { width: 100%; padding: 10px 8px 6px; display: flex; align-items: center; justify-content: center; background: #fff; } .cbox-img-wrap img { width: 100%; height: 76px; object-fit: contain; display: block; } .cbox-pill { width: 100%; padding: 6px 4px; background: var(--blue); color: #fff; font-size: 0.6rem; font-weight: 800; text-align: center; letter-spacing: 0.04em; line-height: 1.3; } @media(max-width:860px) { .hero-in { flex-direction: column; padding: 38px 20px 34px; } .hero-r { align-items: flex-start; } .cert-row { flex-wrap: wrap; } } /* ══ HOME BODY ══ */ .home-body { max-width: 1320px; margin: 0 auto; padding: 48px 40px 72px; display: flex; flex-direction: column; gap: 52px; } @media(max-width:768px) { .home-body { padding: 30px 18px 56px; gap: 40px; } } .sec-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; } .sec-hd-bar { width: 4px; height: 20px; background: var(--blue); border-radius: 2px; flex-shrink: 0; } .sec-hd-txt { font-size: 0.95rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; } .iso-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } .iso-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--g200); box-shadow: var(--sh); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; } .iso-card:hover { box-shadow: var(--shM); transform: translateY(-2px); border-color: #a8c4f0; } .iso-top { display: flex; align-items: center; justify-content: space-between; } .iso-tag { background: var(--blue-lt); color: var(--blue); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; } .iso-cert { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 600; color: var(--green); } .iso-cert::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; } .iso-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--g800); line-height: 1.3; } .iso-divider { height: 1px; background: var(--g100); } .iso-link { font-size: 0.75rem; font-weight: 600; color: var(--blue); } /* ══ INNER PAGES ══ */ .ph { background: var(--navy); padding: 18px 0 16px; border-bottom: 3px solid var(--blue2); position: relative; overflow: hidden; } .ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 40% 120% at 88% 50%, rgba(17, 88, 199, 0.13) 0%, transparent 70%); } .ph-in { max-width: 1320px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; } .ph-cr { display: flex; align-items: center; justify-content: space-between; gap: 20px; } .ph h2 { font-size: 1.75rem; font-weight: 800; color: var(--white); margin-bottom: 0; letter-spacing: -0.02em; line-height: 1.2; } .ph p { font-size: 0.79rem; color: rgba(255, 255, 255, 0.44); } @media(max-width:768px) { .ph { padding: 14px 0 12px; } .ph-in { padding: 0 18px; } } .pc { max-width: 1320px; width: 100%; margin: 0 auto; padding: 30px 40px 64px; flex: 1; } @media(max-width:768px) { .pc { padding: 20px 18px 56px; } } footer { margin-top: auto; flex-shrink: 0; } .card { background: var(--white); border-radius: var(--r); border: 1px solid var(--g200); box-shadow: var(--sh); padding: 22px 26px; margin-bottom: 13px; } .card.bl { border-left: 4px solid var(--blue); } .card h3 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; } .card p { font-size: 0.83rem; color: var(--g600); line-height: 1.78; } .cb { background: linear-gradient(115deg, var(--navy2), var(--navy3)); border-radius: var(--r); padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; border-left: 4px solid var(--blue2); } .cb p { font-size: 0.79rem; color: rgba(255, 255, 255, 0.58); } .cb strong { color: var(--white); } .cn-btn { padding: 7px 16px; border-radius: 4px; background: var(--blue2); color: var(--white); font-family: var(--font); font-size: 0.75rem; font-weight: 700; border: none; cursor: pointer; transition: background .18s; } .cn-btn:hover { background: #2576f2; } .tw { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--g200); } table { width: 100%; border-collapse: collapse; font-size: 0.79rem; } thead th { background: var(--navy); color: var(--white); padding: 10px 15px; font-weight: 600; letter-spacing: 0.03em; text-align: left; } tbody tr { border-bottom: 1px solid var(--g100); transition: background .12s; } tbody tr:hover { background: var(--blue-lt); } tbody td { padding: 10px 15px; vertical-align: middle; } .tb { padding: 2px 8px; border-radius: 3px; font-size: 0.66rem; font-weight: 700; } .tb.g { background: var(--green-lt); color: var(--green); } .tb.b { background: var(--blue-lt); color: var(--blue); } .tb.r { background: var(--red-lt); color: var(--red); } .tb.a { background: var(--amber-lt); color: var(--amber); } .tl { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.77rem; } .tl:hover { text-decoration: underline; } .fg { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; } .fc { background: var(--white); border: 1px solid var(--g200); border-radius: var(--r); padding: 36px 24px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; text-decoration: none; color: inherit; transition: all .2s; box-shadow: var(--sh); width: 100%; min-height: 200px; border-top: 3px solid transparent; } .fc:hover { border-color: var(--blue); border-top-color: var(--blue); box-shadow: var(--shM); transform: translateY(-3px); } .fc:hover .fc-ico { background: var(--blue); color: var(--white); } .fc-ico { width: 68px; height: 68px; border-radius: 14px; background: var(--blue-lt); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; } .fc-ttl { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; } .fc-sub { font-size: 0.77rem; color: var(--g400); line-height: 1.55; } .fc-lnk { font-size: 0.74rem; font-weight: 600; color: var(--blue); margin-top: 3px; } .ts-stat { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; margin-bottom: 22px; } .tss { background: var(--white); border-radius: var(--r); border: 1px solid var(--g200); padding: 16px; box-shadow: var(--sh); display: flex; flex-direction: column; justify-content: center; } .tss-lbl { font-size: 0.68rem; font-weight: 700; color: var(--g400); text-transform: uppercase; letter-spacing: 0.05em; } .tss-val { font-size: 1.45rem; font-weight: 800; color: var(--navy); line-height: 1.2; } .tss-sub { font-size: 0.72rem; color: var(--g600); margin-top: 2px; } /* ══ NEW BACK BUTTON STYLE ══ */ .ph-back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; color: rgba(255, 255, 255, 0.8); font-size: 0.76rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; margin-bottom: 10px; } .ph-back-btn:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); border-color: rgba(255, 255, 255, 0.4); } .ph-back-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } </style> </head> <body> <!-- Header --> <header class="hdr"> <div class="hdr-in"> <a href="#" class="brand"> <div class="brand-ico-img"> <!-- Placeholder Logo --> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="#0b1f3a" stroke-width="2" stroke-linecap="
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IMS Dashboard β€” DMCI Power Corporation</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
:root {
--navy: #0b1f3a;
--navy2: #0e2a50;
--navy3: #143668;
--blue: #1158c7;
--blue2: #1a6ee8;
--blue-lt: #e8f0fe;
--white: #ffffff;
--bg: #f0f4f8;
--g50: #f8fafc;
--g100: #edf1f7;
--g200: #d5dce9;
--g300: #b0bcce;
--g400: #8494ad;
--g600: #445570;
--g800: #1a2535;
--green: #0e7a45;
--green-lt: #e8f5ee;
--green2: #12a05a;
--red: #c0392b;
--red-lt: #fdecea;
--amber: #d4891a;
--amber-lt: #fff3e0;
--sh: 0 1px 4px rgba(11, 31, 58, 0.08);
--shM: 0 4px 20px rgba(11, 31, 58, 0.13);
--shL: 0 8px 32px rgba(11, 31, 58, 0.16);
--r: 8px;
--font: 'Inter', system-ui, sans-serif;
--hdr-h: 56px;
--admin-hdr: #0d3a8e;
}
body {
font-family: var(--font);
background: var(--bg);
color: var(--g800);
min-height: 100vh;
font-size: 14px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
}
/* ══ HEADER ══ */
.hdr {
background: var(--navy);
height: var(--hdr-h);
display: flex;
align-items: center;
position: sticky;
top: 0;
z-index: 999;
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
transition: background 0.3s;
flex-shrink: 0;
min-height: var(--hdr-h);
}
.hdr.admin-mode {
background: var(--admin-hdr);
}
.hdr-in {
width: 100%;
display: flex;
align-items: center;
padding: 0 24px;
height: 100%;
overflow: hidden;
min-width: 0;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
flex-shrink: 0;