diff --git a/netbox/templates/home.html b/netbox/templates/home.html index de0dbea90..32ddc98ea 100644 --- a/netbox/templates/home.html +++ b/netbox/templates/home.html @@ -23,59 +23,60 @@ {% block title %}Home{% endblock %} -{% block content %} +{% block content-wrapper %} +
+ {# General stats #} +
+ {% for section, items, icon in stats %} +
+
+
+ + {{ section }} +
+
+
+ {% for item in items %} + {% if not item.disabled %} + +
+ {{ item.label }} +

{{ item.count }}

+
+
+ {% else %} +
  • +
    + {{ item.label }} +

    + +

    +
    +
  • + {% endif %} + {% endfor %} +
    +
    +
    +
    + {% endfor %} +
    - {# General stats #} -
    - {% for section, items, icon in stats %} -
    -
    -
    - - {{ section }} -
    -
    -
    - {% for item in items %} - {% if not item.disabled %} - -
    - {{ item.label }} -

    {{ item.count }}

    -
    -
    - {% else %} -
  • -
    - {{ item.label }} -

    - -

    -
    -
  • - {% endif %} - {% endfor %} + {# Changelog #} + {% if perms.extras.view_objectchange %} +
    +
    +
    +
    + + Change Log +
    +
    + {% include 'inc/responsive_table.html' with table=changelog_table %}
    - {% endfor %} + {% endif %}
    - - {# Changelog #} - {% if perms.extras.view_objectchange %} -
    -
    -
    -
    - - Change Log -
    -
    - {% include 'inc/responsive_table.html' with table=changelog_table %} -
    -
    -
    -
    - {% endif %} -{% endblock content %} +{% endblock content-wrapper %}