Files
HM_project_Viewer_Board/templates/login.html
T

98 lines
2.6 KiB
HTML

<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>로그인</title>
<style>
:root {
--line: #dfe4ea;
--muted: #667085;
--ink: #172033;
--accent: #0f766e;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
background: #f5f7fa;
color: var(--ink);
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.login-card {
width: min(360px, calc(100vw - 32px));
background: #fff;
border: 1px solid var(--line);
padding: 26px;
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
h1 {
margin: 0 0 18px;
font-size: 22px;
letter-spacing: 0;
}
label {
display: block;
margin: 14px 0 6px;
color: var(--muted);
font-size: 12px;
font-weight: 800;
}
input {
width: 100%;
box-sizing: border-box;
min-height: 40px;
border: 1px solid var(--line);
padding: 8px 10px;
font-size: 14px;
}
button {
width: 100%;
min-height: 42px;
margin-top: 18px;
border: 0;
background: var(--accent);
color: #fff;
font-weight: 900;
cursor: pointer;
}
.error {
margin-top: 12px;
color: #b42318;
font-size: 13px;
font-weight: 800;
}
.meta {
margin-top: 14px;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
</style>
</head>
<body>
<form class="login-card" method="post" action="/login">
<h1>한맥기술 ERP 점검</h1>
<input type="hidden" name="next" value="{{ next_url }}">
<label for="username">아이디</label>
<input id="username" name="username" autocomplete="username" required autofocus>
<label for="password">비밀번호</label>
<input id="password" name="password" type="password" autocomplete="current-password" required>
<button type="submit">로그인</button>
{% if error %}
<div class="error">{{ error }}</div>
{% endif %}
<div class="meta">계정은 관리자에게 요청하세요.</div>
</form>
</body>
</html>