mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Clean up object.html header
This commit is contained in:
parent
805892f623
commit
93534db79e
BIN
netbox/project-static/dist/config.js.map
vendored
BIN
netbox/project-static/dist/config.js.map
vendored
Binary file not shown.
BIN
netbox/project-static/dist/jobs.js.map
vendored
BIN
netbox/project-static/dist/jobs.js.map
vendored
Binary file not shown.
BIN
netbox/project-static/dist/lldp.js.map
vendored
BIN
netbox/project-static/dist/lldp.js.map
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
netbox/project-static/dist/status.js.map
vendored
BIN
netbox/project-static/dist/status.js.map
vendored
Binary file not shown.
@ -163,9 +163,6 @@ div.title-container {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: $spacer * 2;
|
|
||||||
margin-bottom: $spacer * 2;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
|
|
||||||
div#content-title {
|
div#content-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -542,12 +539,8 @@ table tr.vertical-align {
|
|||||||
|
|
||||||
nav.breadcrumb-container {
|
nav.breadcrumb-container {
|
||||||
padding: $badge-padding-y $badge-padding-x;
|
padding: $badge-padding-y $badge-padding-x;
|
||||||
border-radius: $border-radius;
|
|
||||||
font-size: $font-size-sm;
|
font-size: $font-size-sm;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
background-color: var(--nbx-breadcrumb-bg);
|
|
||||||
margin-top: $spacer;
|
|
||||||
margin-bottom: $spacer;
|
|
||||||
|
|
||||||
ol.breadcrumb {
|
ol.breadcrumb {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{# Top bar #}
|
{# Top bar #}
|
||||||
<nav class="navbar navbar-light sticky-top flex-md-nowrap py-4 search container-fluid">
|
<nav class="navbar navbar-light sticky-top flex-md-nowrap p-3 search container-fluid">
|
||||||
<div class="d-md-none w-100 d-flex justify-content-between align-items-center my-3">
|
<div class="d-md-none w-100 d-flex justify-content-between align-items-center my-3">
|
||||||
<a class="px-2 sidebar-logo d-block d-md-none" href="{% url 'home' %}">
|
<a class="px-2 sidebar-logo d-block d-md-none" href="{% url 'home' %}">
|
||||||
<img src="{% static 'netbox_logo.svg' %}" alt="NetBox logo" />
|
<img src="{% static 'netbox_logo.svg' %}" alt="NetBox logo" />
|
||||||
@ -86,11 +86,11 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{# Body #}
|
{# Body #}
|
||||||
<div class="px-4 content-container">
|
<div class="content-container">
|
||||||
|
|
||||||
{# Page header #}
|
{# Page header #}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<div class="title-container">
|
<div class="title-container px-3 py-3">
|
||||||
|
|
||||||
{# Title #}
|
{# Title #}
|
||||||
<div id="content-title">
|
<div id="content-title">
|
||||||
@ -104,10 +104,12 @@
|
|||||||
{% endblock header %}
|
{% endblock header %}
|
||||||
|
|
||||||
{# Page content #}
|
{# Page content #}
|
||||||
<div id="content" class="container-fluid p-0 m-0">
|
<div id="content" class="container-fluid px-0 m-0">
|
||||||
{% block tabs %}{% endblock %}
|
{% block tabs %}{% endblock %}
|
||||||
|
<div class="px-3">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{# Page footer #}
|
{# Page footer #}
|
||||||
<footer class="footer container-fluid pb-3 pt-4 px-0">
|
<footer class="footer container-fluid pb-3 pt-4 px-0">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
{# Breadcrumbs #}
|
{# Breadcrumbs #}
|
||||||
<nav class="breadcrumb-container" aria-label="breadcrumb">
|
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
{% block breadcrumbs %}{% endblock %}
|
{% block breadcrumbs %}{% endblock %}
|
||||||
</ol>
|
</ol>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
{% endblock controls %}
|
{% endblock controls %}
|
||||||
|
|
||||||
{% block tabs %}
|
{% block tabs %}
|
||||||
<ul class="nav nav-tabs mb-3">
|
<ul class="nav nav-tabs mb-3 px-3">
|
||||||
{% block tab_items %}
|
{% block tab_items %}
|
||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<a class="nav-link{% if not active_tab %} active{% endif %}" href="{{ object.get_absolute_url }}">{{ object|meta:"verbose_name"|bettertitle }}</a>
|
<a class="nav-link{% if not active_tab %} active{% endif %}" href="{{ object.get_absolute_url }}">{{ object|meta:"verbose_name"|bettertitle }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user