Source

hbwebui / hbwebui / templates / stats_idents.html

Full commit
{% extends "bootstrap.html" %}
{% block bootstrap-head %}

{% load staticfiles %}

<script src="{% static "js/lodash.min.js" %}"></script>
<script src="{% static "js/hbwebui/utils.js" %}"></script>
<script src="{% static "js/hbwebui/mod_base.js" %}"></script>
<script src="{% static "js/hbwebui/mod_stats_base.js" %}"></script>
<script src="{% static "js/hbwebui/mod_stats_idents.js" %}"></script>


<title>Ident Stats</title>


<script>
    urls = {
        'mod_summary': '{% url r_stats_idents_summary %}',
        'mod_table': '{% url r_stats_idents %}',
    };
    
    var idents = {{ idents|safe }};
    
    
    $(
        function() {
            mod_summary = new mod_stats_idents.summary($('#mod-summary'), urls.mod_summary);
            mod_summary.render();
            
            mod_table = new mod_stats_idents.table($('#mod-table'), urls.mod_table);
            mod_table.render();
        }
    );
</script>

{% endblock %}

{% block bootstrap-body %}
{% include "navbar.html" %}

<div class="container-fluid">
    <div class="row-fluid">
        <div id="mod-summary"></div>
        <hr/>
    </div>
    <div class="row-fluid">
        <div id="mod-table"></div>
    </div>
</div>

{% endblock %}