Parent: [a18d9a] (diff)

Child: [365ba4] (diff)

Download this file

master.html    118 lines (116 with data), 4.5 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{% import 'jinja_master/lib.html' as lib with context %}
{# TODO: convert to lib.gravatar() and remove #}
{% from 'jinja_master/lib.html' import gravatar with context %}
{% do g.register_forge_js('js/jquery-base.js') %}
{% do g.register_forge_js('js/allura-base.js') %}
{% if g.production_mode %}
{% do g.register_forge_js('js/analytics.js') %}
{% endif %}
{% do g.resource_manager.register_widgets(c) %}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{% block title %}Your title goes here{% endblock %}</title>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
{% for blob in g.resource_manager.emit('head_css') %}
{{ blob }}
{% endfor %}
{% for blob in g.resource_manager.emit('head_js') %}
{{ blob }}
{% endfor %}
{% if c.project %}
<link rel="stylesheet" type="text/css" media="screen" href="{{c.project.neighborhood.url()+'site_style.css'}}" />
{% elif neighborhood %}
<link rel="stylesheet" type="text/css" media="screen" href="{{neighborhood.url()+'site_style.css'}}" />
{% else %}
<link rel="stylesheet" type="text/css" media="screen" href="{{tg.url('/nf/site_style.css')}}" />
{% endif %}
{% block extra_css %}{% endblock %}
{% block head %}
{% endblock %}
<!--[if lt IE 9]>
<link rel="stylesheet" href="/nf/css/forge/ie.css" type="text/css" charset="utf-8">
<![endif]-->
<!--[if IE]>
<style type="text/css">
.sfdl p.hide, .sfdls p.hide {display: none !important;}
</style>
<![endif]-->
</head>
<body{% block body_attrs %}{% endblock %}>
{% for blob in g.resource_manager.emit('body_top_js') %}
{{ blob }}
{% endfor %}
{% include 'jinja_master/main_menu.html' %}
<div class="container{{g.document_class(neighborhood)}}">
<div id="header">
<div class="row">
{% block nav_menu %}
{% include 'jinja_master/nav_menu.html' %}
{% endblock %}
</div>
</div>
<div id="section">
{% block top_nav %}
{% include 'jinja_master/top_nav.html' %}
{% endblock %}
<div class="row base">
{% if not hide_left_bar %}
{% include 'jinja_master/sidebar_menu.html' %}
{% set outer_width = 10 %}
{% else %}
{% set outer_width = 12 %}
{% endif %}
{% if show_right_bar %}
{% set inner_width = outer_width - 2 %}
{% else %}
{% set inner_width = outer_width + 2 %}
{% endif %}
<div class="column grid_{{outer_width}} pad">
{% set flash = tg.flash_obj.render('flash', use_js=False) %}
{% if flash %}
<div>{{flash}}</div>
{% endif %}
<h1 class="title">{% block header %}{% endblock %}</h1>
<div class="actions">{% block actions %}{% endblock %}</div>
<div class="content">
<div class="row{% if show_right_bar %} dual{% endif %}">
<div class="column {% block inner_grid %}grid_{{inner_width}}{% endblock %}">
{% block content %}{% endblock %}
</div>
{% if show_right_bar %}
<div id="sidebar-right" class="column grid_4 fright">
{% block right_content %}{% endblock %}
</div>
{% endif %}
</div>
{% block after_content %}{% endblock %}
</div>
</div>
</div>
</div>
{% include 'jinja_master/footer.html' %}
</div>
<div id="notifications">
{% for n in h.pop_user_notifications() %}
<div class="notice">{{ n.text }}</div>
{% endfor %}
</div>
{% 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 %}
<!--! Analytics holder and noscript tag -->
<div id="analytics"/>
<noscript py:if="g.production_mode">
<img src="//secure.quantserve.com/pixel/p-93nPV3-Eb4x22.gif"
style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
<img src="http://b.scorecardresearch.com/p?c1=2&amp;c2=6035546&amp;c3=&amp;c4=&amp;c5=&amp;c6=&amp;c15=&amp;cj=1" alt="comScore2" />
</noscript>
<!--! End analytics -->
</body>
</html>