2012-06-15 08:30:06 +00:00
|
|
|
{#
|
2012-12-25 12:48:17 +00:00
|
|
|
requires, brand_html, top_bar_items, footer_items, copyright, content, address
|
2012-06-15 08:30:06 +00:00
|
|
|
#}
|
|
|
|
|
2012-07-12 13:11:12 +00:00
|
|
|
{% extends "html/base.html" %}
|
2012-06-15 08:30:06 +00:00
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<header>
|
2012-12-10 09:26:45 +00:00
|
|
|
</header>
|
|
|
|
<div id="body_div">
|
|
|
|
<div class="navbar-wrapper">
|
2012-12-19 04:46:58 +00:00
|
|
|
<div class="navbar navbar-inverse"
|
2012-12-10 09:26:45 +00:00
|
|
|
style="margin-bottom: 0px;">
|
2012-06-15 08:30:06 +00:00
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
2012-12-25 12:48:17 +00:00
|
|
|
<a class="brand" href="index.html">{{ brand_html }}</a>
|
2012-06-15 08:30:06 +00:00
|
|
|
<ul class="nav">
|
|
|
|
{% for page in top_bar_items %}
|
|
|
|
{% if not page.parent_label %}
|
2012-09-05 07:02:19 +00:00
|
|
|
<li data-label="{{ page.label }}"
|
|
|
|
{% if page.child_items %}
|
|
|
|
class="dropdown"
|
|
|
|
{% endif %}>
|
|
|
|
<a href="{{ page.url or '#' }}"
|
|
|
|
{% if page.child_items %}
|
|
|
|
class="dropdown-toggle"
|
|
|
|
onclick="return false;"
|
2012-09-05 08:18:45 +00:00
|
|
|
data-toggle="dropdown"
|
2012-09-05 07:02:19 +00:00
|
|
|
{% endif %}
|
|
|
|
{{ page.target or ''}}>
|
2012-06-15 08:30:06 +00:00
|
|
|
{{ page.label }}
|
|
|
|
{% if page.child_items %}
|
2012-09-05 07:02:19 +00:00
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
2012-06-15 08:30:06 +00:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{% for child in page.child_items %}
|
|
|
|
<li data-label="{{ child.label }}">
|
2012-12-20 11:41:51 +00:00
|
|
|
<a {% if child.indent %}
|
|
|
|
style="padding-left:
|
|
|
|
{{(int(child.indent)+1)*15 }}px"
|
|
|
|
{% endif %}
|
|
|
|
href="{{ child.url }}" {{ child.target or '' }}>
|
2012-09-05 07:02:19 +00:00
|
|
|
{{ child.label }}
|
|
|
|
</a>
|
|
|
|
</li>
|
2012-06-15 08:30:06 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2012-09-05 07:02:19 +00:00
|
|
|
{% else %}
|
|
|
|
</a>
|
2012-06-15 08:30:06 +00:00
|
|
|
{% endif %}
|
2012-09-05 07:02:19 +00:00
|
|
|
</li>
|
2012-06-15 08:30:06 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2012-09-26 13:30:02 +00:00
|
|
|
<img src="lib/images/ui/spinner.gif" id="spinner"/>
|
2012-06-15 08:30:06 +00:00
|
|
|
<ul class="nav pull-right">
|
2012-07-12 13:11:12 +00:00
|
|
|
<li id="login-topbar-item"><a href="login.html">Login</a></li>
|
2012-06-15 08:30:06 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-12-10 09:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>$('.dropdown-toggle').dropdown()</script>
|
|
|
|
|
2012-06-15 08:30:06 +00:00
|
|
|
<div class="content" id="page-{{ name }}" style="display: block;">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<footer><div class="web-footer">
|
|
|
|
<div class="web-footer-menu"><ul>
|
|
|
|
{% for item in footer_items %}
|
|
|
|
<li><a href="{{ item.url }}" {{ item.target }}
|
|
|
|
data-label="{{ item.label }}">{{ item.label }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul></div>
|
2012-07-12 13:11:12 +00:00
|
|
|
{% if copyright %}
|
2012-12-10 12:55:30 +00:00
|
|
|
<div class="web-footer-copyright">© {{ copyright }}</div>
|
2012-07-12 13:11:12 +00:00
|
|
|
{% endif %}
|
2012-12-25 12:48:17 +00:00
|
|
|
{% if address %}
|
|
|
|
{{ address }}
|
|
|
|
{% endif %}
|
|
|
|
<p><a style="font-size: 90%;" href="attributions.html">ERPNext Powered</a></p>
|
2012-06-15 08:30:06 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
{% endblock %}
|