Outer Width |
diff --git a/netbox/templates/dcim/rack_edit.html b/netbox/templates/dcim/rack_edit.html
index 4bbd72405..a1ebb7531 100644
--- a/netbox/templates/dcim/rack_edit.html
+++ b/netbox/templates/dcim/rack_edit.html
@@ -71,6 +71,7 @@
{% render_field form.mounting_depth %}
{% render_field form.desc_units %}
+ {% render_field form.starting_unit %}
{% if form.custom_fields %}
diff --git a/netbox/templates/extras/configrevision.html b/netbox/templates/extras/configrevision.html
new file mode 100644
index 000000000..1c7eeb2dd
--- /dev/null
+++ b/netbox/templates/extras/configrevision.html
@@ -0,0 +1,200 @@
+{% extends 'generic/object.html' %}
+{% load buttons %}
+{% load custom_links %}
+{% load helpers %}
+{% load perms %}
+{% load plugins %}
+{% load static %}
+
+{% block breadcrumbs %}
+{% endblock %}
+
+{% block controls %}
+
+
+ {% plugin_buttons object %}
+
+
+ {% custom_links object %}
+
+
+{% endblock controls %}
+
+{% block content %}
+
+
+
+
+
+
+
+ Rack elevation default unit height: |
+ {{ object.data.RACK_ELEVATION_DEFAULT_UNIT_HEIGHT }} |
+
+
+ Rack elevation default unit width: |
+ {{ object.data.RACK_ELEVATION_DEFAULT_UNIT_WIDTH }} |
+
+
+
+
+
+
+
+
+
+
+ Powerfeed default voltage: |
+ {{ object.data.POWERFEED_DEFAULT_VOLTAGE }} |
+
+
+ Powerfeed default amperage: |
+ {{ object.data.POWERFEED_DEFAULT_AMPERAGE }} |
+
+
+ Powerfeed default max utilization: |
+ {{ object.data.POWERFEED_DEFAULT_MAX_UTILIZATION }} |
+
+
+
+
+
+
+
+
+
+
+ IPAM enforce global unique: |
+ {{ object.data.ENFORCE_GLOBAL_UNIQUE }} |
+
+
+ IPAM prefer IPV4: |
+ {{ object.data.PREFER_IPV4 }} |
+
+
+
+
+
+
+
+
+
+
+ Allowed URL schemes: |
+ {{ object.data.ALLOWED_URL_SCHEMES }} |
+
+
+
+
+
+
+
+
+
+
+ Login banner: |
+ {{ object.data.BANNER_LOGIN }} |
+
+
+ Maintenance banner: |
+ {{ object.data.BANNER_MAINTENANCE }} |
+
+
+ Top banner: |
+ {{ object.data.BANNER_TOP }} |
+
+
+ Bottom banner: |
+ {{ object.data.BANNER_BOTTOM }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Paginate count: |
+ {{ object.data.PAGINATE_COUNT }} |
+
+
+ Max page size: |
+ {{ object.data.MAX_PAGE_SIZE }} |
+
+
+
+
+
+
+
+
+
+
+ Custom validators: |
+ {{ object.data.CUSTOM_VALIDATORS }} |
+
+
+
+
+
+
+
+
+
+
+ Default user preferences: |
+ {{ object.data.DEFAULT_USER_PREFERENCES }} |
+
+
+
+
+
+
+
+
+
+
+ Maintenance mode: |
+ {{ object.data.MAINTENANCE_MODE }} |
+
+
+ GraphQL enabled: |
+ {{ object.data.GRAPHQL_ENABLED }} |
+
+
+ Changelog retention: |
+ {{ object.data.CHANGELOG_RETENTION }} |
+
+
+ Job retention: |
+ {{ object.data.JOB_RETENTION }} |
+
+
+ Maps URL: |
+ {{ object.data.MAPS_URL }} |
+
+
+
+
+
+
+
+
+
+
+ Comment: |
+ {{ object.comment }} |
+
+
+
+
+
+
+
+{% endblock %}
diff --git a/netbox/templates/extras/configrevision_restore.html b/netbox/templates/extras/configrevision_restore.html
new file mode 100644
index 000000000..ac22f8cbd
--- /dev/null
+++ b/netbox/templates/extras/configrevision_restore.html
@@ -0,0 +1,88 @@
+{% extends 'base/layout.html' %}
+{% load helpers %}
+{% load buttons %}
+{% load perms %}
+{% load static %}
+
+{% block title %}Restore: {{ object }}{% endblock %}
+
+{% block subtitle %}
+
+ Created {{ object.created|annotated_date }}
+
+{% endblock %}
+
+{% block header %}
+
+ {{ block.super }}
+{% endblock header %}
+
+{% block controls %}
+
+
+ {% if request.user|can_delete:job %}
+ {% delete_button job %}
+ {% endif %}
+
+
+{% endblock controls %}
+
+{% block tabs %}
+
+{% endblock %}
+
+{% block content %}
+
+
+
+
+
+ Parameter |
+ Current Value |
+ New Value |
+ |
+
+
+
+ {% for param, current, new in params %}
+
+ {{ param }} |
+ {{ current }} |
+ {{ new }} |
+ {% if current != new %} {% endif %} |
+
+ {% endfor %}
+
+
+
+
+
+
+
+{% endblock content %}
+
+{% block modals %}
+{% endblock modals %}
diff --git a/netbox/templates/generic/object.html b/netbox/templates/generic/object.html
index d3a617455..ebbeb2dfc 100644
--- a/netbox/templates/generic/object.html
+++ b/netbox/templates/generic/object.html
@@ -38,7 +38,7 @@ Context:
{{ block.super }}
-{% endblock %}
+{% endblock header %}
{% block title %}{{ object }}{% endblock %}
@@ -48,7 +48,7 @@ Context:
·
Updated {{ object.last_updated|timesince }} ago
-{% endblock %}
+{% endblock subtitle %}
{% block controls %}
{# Clone/Edit/Delete Buttons #}
|