{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {% import 'allura:templates/jinja_master/lib.html' as lib with context %} {% if g.theme.jinja_macros %} {% import g.theme.jinja_macros as theme_macros with context %} {% endif %} {% do g.register_forge_js('js/jquery-base.js') %} {% do g.register_forge_js('js/jquery.notify.js') %} {% do g.register_forge_js('js/sylvester.js') %} {% do g.register_forge_js('js/pb.transformie.min.js') %} {% do g.register_forge_js('js/allura-base.js') %} {% do g.register_forge_css('css/forge/hilite.css') %} {% do g.theme.require() %} {% do g.resource_manager.register_widgets(c) %} {# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #} {% block title %}Your title goes here{% endblock %} {{theme_macros.extra_header(g.theme_href(''))}} {% for blob in g.resource_manager.emit('head_css') %} {{ blob }} {% endfor %} {% if c.project %} {% for blob in g.resource_manager.emit('head_js') %} {{ blob }} {% endfor %} {% endif %} {% if c.project and c.project.neighborhood.css %} {% elif neighborhood and neighborhood.css %} {% endif %} {% block extra_css %}{% endblock %} {% block head %} {% endblock %} {% if g.production_mode %}{{g.analytics.display()}}{% endif %} {% for blob in g.resource_manager.emit('body_top_js') %} {{ blob }} {% endfor %} {{theme_macros.header(g.login_url, '/auth/logout')}} {% set flash = tg.flash_obj.render('flash', use_js=False) %}
{% block top_nav %} {% include g.theme.top_nav %} {% endblock %}
{% if not hide_left_bar %} {% block sidebar_menu %} {% include g.theme.sidebar_menu %} {% endblock %} {% set outer_width = 20 %} {% else %} {% set outer_width = 24 %} {% endif %} {% if show_right_bar %} {% set inner_width = outer_width - 8 %} {% else %} {% set inner_width = outer_width %} {% endif %}

{% block header %}{% endblock %} {% block actions %}{% endblock %}

{% block edit_box %}{% endblock %} {% block before_content %}{% endblock %} {% block content %}{% endblock %}
{% if show_right_bar %} {% endif %} {% block after_content %}{% endblock %}
{{theme_macros.footer(g.year(), g.theme_href(''))}}
{% for n in h.pop_user_notifications() %}
Notification:
{{ n.text }}
{% endfor %}
{% for blob in g.resource_manager.emit('body_js') %} {{ blob }} {% endfor %} {% for blob in g.resource_manager.emit('body_js_tail') %} {{ blob }} {% endfor %} {% block extra_js %}{% endblock %} {% if neighborhood %} {{ neighborhood.site_specific_html | safe }} {% elif c.project.neighborhood %} {{ c.project.neighborhood.site_specific_html | safe }} {% endif %} {{theme_macros.custom_js()}} {% if flash %} {% endif %}