説明なし

login.html 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. {% extends "signinheader.html" %}
  2. {% block body %}
  3. <body>
  4. <div class="container">
  5. <form class="form-signin" action="/login" method="post">
  6. <h2 class="form-signin-heading">Please sign in</h2>
  7. <label for="email" class="sr-only">Email address</label>
  8. <input type="email" name="email" id="email" class="form-control" placeholder="Email address" required autofocus>
  9. <label for="passwd" class="sr-only">Password</label>
  10. <input type="password" id="passwd" name="passwd" class="form-control" placeholder="Password" required>
  11. <div class="checkbox">
  12. <label>
  13. <input type="checkbox" value="remember-me"> Remember me
  14. </label>
  15. </div>
  16. <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
  17. </form>
  18. {% for m in msg %}
  19. <div class="alert alert-{{m["type"]}}">
  20. <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
  21. {{m["msg"]}}
  22. </div>
  23. {% endfor %}
  24. <div class="container">
  25. </div> <!-- /container -->
  26. </body>
  27. {% endblock %}