You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB

4 years ago
  1. {% extends "bootstrap/base.html" %}
  2. {% block title %}$REPO_NAME{% endblock %}
  3. {% block metas %}
  4. {{super()}}
  5. <meta name="apple-mobile-web-app-capable" content="yes">
  6. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
  8. <link rel="manifest" crossorigin="use-credentials" href="./manifest.json">
  9. <link rel="apple-touch-icon" href="{{url_for('.static', filename='app-icon.png')}}">
  10. {% endblock %}
  11. {% block styles %}
  12. {{super()}}
  13. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  14. {% endblock %}
  15. {% block navbar %}
  16. <nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
  17. <div class="navbar-brand">$REPO_NAME</div>
  18. </nav>
  19. {% endblock %}
  20. {% block content %}
  21. <div class="wrapper">
  22. <div class="container" style="margin-top: 15px">
  23. <div class="jumbotron">
  24. <h1>Sign in for our awesome service</h1>
  25. <p>Forgot your password? Too bad! We don't have emails working yet!</p>
  26. </div>
  27. <div class="col-md-12">
  28. {% if error is defined %}
  29. <div id="error-alert" class="alert alert-danger" role="alert">
  30. {{ error }}
  31. </div>
  32. {% endif %}
  33. <form action="" method="post">
  34. <label for="exampleFormControlInput1">Username</label>
  35. <input name="user" class="form-control"><br>
  36. <label for="exampleFormControlInput2">Password</label>
  37. <input type="password" name="passwd" class="form-control"><br>
  38. <button type="submit" class="btn btn-primary">Log In</button>
  39. </form>
  40. </div>
  41. </div>
  42. {% endblock %}