{% load bcfg2_tags %}
{% comment %}
This is needed for Django versions less than 1.5
{% endcomment %}
{% load url from future %}

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{% block title %}Bcfg2 Reporting System{% endblock %}</title>

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-language" content="en" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="cache-control" content="no-cache" />

<link rel="stylesheet" type="text/css" href="{% to_media_url bcfg2_base.css %}" media="all" />
<script type="text/javascript" src="{% to_media_url bcfg2.js %}"></script>
<script type="text/javascript" src="{% to_media_url date.js %}"></script>
<script type="text/javascript" src="{% to_media_url AnchorPosition.js %}"></script>
<script type="text/javascript" src="{% to_media_url CalendarPopup.js %}"></script>
<script type="text/javascript" src="{% to_media_url PopupWindow.js %}"></script>
{% block extra_header_info %}{% endblock %}

</head>
<body onload="{% block body_onload %}{% endblock %}">

  <div id="header">
    <a href="http://bcfg2.org"><img src='{% to_media_url bcfg2_logo.png %}'
                                    height='115' width='300' alt='Bcfg2'
                                    style='float:left; height: 115px' /></a>
  </div>

<div id="document">
  <div id="content"><div id="contentwrapper">
    {% block fullcontent %}
    <div class='page_name'>
        <h1>{% block pagebanner %}Page Banner{% endblock %}</h1>
    <div id="timepiece">{% block timepiece %}Rendered at {% now "Y-m-d H:i" %}{% endblock %}</div>
  </div>
        <div class='detail_wrapper'>
            {% block content %}{% endblock %}
        </div>
    {% endblock %}
  </div></div><!-- content -->
  <div id="sidemenucontainer"><div id="sidemenu">
   {% block sidemenu %}
    <ul class='menu-level1'>
      <li>Overview</li>
    </ul>
    <ul class='menu-level2'>
      <li><a href="{% url "reports_summary" %}">Summary</a></li>
      <li><a href="{% url "reports_history" %}">Recent Interactions</a></li>
      <li><a href="{% url "reports_timing" %}">Timing</a></li>
    </ul>
    <ul class='menu-level1'>
      <li>Clients</li>
    </ul>
    <ul class='menu-level2'>
      <li><a href="{% url "reports_grid_view" %}">Grid View</a></li>
      <li><a href="{% url "reports_detailed_list" %}">Detailed List</a></li>
      <li><a href="{% url "reports_client_manage" %}">Manage</a></li>
    </ul>
    <ul class='menu-level1'>
      <li>Entries Configured</li>
    </ul>
    <ul class='menu-level2'>
      <li><a href="{% url "reports_common_problems" %}">Common problems</a></li>
      <li><a href="{% url "reports_item_list" "bad" %}">Bad</a></li>
      <li><a href="{% url "reports_item_list" "modified" %}">Modified</a></li>
      <li><a href="{% url "reports_item_list" "extra" %}">Extra</a></li>
    </ul>
{% comment %}
 TODO
    <ul class='menu-level1'>
      <li>Entry Types</li>
    </ul>
    <ul class='menu-level2'>
      <li><a href="#">Action</a></li>
      <li><a href="#">Package</a></li>
      <li><a href="#">Path</a></li>
      <li><a href="#">Service</a></li>
    </ul>
{% endcomment %}
    <ul class='menu-level1'>
      <li><a href="http://bcfg2.org">Homepage</a></li>
      <li><a href="http://docs.bcfg2.org">Documentation</a></li>
        </ul>
        {% endblock %}
  </div></div><!-- sidemenu -->
  <div style='clear:both'></div>
</div><!-- document -->
  <div id="footer">
    <span>Bcfg2 Version 1.3.3</span>
    </div>

<div id="calendar_div" style='position:absolute; visibility:hidden; background-color:white; layer-background-color:white;'></div>
</body>
</html>
