Newer
Older
bremer / src / main / resources / static / bremer / login.html
yhornisse on 22 Jul 2023 1 KB add alias_name
<!--
  ~ Copyright (c) 2023. yo-saito. All Rights Reserved.
  -->

<!doctype html>
<html>
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script>
    window.onload = function () {
      const searchParams = new URLSearchParams(window.location.search)
      if (searchParams.has('failed')) {
        document.getElementById("warn").innerText = "ログインに失敗しました"
      }
    }
  </script>
</head>
<body style="margin: 0; padding: 0;">
<h1 style="background-color: #9999FF; margin: 0; padding: 0.5rem;">Bremer</h1>
<form method="POST" action="/bremer/login">
  <div id="warn" style="color: red;">
  </div>
  <div>
    <div>ID</div>
    <div><input type="text" name="id" value="" style="width: 80%"/></div>
    <div style="margin-top: 0.5rem;">パスワード</div>
    <div><input type="password" name="password" value="" style="width: 80%"/></div>
  </div>
  <div style="margin-top:1rem;">
    <button type="submit" style="width: 80%">ログイン</button>
  </div>
</form>
</body>
</html>