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 %}
|
||||
|
||||
{% block title %}
|
||||
{% blocktrans trimmed with object_type=object|meta:"verbose_name"|bettertitle %}
|
||||
Cable Trace for {{ object_type }} {{ object }}
|
||||
{% endblocktrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>
|
||||
{% blocktrans trimmed with object_type=object|meta:"verbose_name"|bettertitle %}
|
||||
Cable Trace for {{ object_type }} {{ object }}
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
|
||||
<div class="row">
|
||||
|
||||
{# Cable trace SVG & options #}
|
||||
|
@ -3,12 +3,14 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% blocktrans trimmed %}
|
||||
Add New Member to Virtual Chassis {{ virtual_chassis }}
|
||||
{% endblocktrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% 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">
|
||||
{% render_errors membership_form %}
|
||||
|
||||
|
@ -10,10 +10,9 @@
|
||||
{{ script.Meta.description|markdown }}
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
<div class="row d-print-none">
|
||||
<div class="col col-md-12">
|
||||
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
|
||||
{% block page-header %}
|
||||
<div class="container-xl mt-2">
|
||||
<nav class="breadcrumb-container" aria-label="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' %}#module.{{ script.module }}">{{ script.module|bettertitle }}</a></li>
|
||||
@ -22,9 +21,7 @@
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
{{ block.super }}
|
||||
{% endblock header %}
|
||||
{% endblock page-header %}
|
||||
|
||||
{% block controls %}
|
||||
{% if request.user|can_delete:job %}
|
||||
|
Loading…
Reference in New Issue
Block a user