mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Clean up spacing for nav pills Markdown fields should default to using monospace font Wrap action buttons in object page header Fix page link style for non-HTMX paginators Clean up styling of Markdown preview widget Fix spacing around placeholder text for empty panel tables Remove obsolete templates Tweak checkbox input spacing Fix toggling of clear button for quick search Fix positioning of quick search filter dropdown Fix positioning of 'highlight device' button Fix styling for custom field group names Widen buttons on nav menu items Restyle the login page Fix active nav-pill background color in dark mode Fix spacing around 'map' button for sites
16 lines
483 B
HTML
16 lines
483 B
HTML
{% load render_table from django_tables2 %}
|
|
{% load i18n %}
|
|
|
|
<div class="card {% if panel_class %}border-{{ panel_class }}{% endif %}">
|
|
{% if heading %}
|
|
<h5 class="card-header{% if panel_class %} text-{{ panel_class }}{% endif %}">{{ heading }}</h5>
|
|
{% endif %}
|
|
{% if table.rows %}
|
|
<div class="table-responsive">
|
|
{% render_table table 'inc/table.html' %}
|
|
</div>
|
|
{% else %}
|
|
<div class="card-body text-muted">{% trans "None" %}</div>
|
|
{% endif %}
|
|
</div>
|