Source

hbwebui / hbwebui / templates / stats_binaries.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_binaries.js" %}"></script>


<title>Binaries Stats</title>


<script>
    urls = {
        'mod_summary': '{% url r_stats_binaries_summary %}',
        'mod_table': '{% url r_stats_binaries %}',
    };    
    
    $(
        function() {
            mod_summary = new mod_stats_binaries.summary($('#mod-summary'), urls.mod_summary);
            mod_summary.render();
            
            mod_table = new mod_stats_binaries.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 %}