fastcloud/templates/home.html.hbs

27 lines
1.4 KiB
Handlebars
Raw Normal View History

2022-03-02 02:08:29 -05:00
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
</head>
<body>
2022-03-02 11:01:46 -05:00
<div class="vstack gap-3">
<div class="bg-light border rounded-3 p-2">
<div class="d-grid gap-2 col-sm-6">
<form class='form-inline' action="/login" method="post" id = "login-form" enctype="application/x-ww-form-urlencoded">
<div class="input-group mb-3 flex-nowrap col-sm-6">
<input type="password" class="form-control" id="key" name="key" placeholder = "Enter Key"/>
</div>
</form>
</div>
2022-03-02 02:08:29 -05:00
</div>
2022-03-02 11:01:46 -05:00
</div>
2022-03-02 02:08:29 -05:00
2022-03-02 11:01:46 -05:00
<script>
document.getElementById("login").addEventListener("keyup", function (event) { if (event.keyCode == 13) { document.getElementById("login-form").submit(); }});
</script>
2022-03-02 02:08:29 -05:00
</body>
</html>