1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Jeremy Stretch 805892f623 Template cleanup (#6421)
* Clean up & comment base templates

* Clean up login template & form

* Use SVG file for NetBox logo

* Simplify breadcrumbs

* Merge changelog.html into home.html

* Rename title_container block to header

* Move breadcrumbs block to object.html

* Attach names to endblock template tags

* Reorganize root-level templates into base/ and inc/

* Remove obsolete reference to Bootstrap 3.4.1
2021-05-17 16:27:27 -04:00

17 lines
408 B
HTML

{% load render_table from django_tables2 %}
<div class="card {% if panel_class %}bg-{{ panel_class }}{% endif %}">
{% if heading %}
<h5 class="card-header">
{{ heading }}
</h5>
{% endif %}
<div class="card-body">
{% if table.rows %}
{% render_table table 'inc/table.html' %}
{% else %}
<div class="text-muted">None</div>
{% endif %}
</div>
</div>