mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
Compare commits
1 Commits
6f7e9f8692
...
3c137aa3e0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3c137aa3e0 |
@ -19,8 +19,7 @@ def load_initial_data(apps, schema_editor):
|
|||||||
'gpu',
|
'gpu',
|
||||||
'hard_disk',
|
'hard_disk',
|
||||||
'memory',
|
'memory',
|
||||||
'power_supply',
|
'power_supply'
|
||||||
'expansion_card'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for name in initial_profiles:
|
for name in initial_profiles:
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Expansion card",
|
|
||||||
"schema": {
|
|
||||||
"properties": {
|
|
||||||
"connector_type": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Connector type e.g. PCIe x4"
|
|
||||||
},
|
|
||||||
"bandwidth": {
|
|
||||||
"type": "integer",
|
|
||||||
"description": "Total Bandwidth for this module"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -1,4 +0,0 @@
|
|||||||
.rack-loading-container {
|
|
||||||
min-height: 200px;
|
|
||||||
margin-left: 30px;
|
|
||||||
}
|
|
@ -27,4 +27,3 @@
|
|||||||
@import 'custom/markdown';
|
@import 'custom/markdown';
|
||||||
@import 'custom/misc';
|
@import 'custom/misc';
|
||||||
@import 'custom/notifications';
|
@import 'custom/notifications';
|
||||||
@import 'custom/racks';
|
|
||||||
|
@ -1,17 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<div style="margin-left: -30px">
|
<div style="margin-left: -30px">
|
||||||
<div
|
<object data="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{face}}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}" class="rack_elevation" aria-label="{% trans "Rack elevation" %}"></object>
|
||||||
hx-get="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{ face }}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}"
|
|
||||||
hx-trigger="intersect"
|
|
||||||
hx-swap="outerHTML"
|
|
||||||
aria-label="{% trans "Rack elevation" %}"
|
|
||||||
>
|
|
||||||
<div class="d-flex justify-content-center align-items-center rack-loading-container">
|
|
||||||
<div class="spinner-border" role="status">
|
|
||||||
<span class="visually-hidden">{% trans "Loading..." %}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center mt-3">
|
<div class="text-center mt-3">
|
||||||
<a class="btn btn-outline-primary" href="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{face}}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}" hx-boost="false">
|
<a class="btn btn-outline-primary" href="{% url 'dcim-api:rack-elevation' pk=object.pk %}?face={{face}}&render=svg{% if extra_params %}&{{ extra_params }}{% endif %}" hx-boost="false">
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-07-09 05:04+0000\n"
|
"POT-Creation-Date: 2025-07-03 05:04+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -13021,7 +13021,7 @@ msgid "Cable Trace for %(object_type)s %(object)s"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/dcim/cable_trace.html:24
|
#: netbox/templates/dcim/cable_trace.html:24
|
||||||
#: netbox/templates/dcim/inc/rack_elevation.html:18
|
#: netbox/templates/dcim/inc/rack_elevation.html:7
|
||||||
msgid "Download SVG"
|
msgid "Download SVG"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -13424,14 +13424,10 @@ msgstr ""
|
|||||||
msgid "Descending Units"
|
msgid "Descending Units"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/dcim/inc/rack_elevation.html:7
|
#: netbox/templates/dcim/inc/rack_elevation.html:3
|
||||||
msgid "Rack elevation"
|
msgid "Rack elevation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/dcim/inc/rack_elevation.html:11
|
|
||||||
msgid "Loading..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: netbox/templates/dcim/interface.html:17
|
#: netbox/templates/dcim/interface.html:17
|
||||||
msgid "Add Child Interface"
|
msgid "Add Child Interface"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user