aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/totp.tpl
blob: 1f3b1cfc71bd15d189c01637764f739b8b052f60 (plain) (blame)
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
<!DOCTYPE html>
<html data-bs-theme="light">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
	<head>
		<link rel="stylesheet" href="/vendor/twbs/bootstrap/dist/css/bootstrap.min.css" type="text/css" media="screen">
		<link rel="stylesheet" href="/library/fork-awesome/css/fork-awesome.min.css" type="text/css" media="screen">
	</head>
	<body>
		<nav class="navbar bg-body-tertiary">
			<div class="container-sm">
				<span class="navbar-brand"><i class="fa fa-fw fa-hubzilla"></i>{{$header}}</span>
			</div>
		</nav>
		<main class="container-sm mt-4">
			<h5>{{$id}}</h5>
			<form action="totp_check" method="post">
				<input type="hidden" class="form-control" name="totp_code_static" value="1"/>
				<div class="mb-3">
					<label for="totp-input" class="form-label">{{$desc}}</label>
					<input id="totp-input" type="text" class="form-control" name="totp_code" value=""/>
				</div>
				<input type="submit" value="{{$submit}}" class="btn btn-primary">
			</form>
		</main>
	</body>
</html>