summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/templates/base.html
blob: 7f1fcba3bcfcb6df6d926f3ef04103503b243a92 (plain)
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
{% 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.1</span>
    </div>

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