mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Clean up page headers
This commit is contained in:
parent
2ee68d3428
commit
ddb53cadd8
@ -3,12 +3,15 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% blocktrans trimmed with object_type=object|meta:"verbose_name"|bettertitle %}
|
|
||||||
Cable Trace for {{ object_type }} {{ object }}
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<h2>
|
||||||
|
{% blocktrans trimmed with object_type=object|meta:"verbose_name"|bettertitle %}
|
||||||
|
Cable Trace for {{ object_type }} {{ object }}
|
||||||
|
{% endblocktrans %}
|
||||||
|
</h2>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
{# Cable trace SVG & options #}
|
{# Cable trace SVG & options #}
|
||||||
|
@ -3,12 +3,14 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% blocktrans trimmed %}
|
|
||||||
Add New Member to Virtual Chassis {{ virtual_chassis }}
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<h2>
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Add New Member to Virtual Chassis {{ virtual_chassis }}
|
||||||
|
{% endblocktrans %}
|
||||||
|
</h2>
|
||||||
<form action="" method="post" enctype="multipart/form-data" class="object-edit">
|
<form action="" method="post" enctype="multipart/form-data" class="object-edit">
|
||||||
{% render_errors membership_form %}
|
{% render_errors membership_form %}
|
||||||
|
|
||||||
|
@ -10,10 +10,9 @@
|
|||||||
{{ script.Meta.description|markdown }}
|
{{ script.Meta.description|markdown }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block page-header %}
|
||||||
<div class="row d-print-none">
|
<div class="container-xl mt-2">
|
||||||
<div class="col col-md-12">
|
<nav class="breadcrumb-container" aria-label="breadcrumb">
|
||||||
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
|
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="{% url 'extras:script_list' %}">{% trans "Scripts" %}</a></li>
|
<li class="breadcrumb-item"><a href="{% url 'extras:script_list' %}">{% trans "Scripts" %}</a></li>
|
||||||
<li class="breadcrumb-item"><a href="{% url 'extras:script_list' %}#module.{{ script.module }}">{{ script.module|bettertitle }}</a></li>
|
<li class="breadcrumb-item"><a href="{% url 'extras:script_list' %}#module.{{ script.module }}">{{ script.module|bettertitle }}</a></li>
|
||||||
@ -22,9 +21,7 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endblock page-header %}
|
||||||
{{ block.super }}
|
|
||||||
{% endblock header %}
|
|
||||||
|
|
||||||
{% block controls %}
|
{% block controls %}
|
||||||
{% if request.user|can_delete:job %}
|
{% if request.user|can_delete:job %}
|
||||||
|
Loading…
Reference in New Issue
Block a user