{#
 Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% extends "layout.html" %}
{% set page_title = "Nutzerübersicht" %}

{% macro badge(href, title, number) %}
  <a {% if href %}href={{ href }}{% endif %} class="list-group-item">{{ title }}<span class="badge">{{ number }}</span></a>
{% endmacro %}

{% block content %}
  <div class="row">
    <div class="col-sm-6 col-md-5 col-lg-4">
      <div class="row">
        <div class="col-xs-12">
          <div class="list-group">
            {%- for entry in entries -%}
              {{ badge(entry['href'], entry['title'], entry['number']) }}
            {%- endfor -%}
          </div>
        </div>
        <div class="col-xs-12">
          <h3>TOP Traffic Verbraucher</h3>
          {{ traffic_top_table.render('traffic-top-table') }}
        </div>
      </div>
    </div>

    <div class="col-sm-6 col-md-7 col-lg-8">
    </div>
  </div>

{% endblock %}

{#
 Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% extends "layout.html" %}
{% set page_title = "Nutzerübersicht" %}

{% macro badge(href, title, number) %}
  <a {% if href %}href={{ href }}{% endif %} class="list-group-item">{{ title }}<span class="badge">{{ number }}</span></a>
{% endmacro %}

{% block content %}
  <div class="row">
    <div class="col-sm-6 col-md-5 col-lg-4">
      <div class="row">
        <div class="col-xs-12">
          <div class="list-group">
            {%- for entry in entries -%}
              {{ badge(entry['href'], entry['title'], entry['number']) }}
            {%- endfor -%}
          </div>
        </div>
        <div class="col-xs-12">
          <h3>TOP Traffic Verbraucher</h3>
          <h6 class="text-muted">7 Tage</h6>
          
          {{ traffic_top_table.render('traffic-top-table') }}
        </div>
      </div>
    </div>

    <div class="col-sm-6 col-md-7 col-lg-8">
    </div>
  </div>

{% endblock %}

Add days to top traffic header
Add days to top traffic header

