You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
|
4 weeks ago
|
{{define "login"}}
|
||
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="ko">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>로그인 - {{.AppName}}</title>
|
||
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
||
|
|
</head>
|
||
|
|
<body class="login-body">
|
||
|
|
<main class="login-shell">
|
||
|
|
<section class="login-panel">
|
||
|
|
<div class="login-brand">
|
||
|
|
<div class="brand-mark">TC</div>
|
||
|
|
<div>
|
||
|
|
<div class="brand-title">{{.AppName}}</div>
|
||
|
|
<div class="brand-subtitle">Device console login</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="login-copy">
|
||
|
|
<h1>로그인</h1>
|
||
|
|
<p>장치 관리 화면에 접근하려면 계정으로 로그인하세요.</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{{if .Error}}
|
||
|
|
<div class="login-error">{{.Error}}</div>
|
||
|
|
{{end}}
|
||
|
|
|
||
|
|
<form class="login-form" action="/login" method="post" autocomplete="off">
|
||
|
|
<div class="form-row">
|
||
|
|
<label for="username">아이디</label>
|
||
|
|
<input id="username" type="text" name="username" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" required>
|
||
|
|
</div>
|
||
|
|
<div class="form-row">
|
||
|
|
<label for="password">비밀번호</label>
|
||
|
|
<input id="password" type="password" name="password" autocomplete="new-password" required>
|
||
|
|
</div>
|
||
|
|
<button class="btn primary login-submit" type="submit">로그인</button>
|
||
|
|
</form>
|
||
|
|
</section>
|
||
|
|
</main>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
{{end}}
|