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.5 KiB

  1. {% extends "bootstrap/base.html" %}
  2. {% block title %}Flasky{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
  6. <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
  7. {% endblock %}
  8. {% block navbar %}
  9. <div class="navbar navbar-inverse" role="navigation">
  10. <div class="container">
  11. <div class="navbar-header">
  12. <button type="button" class="navbar-toggle"
  13. data-toggle="collapse" data-target=".navbar-collapse">
  14. <span class="sr-only">Toggle navigation</span>
  15. <span class="icon-bar"></span>
  16. <span class="icon-bar"></span>
  17. <span class="icon-bar"></span>
  18. </button>
  19. <a class="navbar-brand" href="/">Flasky</a>
  20. </div>
  21. <div class="navbar-collapse collapse">
  22. <ul class="nav navbar-nav">
  23. <li><a href="/">Home</a></li>
  24. </ul>
  25. </div>
  26. </div>
  27. </div>
  28. {% endblock %}
  29. {% block content %}
  30. <div class="container">
  31. {% for message in get_flashed_messages() %}
  32. <div class="alert alert-warning">
  33. <button type="button" class="close" data-dismiss="alert">&times;</button>
  34. {{ message }}
  35. </div>
  36. {% endfor %}
  37. {% block page_content %}{% endblock %}
  38. </div>
  39. {% endblock %}
  40. {% block scripts %}
  41. {{ super() }}
  42. {{ moment.include_moment() }}
  43. {% endblock %}