aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/totp.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/totp.tpl')
-rw-r--r--view/tpl/totp.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/view/tpl/totp.tpl b/view/tpl/totp.tpl
new file mode 100644
index 000000000..0367483eb
--- /dev/null
+++ b/view/tpl/totp.tpl
@@ -0,0 +1,26 @@
+<!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">
+ </head>
+ <body>
+ <nav class="navbar bg-body-tertiary">
+ <div class="container-sm">
+ <span class="navbar-brand">{{$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>