{%extends 'cmdb/base.html'%}
{% load icons %}
{% load query %}
{% load bob %}

{% block content %}

<style type="text/css" media="screen">
    form.form-inline select
    {
        width: auto;
    }

    table.dboard td
    {
            padding: 6px;
    }
</style>

    <h3> CMDB Dashboard  </h3>
    <hr>
         <table class='table table-striped table-bordered table-list dboard'>
             <tr><th> Count </th><th> CI Name </th> <th> Venture </th></tr>
                {% for data in statistics %}
                        <tr>
                            <td>
                                {{ data.count }}  
                            </td>
                            <td>
                                <a
                                    href='/cmdb/changes/changes?uid={{data.ci_id}}&priority={{data.prio}}&type={{data.type}}'>{{ data.name }}  </td>
                            <td>
                                {{ data.venture }}  
                            </td>
                        </tr>
                {% endfor %}
            </table>
{% endblock %}
