{% 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 %} {% set outer_width = 20 %} {% 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 %}