<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Adagios - {% block title %}block=title?{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Adagios - Nagios Configuration Made Easy">
    <meta name="author" content="<NAME>, <NAME>">
    <!-- Le styles -->
    <link href="{% url media path="css/style.css" %}" rel="stylesheet">
    <link href="{% url media path="css/status.css" %}" rel="stylesheet">

    <link href="{% url media path="datepicker/css/datepicker.css" %}" rel="stylesheet">
    <link href="{% url media path="slider/css/slider.css" %}" rel="stylesheet">



    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="{% url media path="ico/favicon.ico" %}">
    <link rel="apple-touch-icon-precomposed" sizes="114x114"
          href="{% url media path="ico/apple-touch-icon-114-precomposed.png" %}">
    <link rel="apple-touch-icon-precomposed" sizes="72x72"
          href="{% url media path="ico/apple-touch-icon-72-precomposed.png" %}">
    <link rel="apple-touch-icon-precomposed"
          href="{% url media path="ico/apple-touch-icon-57-precomposed.png" %}">

    <!-- Block header starts -->
    {%  block header %}{% endblock %}
    <!-- Block header ends -->
</head>

<body>


<!-- block top_navigation starts -->
{% block top_navigation %}
    {%  include "snippets/top_navigation_bar.html" %}
{% endblock %}
<!-- block top_navigation ends -->

<!-- Here we start the main view -->
<div id="near_top" class="near_top">
    <div class="container-fluid content">
    <div class="row-fluid ">
        <ul class="breadcrumb">
            <li><i class="glyph-right-arrow"></i>
            </li>
            <li>
                <a href="{% url home %}"> Home</a> <span class="divider">/</span>
            </li>
            <li>
                {% block nav1 %}
                    <a href="{% url status.views.services %}">Status</a>
                {% endblock %}
                <span class="divider">/</span>
            </li>
            <li>
                {% block nav2 %}
                {% endblock %}
            </li>
        </ul>
    </div>

    <div class="row-fluid">
        <div class="pull-left" id="titlebar">
            <h2>
                <small>{% block smallheader %}block=smallheader{% endblock %}</small>
                {% block largeheader %}block=largeheader {% endblock %}
            </h2>
        </div>
        <div  class="" id="right_of_title">
            {% if okconfig %}
                <div class="pull-right btn-group"><a class="btn " href="{% url okconfig_.views.addhost %}">Add Host
            {% else %}
                <div class="pull-right btn-group"><a class="btn " href="{% url adagios.objectbrowser.views.add_object 'host' %}">Add Host
            {% endif %}
                </a><a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>

                            <ul class="dropdown-menu">
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'host' %}"> Host</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'service' %}"> Service</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'contact' %}"> Contact</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'timeperiod' %}"> Timeperiod</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'hostgroup' %}"> Hostgroup</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'servicegroup' %}"> Servicegroup</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'contactgroup' %}"> Contactgroup</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'template' %}"> Template</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url bi.views.add %}"> Business Process</a></li>
                            </ul>
                        </a>
                </div>
                <br>
        </div>
        <div id="error_messages"  class="pull-left">
            {% if errors|length %}
                {%  for error in errors %}
                    <div class="alert">
                        <button class="close" data-dismiss="alert">×</button>
                        <strong>Warning!</strong> {{ error }}
                    </div>
                {%  endfor %}
            {% endif %}
            {% if messages|length %}
                {%  for message in messages  %}
                    <div class="alert alert-success">
                        <button class="close" data-dismiss="alert">×</button>
                        <strong>Info!</strong> {{ message }}
                    </div>
                {%  endfor %}
            {% endif %}
        </div>
    </div>
</div>
</div>

<hr id="seperate_top_and_content">

<div class="container-fluid content">
    <div class="row-fluid ">
        <div class="span2"   id="left_sidebar">
            <h5>Shortcuts</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.status_index %}">Overview </a></li>
                <li >
                    <a {% if num_problems %}{% endif %} href="{% url status.views.services %}?unhandled">Problems {% if num_problems %}<span>({{ num_problems }})</span>{% endif %}</a>
                </li>
                <li><a href="{% url status.views.status_host %}">Hosts</a></li>
                <li><a href="{% url status.views.services %}">Services </a></li>
                <li><a href="{% url status.views.contact_list %}">Contacts</a></li>
                <li><a href="{% url status.views.status_parents %}">Network Parents </a></li>
            </ul>

            <h5>Reports</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.state_history %}">State History </a></li>
                <li><a href="{% url status.views.status_log %}">Log</a></li>
                <li><a href="{% url status.views.comment_list %}">Comments</a></li>
                <li><a href="{% url status.views.downtime_list %}">Downtimes</a></li>
            </ul>

            <h5>Groups</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.status_hostgroups %}">Hostgroups</a></li>
                <li><a href="{% url status.views.status_servicegroups %}">Servicegroups</a></li>
                <li><a href="{% url status.views.contact_list %}#contactgroups">Contactgroups</a></li>
            </ul>

            <h5>Experimental</h5>
            <ul class="nav nav-list">
                <li><a href="{% url misc.views.map_view %}">Map</a></li>
                <li><a href="{% url status.views.status_boxview %}">Box View </a></li>
                <li><a href="{% url status.views.status_paneview %}">Pane View </a></li>
                <li><a href="{% url status.views.perfdata %}">Performance Data</a></li>
                <li><a href="{% url status.views.dashboard %}">Dashboard</a></li>
            </ul>
        </div>


        <div class="span10" id="main_content">
            {% block toolbar %}
            <div id="toolbar">

                {% block view_buttons %}
                <div class="btn-group pull-left" id="view_buttons">
                    <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="glyph-eye-open" title="View"> </i> <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="?q={{ request.GET.q }}&unhandled"> Open Problems</a></li>
                        <li><a href="?q={{ request.GET.q }}&state__isnot=0"> All Problems</a></li>
                        <li><a href="?q={{ request.GET.q }}&state=0"> All OK</a></li>
                        <li><a href="?q={{ request.GET.q }}"> Everything</a></li>
                    </ul>
                </div>
                {% endblock %}

                    {% block action_buttons %}
                <div class="pull-left" id="action_buttons" >

                    <button class="btn btn-small adagios_service_multi" title="Recheck - Execute selected checks immediately" data-loading-text='<img src="{% url media path="select2/spinner.gif" %}"> <span id="reschedule_text"> Running...</span>' id="reschedule_button" onclick="reschedule();">
                        <i class="glyph-refresh" > </i> <span id="reschedule_text">Recheck</span>
                    </button>
                    <button class="btn btn-small adagios_service_multi" title="Acknowledge - selected items will be hidden from unhandled and notifications will no longer be sent out" data-toggle="modal" data-target="#acknowledge_modal" id="acknowledge_button" data-loading-text='<img src="{% url media path="select2/spinner.gif" %}"> <span id="acknowledge_text"> Running...</span>'>
                        <i class="glyph-check" > </i><span id="acknowledge_text"> Acknowledge</span><commit_msg>/status - enable BI and config in menubar<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Adagios - {% block title %}block=title?{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Adagios - Nagios Configuration Made Easy">
    <meta name="author" content="<NAME>, <NAME>">
    <!-- Le styles -->
    <link href="{% url media path="css/style.css" %}" rel="stylesheet">
    <link href="{% url media path="css/status.css" %}" rel="stylesheet">

    <link href="{% url media path="datepicker/css/datepicker.css" %}" rel="stylesheet">
    <link href="{% url media path="slider/css/slider.css" %}" rel="stylesheet">



    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="{% url media path="ico/favicon.ico" %}">
    <link rel="apple-touch-icon-precomposed" sizes="114x114"
          href="{% url media path="ico/apple-touch-icon-114-precomposed.png" %}">
    <link rel="apple-touch-icon-precomposed" sizes="72x72"
          href="{% url media path="ico/apple-touch-icon-72-precomposed.png" %}">
    <link rel="apple-touch-icon-precomposed"
          href="{% url media path="ico/apple-touch-icon-57-precomposed.png" %}">

    <!-- Block header starts -->
    {%  block header %}{% endblock %}
    <!-- Block header ends -->
</head>

<body>


<!-- block top_navigation starts -->
{% block top_navigation %}
    {%  include "snippets/top_navigation_bar.html" %}
{% endblock %}
<!-- block top_navigation ends -->

<!-- Here we start the main view -->
<div id="near_top" class="near_top">
    <div class="container-fluid content">
    <div class="row-fluid ">
        <ul class="breadcrumb">
            <li><i class="glyph-right-arrow"></i>
            </li>
            <li>
                <a href="{% url home %}"> Home</a> <span class="divider">/</span>
            </li>
            <li>
                {% block nav1 %}
                    <a href="{% url status.views.services %}">Status</a>
                {% endblock %}
                <span class="divider">/</span>
            </li>
            <li>
                {% block nav2 %}
                {% endblock %}
            </li>
        </ul>
    </div>

    <div class="row-fluid">
        <div class="pull-left" id="titlebar">
            <h2>
                <small>{% block smallheader %}block=smallheader{% endblock %}</small>
                {% block largeheader %}block=largeheader {% endblock %}
            </h2>
        </div>
        <div  class="" id="right_of_title">
            {% if okconfig %}
                <div class="pull-right btn-group"><a class="btn " href="{% url okconfig_.views.addhost %}">Add Host
            {% else %}
                <div class="pull-right btn-group"><a class="btn " href="{% url adagios.objectbrowser.views.add_object 'host' %}">Add Host
            {% endif %}
                </a><a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>

                            <ul class="dropdown-menu">
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'host' %}"> Host</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'service' %}"> Service</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'contact' %}"> Contact</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'timeperiod' %}"> Timeperiod</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'hostgroup' %}"> Hostgroup</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'servicegroup' %}"> Servicegroup</a></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'contactgroup' %}"> Contactgroup</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url adagios.objectbrowser.views.add_object 'template' %}"> Template</a></li>
                                <li class="divider"></li>
                                <li><a href="{% url bi.views.add %}"> Business Process</a></li>
                            </ul>
                        </a>
                </div>
                <br>
        </div>
        <div id="error_messages"  class="pull-left">
            {% if errors|length %}
                {%  for error in errors %}
                    <div class="alert">
                        <button class="close" data-dismiss="alert">×</button>
                        <strong>Warning!</strong> {{ error }}
                    </div>
                {%  endfor %}
            {% endif %}
            {% if messages|length %}
                {%  for message in messages  %}
                    <div class="alert alert-success">
                        <button class="close" data-dismiss="alert">×</button>
                        <strong>Info!</strong> {{ message }}
                    </div>
                {%  endfor %}
            {% endif %}
        </div>
    </div>
</div>
</div>

<hr id="seperate_top_and_content">

<div class="container-fluid content">
    <div class="row-fluid ">
        <div class="span2"   id="left_sidebar">
            <h5>Shortcuts</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.status_index %}">Overview </a></li>
                <li >
                    <a {% if num_problems %}{% endif %} href="{% url status.views.services %}?unhandled">Problems {% if num_problems %}<span>({{ num_problems }})</span>{% endif %}</a>
                </li>
                <li><a href="{% url status.views.status_host %}">Hosts</a></li>
                <li><a href="{% url status.views.services %}">Services </a></li>
                <li><a href="{% url status.views.contact_list %}">Contacts</a></li>
                <li><a href="{% url status.views.status_parents %}">Network Parents </a></li>
                <li><a href="{% url objectbrowser.views.list_object_types %}">Configuration</a></li>
            </ul>

            <h5>Reports</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.state_history %}">State History </a></li>
                <li><a href="{% url status.views.status_log %}">Log</a></li>
                <li><a href="{% url status.views.comment_list %}">Comments</a></li>
                <li><a href="{% url status.views.downtime_list %}">Downtimes</a></li>
            </ul>

            <h5>Groups</h5>
            <ul class="nav nav-list">
                <li><a href="{% url status.views.status_hostgroups %}">Hostgroups</a></li>
                <li><a href="{% url status.views.status_servicegroups %}">Servicegroups</a></li>
                <li><a href="{% url status.views.contact_list %}#contactgroups">Contactgroups</a></li>
            </ul>

            <h5>Experimental</h5>
            <ul class="nav nav-list">
                <li><a href="{% url misc.views.map_view %}">Map</a></li>
                <li><a href="{% url status.views.status_boxview %}">Box View </a></li>
                <li><a href="{% url status.views.status_paneview %}">Pane View </a></li>
                <li><a href="{% url status.views.perfdata %}">Performance Data</a></li>
                <li><a href="{% url bi.views.index %}">Business Intelligence</a></li>
                <li><a href="{% url status.views.dashboard %}">Dashboard</a></li>
            </ul>
        </div>


        <div class="span10" id="main_content">
            {% block toolbar %}
            <div id="toolbar">

                {% block view_buttons %}
                <div class="btn-group pull-left" id="view_buttons">
                    <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="glyph-eye-open" title="View"> </i> <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="?q={{ request.GET.q }}&unhandled"> Open Problems</a></li>
                        <li><a href="?q={{ request.GET.q }}&state__isnot=0"> All Problems</a></li>
                        <li><a href="?q={{ request.GET.q }}&state=0"> All OK</a></li>
                        <li><a href="?q={{ request.GET.q }}"> Everything</a></li>
                    </ul>
                </div>
                {% endblock %}

                    {% block action_buttons %}
                <div class="pull-left" id="action_buttons" >

                    <button class="btn btn-small adagios_service_multi" title="Recheck - Execute selected checks immediately" data-loading-text='<img src="{% url media path="select2/spinner.gif" %}"> <span id="reschedule_text"> Running...</span>' id="reschedule_button" onclick="reschedule();">
                        <i class="glyph-refresh" > </i> <span id="reschedule_text">Recheck</span>
                    </button>
                    <button class="btn btn-small adagios_service_multi" title="Acknowledge - selected items will be hidden from unhandled and notifications will no longer be sent out" data-toggle="modal" data-target="#acknowledge_modal" id="acknowledge_button" data-loading-text='<img src="{% url media path="select2/spinner.gif" %}"> <span id="acknowledge_text"> Running...</span>'>
                        <i class="glyph-check" > </i><span id="acknowledge_text"> Acknowledge</span>
{'fraction_non_alphanumeric': 0.18334270668234573, 'fraction_numerical': 0.005317245257937522, 'mean_word_length': 1.8853813246791562, 'pattern_counts': {'":': 0, '<': 571, '<?xml version=': 0, '>': 571, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '811028', 'n_tokens_mistral': 6215, 'n_tokens_neox': 5606, 'n_words': 1208}