mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
805892f623
* 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
17 lines
408 B
HTML
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>
|