1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="FlaskBB is a forum software written in Flask">
- <meta name="author" content="FlaskBB Team">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
- <title>
- {% block title %}
- {%- if not page_title -%}
- {{ flaskbb_config["PROJECT_TITLE"] }} - {{ flaskbb_config["PROJECT_SUBTITLE"] }}
- {%- else -%}
- {{ page_title }} - {{ flaskbb_config["PROJECT_TITLE"] }}
- {%- endif -%}
- {% endblock %}
- </title>
- {% block stylesheets %}
- <!-- libraries and dependencies -->
- <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
- <link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}" >
- <link rel="stylesheet" href="{{ url_for('static', filename='css/pygments.css') }}">
- <!-- aurora theme -->
- <link rel="stylesheet" href="{{ theme_static('css/flaskbb.css') }}">
- {% endblock %}
- {# for extra stylesheets. e.q. a template has to add something #}
- {% block css %}
- {% endblock %}
- {# for various extra things #}
- {% block head_extra %}
- {% endblock %}
- </head>
- <body>
- <!-- main forum layout -->
- <div class="flaskbb-layout">
- <div class="container">
- <!-- forum header - place for the project title and subtitle -->
- {% block header %}
- <div class="flaskbb-header">
- <div class="flaskbb-meta">
- <div class="flaskbb-title">FlaskBB</div>
- <div class="flaskbb-subtitle">A lightweight forum software in Flask.</div>
- </div>
- </div>
- {% endblock %}
- <!-- forum menu - contains all the navigation items -->
- {% block navigation %}
- {% include theme('navigation.html') %}
- {% endblock %}
- <!-- Place for all the (flashed) messages -->
- {% block messages %}
- <div class="flashed-messages">
- {% include theme('flashed_messages.html') %}
- </div>
- {% endblock %}
- <!-- the actual content block -->
- {% block content %}
- {% endblock %}
- <!-- the forum footer -->
- {% block footer %}
- <div class="flaskbb-footer row">
- <p class="text-muted pull-left">powered by <a href="http://flask.pocoo.org">Flask</a></p>
- <p class="text-muted pull-right">© 2013 - 2015 - <a href="http://flaskbb.org">FlaskBB.org</a></p>
- </div>
- {% endblock %}
- </div> <!-- end container -->
- </div> <!-- end flaskbb-layout -->
- {% block javascript %}
- <!-- libraries and dependencies -->
- <script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
- <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
- <!-- flaskbb's javascript -->
- <script src="{{ url_for('static', filename='js/flaskbb.js') }}"></script>
- {% endblock %}
- {# for extra scripts in other templates. #}
- {% block scripts %}
- {% endblock %}
- </body>
- </html>
|