12345678910111213141516171819202122232425262728293031323334353637 |
- {%- extends "bootstrap/base.html" %}
- {% block title %}Cubbyshare - share your secrets safely{% endblock %}
- {# While we are at it, we also enable fixes for legacy browsers. First we
- import the necessary macros: #}
- {% import "bootstrap/fixes.html" as fixes %}
- {# Then, inside the head block, we apply these. To not replace the header,
- ``super()`` is used: #}
- {% block head %}
- {{super()}}
- {#- Docs: http://pythonhosted.org/Flask-Bootstrap/macros.html#fixes
- The sample application already contains the required static files. #}
- {{fixes.ie8()}}
- {%- endblock %}
- {# Adding our own CSS files is also done here. Check the documentation at
- http://pythonhosted.org/Flask-Bootstrap/basic-usage.html#available-blocks
- for an overview. #}
- {% block styles -%}
- {{super()}} {# do not forget to call super or Bootstrap's own stylesheets
- will disappear! #}
- <link rel="stylesheet" type="text/css"
- href="{{url_for('static', filename='sample-app.css')}}">
- <script type=text/javascript src="{{
- url_for('static', filename='jquery-3.3.1.min.js') }}"></script>
- {% endblock %}
- {% block scripts -%}
- {% endblock %}
- {# Finally, round things out with navigation #}
- {% block navbar %}
- {{nav.frontend_top.render()}}
- {% endblock %}
|