mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-31 21:06:25 -06:00
Merge branch 'develop' into 17374-active-background
This commit is contained in:
commit
2f9769ee23
52
docs/administration/authentication/google.md
Normal file
52
docs/administration/authentication/google.md
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Google
|
||||||
|
|
||||||
|
This guide explains how to configure single sign-on (SSO) support for NetBox using [Google OAuth2](https://developers.google.com/identity/protocols/oauth2/web-server) as an authentication backend.
|
||||||
|
|
||||||
|
## Google OAuth2 Configuration
|
||||||
|
|
||||||
|
1. Log into [console.cloud.google.com](https://console.cloud.google.com/).
|
||||||
|
2. Create new project for NetBox.
|
||||||
|
3. Under "APIs and Services" click "OAuth consent screen" and enter the required information.
|
||||||
|
4. Under "Credentials," click "Create Credentials" and select "OAuth 2.0 Client ID." Select type "Web application."
|
||||||
|
- "Authorized JavaScript origins" should follow the format `http[s]://<netbox>[:<port>]`
|
||||||
|
- "Authorized redirect URIs" should follow the format `http[s]://<netbox>[:<port>]/oauth/complete/google-oauth2/`
|
||||||
|
5. Copy the "Client ID" and "Client Secret" values somewhere convenient.
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
Google requires the NetBox hostname to use a public top-level-domain (e.g. `.com`, `.net`). The use of IP addresses is not permitted (except `127.0.0.1`).
|
||||||
|
|
||||||
|
For more information, consult [Google's documentation](https://developers.google.com/identity/protocols/oauth2/web-server#prerequisites).
|
||||||
|
|
||||||
|
## NetBox Configuration
|
||||||
|
|
||||||
|
### 1. Enter configuration parameters
|
||||||
|
|
||||||
|
Enter the following configuration parameters in `configuration.py`, substituting your own values:
|
||||||
|
|
||||||
|
```python
|
||||||
|
REMOTE_AUTH_BACKEND = 'social_core.backends.google.GoogleOAuth2'
|
||||||
|
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '{CLIENT_ID}'
|
||||||
|
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '{CLIENT_SECRET}'
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Restart NetBox
|
||||||
|
|
||||||
|
Restart the NetBox services so that the new configuration takes effect. This is typically done with the command below:
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
|
sudo systemctl restart netbox
|
||||||
|
```
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Log out of NetBox if already authenticated, and click the "Log In" button at top right. You should see the normal login form as well as an option to authenticate using Google. Click that link.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
You should be redirected to Google's authentication portal. Enter the username/email and password of your test account to continue. You may also be prompted to grant this application access to your account.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
If successful, you will be redirected back to the NetBox UI, and will be logged in as the Google user. You can verify this by navigating to your profile (using the button at top right).
|
||||||
|
|
||||||
|
This user account has been replicated locally to NetBox, and can now be assigned groups and permissions.
|
@ -72,6 +72,9 @@ script_order = (MyCustomScript, AnotherCustomScript)
|
|||||||
|
|
||||||
Script attributes are defined under a class named `Meta` within the script. These are optional, but encouraged.
|
Script attributes are defined under a class named `Meta` within the script. These are optional, but encouraged.
|
||||||
|
|
||||||
|
!!! warning
|
||||||
|
These are also defined and used as properties on the base custom script class, so don't use the same names as variables or override them in your custom script.
|
||||||
|
|
||||||
### `name`
|
### `name`
|
||||||
|
|
||||||
This is the human-friendly names of your script. If omitted, the class name will be used.
|
This is the human-friendly names of your script. If omitted, the class name will be used.
|
||||||
|
BIN
docs/media/authentication/google_login_portal.png
Normal file
BIN
docs/media/authentication/google_login_portal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
docs/media/authentication/netbox_google_login.png
Normal file
BIN
docs/media/authentication/netbox_google_login.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@ -1,5 +1,17 @@
|
|||||||
# NetBox v4.1
|
# NetBox v4.1
|
||||||
|
|
||||||
|
## v4.1.5 (FUTURE)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* [#17710](https://github.com/netbox-community/netbox/issues/17710) - Remove cached fields on CableTermination model from GraphQL API
|
||||||
|
* [#17740](https://github.com/netbox-community/netbox/issues/17740) - Ensure support for image attachments with a `.webp` file extension
|
||||||
|
* [#17749](https://github.com/netbox-community/netbox/issues/17749) - Restore missing `devicetypes` and `children` fields for several objects in GraphQL API
|
||||||
|
* [#17754](https://github.com/netbox-community/netbox/issues/17754) - Remove paginator from version history table under plugin view
|
||||||
|
* [#17759](https://github.com/netbox-community/netbox/issues/17759) - Retain `job_timeout` value when scheduling a recurring custom script
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## v4.1.4 (2024-10-15)
|
## v4.1.4 (2024-10-15)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
@ -156,6 +156,7 @@ nav:
|
|||||||
- Administration:
|
- Administration:
|
||||||
- Authentication:
|
- Authentication:
|
||||||
- Overview: 'administration/authentication/overview.md'
|
- Overview: 'administration/authentication/overview.md'
|
||||||
|
- Google: 'administration/authentication/google.md'
|
||||||
- Microsoft Entra ID: 'administration/authentication/microsoft-entra-id.md'
|
- Microsoft Entra ID: 'administration/authentication/microsoft-entra-id.md'
|
||||||
- Okta: 'administration/authentication/okta.md'
|
- Okta: 'administration/authentication/okta.md'
|
||||||
- Permissions: 'administration/permissions.md'
|
- Permissions: 'administration/permissions.md'
|
||||||
|
@ -112,7 +112,7 @@ class ModularComponentTemplateType(ComponentTemplateType):
|
|||||||
|
|
||||||
@strawberry_django.type(
|
@strawberry_django.type(
|
||||||
models.CableTermination,
|
models.CableTermination,
|
||||||
exclude=('termination_type', 'termination_id'),
|
exclude=('termination_type', 'termination_id', '_device', '_rack', '_location', '_site'),
|
||||||
filters=CableTerminationFilter
|
filters=CableTerminationFilter
|
||||||
)
|
)
|
||||||
class CableTerminationType(NetBoxObjectType):
|
class CableTerminationType(NetBoxObjectType):
|
||||||
@ -243,6 +243,7 @@ class DeviceType(ConfigContextMixin, ImageAttachmentsMixin, ContactsMixin, NetBo
|
|||||||
consoleserverports: List[Annotated["ConsoleServerPortType", strawberry.lazy('dcim.graphql.types')]]
|
consoleserverports: List[Annotated["ConsoleServerPortType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
poweroutlets: List[Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')]]
|
poweroutlets: List[Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
frontports: List[Annotated["FrontPortType", strawberry.lazy('dcim.graphql.types')]]
|
frontports: List[Annotated["FrontPortType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
|
devicebays: List[Annotated["DeviceBayType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
modulebays: List[Annotated["ModuleBayType", strawberry.lazy('dcim.graphql.types')]]
|
modulebays: List[Annotated["ModuleBayType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
services: List[Annotated["ServiceType", strawberry.lazy('ipam.graphql.types')]]
|
services: List[Annotated["ServiceType", strawberry.lazy('ipam.graphql.types')]]
|
||||||
inventoryitems: List[Annotated["InventoryItemType", strawberry.lazy('dcim.graphql.types')]]
|
inventoryitems: List[Annotated["InventoryItemType", strawberry.lazy('dcim.graphql.types')]]
|
||||||
|
@ -33,7 +33,7 @@ def image_upload(instance, filename):
|
|||||||
|
|
||||||
# Rename the file to the provided name, if any. Attempt to preserve the file extension.
|
# Rename the file to the provided name, if any. Attempt to preserve the file extension.
|
||||||
extension = filename.rsplit('.')[-1].lower()
|
extension = filename.rsplit('.')[-1].lower()
|
||||||
if instance.name and extension in ['bmp', 'gif', 'jpeg', 'jpg', 'png']:
|
if instance.name and extension in ['bmp', 'gif', 'jpeg', 'jpg', 'png', 'webp']:
|
||||||
filename = '.'.join([instance.name, extension])
|
filename = '.'.join([instance.name, extension])
|
||||||
elif instance.name:
|
elif instance.name:
|
||||||
filename = instance.name
|
filename = instance.name
|
||||||
|
@ -1,22 +1,23 @@
|
|||||||
from django import forms
|
from django import forms
|
||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
|
from django.core.exceptions import ObjectDoesNotExist
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
from dcim.models import Location, Rack, Region, Site, SiteGroup
|
from dcim.models import Region, Site, SiteGroup
|
||||||
from ipam.choices import *
|
from ipam.choices import *
|
||||||
from ipam.constants import *
|
from ipam.constants import *
|
||||||
from ipam.models import *
|
from ipam.models import *
|
||||||
from ipam.models import ASN
|
from ipam.models import ASN
|
||||||
from netbox.forms import NetBoxModelBulkEditForm
|
from netbox.forms import NetBoxModelBulkEditForm
|
||||||
from tenancy.models import Tenant
|
from tenancy.models import Tenant
|
||||||
from utilities.forms import add_blank_choice
|
from utilities.forms import add_blank_choice, get_field_value
|
||||||
from utilities.forms.fields import (
|
from utilities.forms.fields import (
|
||||||
CommentField, ContentTypeChoiceField, DynamicModelChoiceField, DynamicModelMultipleChoiceField, NumericArrayField,
|
CommentField, ContentTypeChoiceField, DynamicModelChoiceField, DynamicModelMultipleChoiceField, NumericArrayField,
|
||||||
NumericRangeArrayField,
|
NumericRangeArrayField,
|
||||||
)
|
)
|
||||||
from utilities.forms.rendering import FieldSet
|
from utilities.forms.rendering import FieldSet
|
||||||
from utilities.forms.widgets import BulkEditNullBooleanSelect
|
from utilities.forms.widgets import BulkEditNullBooleanSelect, HTMXSelect
|
||||||
from virtualization.models import Cluster, ClusterGroup
|
from utilities.templatetags.builtins.filters import bettertitle
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
'AggregateBulkEditForm',
|
'AggregateBulkEditForm',
|
||||||
@ -429,62 +430,17 @@ class VLANGroupBulkEditForm(NetBoxModelBulkEditForm):
|
|||||||
required=False
|
required=False
|
||||||
)
|
)
|
||||||
scope_type = ContentTypeChoiceField(
|
scope_type = ContentTypeChoiceField(
|
||||||
label=_('Scope type'),
|
|
||||||
queryset=ContentType.objects.filter(model__in=VLANGROUP_SCOPE_TYPES),
|
queryset=ContentType.objects.filter(model__in=VLANGROUP_SCOPE_TYPES),
|
||||||
required=False
|
widget=HTMXSelect(method='post', attrs={'hx-select': '#form_fields'}),
|
||||||
)
|
|
||||||
scope_id = forms.IntegerField(
|
|
||||||
required=False,
|
required=False,
|
||||||
widget=forms.HiddenInput()
|
label=_('Scope type')
|
||||||
)
|
)
|
||||||
region = DynamicModelChoiceField(
|
scope = DynamicModelChoiceField(
|
||||||
label=_('Region'),
|
label=_('Scope'),
|
||||||
queryset=Region.objects.all(),
|
queryset=Site.objects.none(), # Initial queryset
|
||||||
required=False
|
|
||||||
)
|
|
||||||
sitegroup = DynamicModelChoiceField(
|
|
||||||
queryset=SiteGroup.objects.all(),
|
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Site group')
|
disabled=True,
|
||||||
)
|
selector=True
|
||||||
site = DynamicModelChoiceField(
|
|
||||||
label=_('Site'),
|
|
||||||
queryset=Site.objects.all(),
|
|
||||||
required=False,
|
|
||||||
query_params={
|
|
||||||
'region_id': '$region',
|
|
||||||
'group_id': '$sitegroup',
|
|
||||||
}
|
|
||||||
)
|
|
||||||
location = DynamicModelChoiceField(
|
|
||||||
label=_('Location'),
|
|
||||||
queryset=Location.objects.all(),
|
|
||||||
required=False,
|
|
||||||
query_params={
|
|
||||||
'site_id': '$site',
|
|
||||||
}
|
|
||||||
)
|
|
||||||
rack = DynamicModelChoiceField(
|
|
||||||
label=_('Rack'),
|
|
||||||
queryset=Rack.objects.all(),
|
|
||||||
required=False,
|
|
||||||
query_params={
|
|
||||||
'site_id': '$site',
|
|
||||||
'location_id': '$location',
|
|
||||||
}
|
|
||||||
)
|
|
||||||
clustergroup = DynamicModelChoiceField(
|
|
||||||
queryset=ClusterGroup.objects.all(),
|
|
||||||
required=False,
|
|
||||||
label=_('Cluster group')
|
|
||||||
)
|
|
||||||
cluster = DynamicModelChoiceField(
|
|
||||||
label=_('Cluster'),
|
|
||||||
queryset=Cluster.objects.all(),
|
|
||||||
required=False,
|
|
||||||
query_params={
|
|
||||||
'group_id': '$clustergroup',
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
vid_ranges = NumericRangeArrayField(
|
vid_ranges = NumericRangeArrayField(
|
||||||
label=_('VLAN ID ranges'),
|
label=_('VLAN ID ranges'),
|
||||||
@ -494,24 +450,23 @@ class VLANGroupBulkEditForm(NetBoxModelBulkEditForm):
|
|||||||
model = VLANGroup
|
model = VLANGroup
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
FieldSet('site', 'vid_ranges', 'description'),
|
FieldSet('site', 'vid_ranges', 'description'),
|
||||||
FieldSet(
|
FieldSet('scope_type', 'scope', name=_('Scope')),
|
||||||
'scope_type', 'region', 'sitegroup', 'site', 'location', 'rack', 'clustergroup', 'cluster', name=_('Scope')
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
nullable_fields = ('description',)
|
nullable_fields = ('description', 'scope')
|
||||||
|
|
||||||
def clean(self):
|
def __init__(self, *args, **kwargs):
|
||||||
super().clean()
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
# Assign scope based on scope_type
|
if scope_type_id := get_field_value(self, 'scope_type'):
|
||||||
if self.cleaned_data.get('scope_type'):
|
try:
|
||||||
scope_field = self.cleaned_data['scope_type'].model
|
scope_type = ContentType.objects.get(pk=scope_type_id)
|
||||||
if scope_obj := self.cleaned_data.get(scope_field):
|
model = scope_type.model_class()
|
||||||
self.cleaned_data['scope_id'] = scope_obj.pk
|
self.fields['scope'].queryset = model.objects.all()
|
||||||
self.changed_data.append('scope_id')
|
self.fields['scope'].widget.attrs['selector'] = model._meta.label_lower
|
||||||
else:
|
self.fields['scope'].disabled = False
|
||||||
self.cleaned_data.pop('scope_type')
|
self.fields['scope'].label = _(bettertitle(model._meta.verbose_name))
|
||||||
self.changed_data.remove('scope_type')
|
except ObjectDoesNotExist:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class VLANBulkEditForm(NetBoxModelBulkEditForm):
|
class VLANBulkEditForm(NetBoxModelBulkEditForm):
|
||||||
|
@ -68,6 +68,8 @@ class JobRunner(ABC):
|
|||||||
finally:
|
finally:
|
||||||
if job.interval:
|
if job.interval:
|
||||||
new_scheduled_time = (job.scheduled or job.started) + timedelta(minutes=job.interval)
|
new_scheduled_time = (job.scheduled or job.started) + timedelta(minutes=job.interval)
|
||||||
|
if job.object and getattr(job.object, "python_class", None):
|
||||||
|
kwargs["job_timeout"] = job.object.python_class.job_timeout
|
||||||
cls.enqueue(
|
cls.enqueue(
|
||||||
instance=job.object,
|
instance=job.object,
|
||||||
user=job.user,
|
user=job.user,
|
||||||
|
@ -3,7 +3,7 @@ import re
|
|||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
|
||||||
from django.contrib import messages
|
from django.contrib import messages
|
||||||
from django.contrib.contenttypes.fields import GenericRel
|
from django.contrib.contenttypes.fields import GenericForeignKey, GenericRel
|
||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
from django.core.exceptions import FieldDoesNotExist, ObjectDoesNotExist, ValidationError
|
from django.core.exceptions import FieldDoesNotExist, ObjectDoesNotExist, ValidationError
|
||||||
from django.db import transaction, IntegrityError
|
from django.db import transaction, IntegrityError
|
||||||
@ -576,7 +576,10 @@ class BulkEditView(GetReturnURLMixin, BaseMultiObjectView):
|
|||||||
for name, model_field in model_fields.items():
|
for name, model_field in model_fields.items():
|
||||||
# Handle nullification
|
# Handle nullification
|
||||||
if name in form.nullable_fields and name in nullified_fields:
|
if name in form.nullable_fields and name in nullified_fields:
|
||||||
setattr(obj, name, None if model_field.null else '')
|
if type(model_field) is GenericForeignKey:
|
||||||
|
setattr(obj, name, None)
|
||||||
|
else:
|
||||||
|
setattr(obj, name, None if model_field.null else '')
|
||||||
# Normal fields
|
# Normal fields
|
||||||
elif name in form.changed_data:
|
elif name in form.changed_data:
|
||||||
setattr(obj, name, form.cleaned_data[name])
|
setattr(obj, name, form.cleaned_data[name])
|
||||||
@ -688,7 +691,7 @@ class BulkEditView(GetReturnURLMixin, BaseMultiObjectView):
|
|||||||
logger.debug("Form validation failed")
|
logger.debug("Form validation failed")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
form = self.form(initial=initial_data)
|
form = self.form(request.POST, initial=initial_data)
|
||||||
restrict_form_fields(form, request.user)
|
restrict_form_fields(form, request.user)
|
||||||
|
|
||||||
# Retrieve objects being edited
|
# Retrieve objects being edited
|
||||||
|
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -28,16 +28,19 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the bottom margin of <p> elements inside a table cell
|
// Remove the bottom margin of the last <p> elements in markdown
|
||||||
td > .rendered-markdown {
|
.rendered-markdown {
|
||||||
max-height: 200px;
|
|
||||||
overflow-y: scroll;
|
|
||||||
|
|
||||||
p:last-of-type {
|
p:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix layout of rendered markdown inside a table cell
|
||||||
|
td > .rendered-markdown {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
// Markdown preview
|
// Markdown preview
|
||||||
.markdown-widget {
|
.markdown-widget {
|
||||||
.preview {
|
.preview {
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load form_helpers %}
|
{% load form_helpers %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load render_table from django_tables2 %}
|
||||||
|
|
||||||
{% block title %}{{ plugin.title_long }}{% endblock %}
|
{% block title %}{{ plugin.title_long }}{% endblock %}
|
||||||
|
|
||||||
@ -93,8 +94,8 @@
|
|||||||
<div class="col col-6">
|
<div class="col col-6">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h2 class="card-header">{% trans "Version History" %}</h2>
|
<h2 class="card-header">{% trans "Version History" %}</h2>
|
||||||
<div class="htmx-container table-responsive" id="object_list">
|
<div class="table-responsive">
|
||||||
{% include 'htmx/table.html' %}
|
{% render_table table 'inc/table.html' %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'bulk_rename' in actions %}
|
{% if 'bulk_rename' in actions %}
|
||||||
{% with bulk_rename_view=model|validated_viewname:"bulk_rename" %}
|
{% with bulk_rename_view=model|validated_viewname:"bulk_rename" %}
|
||||||
<button type="submit" name="_rename" {% formaction %}="{% url bulk_rename_view %}" class="btn btn-outline-warning">
|
<button type="submit" name="_rename" {% formaction %}="{% url bulk_rename_view %}" class="btn btn-outline-warning btn-float">
|
||||||
<i class="mdi mdi-pencil-outline" aria-hidden="true"></i> {% trans "Rename Selected" %}
|
<i class="mdi mdi-pencil-outline" aria-hidden="true"></i> {% trans "Rename Selected" %}
|
||||||
</button>
|
</button>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
{% if 'bulk_edit' in actions %}
|
{% if 'bulk_edit' in actions %}
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
{% bulk_edit_button model query_params=request.GET %}
|
{% bulk_edit_button model query_params=request.GET %}
|
||||||
<button type="submit" name="_rename" {% formaction %}="{% url 'dcim:device_bulk_rename' %}?return_url={% url 'dcim:device_list' %}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}" class="btn btn-outline-warning">
|
<button type="submit" name="_rename" {% formaction %}="{% url 'dcim:device_bulk_rename' %}?return_url={% url 'dcim:device_list' %}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}" class="btn btn-outline-warning btn-float">
|
||||||
<i class="mdi mdi-pencil-outline" aria-hidden="true"></i> {% trans "Rename" %}
|
<i class="mdi mdi-pencil-outline" aria-hidden="true"></i> {% trans "Rename" %}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -42,71 +42,71 @@ Context:
|
|||||||
{# Edit form #}
|
{# Edit form #}
|
||||||
<div class="tab-pane show active" id="edit-form" role="tabpanel" aria-labelledby="edit-form-tab">
|
<div class="tab-pane show active" id="edit-form" role="tabpanel" aria-labelledby="edit-form-tab">
|
||||||
<form action="" method="post" class="form form-horizontal mt-5">
|
<form action="" method="post" class="form form-horizontal mt-5">
|
||||||
|
<div id="form_fields" hx-disinherit="hx-select hx-swap">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% if request.POST.return_url %}
|
{% if request.POST.return_url %}
|
||||||
<input type="hidden" name="return_url" value="{{ request.POST.return_url }}" />
|
<input type="hidden" name="return_url" value="{{ request.POST.return_url }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for field in form.hidden_fields %}
|
{% for field in form.hidden_fields %}
|
||||||
{{ field }}
|
{{ field }}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% if form.fieldsets %}
|
|
||||||
|
|
||||||
{# Render grouped fields according to declared fieldsets #}
|
|
||||||
{% for fieldset in form.fieldsets %}
|
|
||||||
{% render_fieldset form fieldset %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{# Render tag add/remove fields #}
|
{% if form.fieldsets %}
|
||||||
{% if form.add_tags and form.remove_tags %}
|
|
||||||
<div class="field-group mb-5">
|
{# Render grouped fields according to declared fieldsets #}
|
||||||
<div class="row">
|
{% for fieldset in form.fieldsets %}
|
||||||
<h2 class="col-9 offset-3">{% trans "Tags" %}</h2>
|
{% render_fieldset form fieldset %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{# Render tag add/remove fields #}
|
||||||
|
{% if form.add_tags and form.remove_tags %}
|
||||||
|
<div class="field-group mb-5">
|
||||||
|
<div class="row">
|
||||||
|
<h2 class="col-9 offset-3">{% trans "Tags" %}</h2>
|
||||||
|
</div>
|
||||||
|
{% render_field form.add_tags %}
|
||||||
|
{% render_field form.remove_tags %}
|
||||||
</div>
|
</div>
|
||||||
{% render_field form.add_tags %}
|
|
||||||
{% render_field form.remove_tags %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{# Render custom fields #}
|
|
||||||
{% if form.custom_fields %}
|
|
||||||
<div class="field-group mb-5">
|
|
||||||
<div class="row">
|
|
||||||
<h2 class="col-9 offset-3">{% trans "Custom Fields" %}</h2>
|
|
||||||
</div>
|
|
||||||
{% render_custom_fields form %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{# Render comments #}
|
|
||||||
{% if form.comments %}
|
|
||||||
<div class="field-group mb-5">
|
|
||||||
<div class="row">
|
|
||||||
<h2 class="col-9 offset-3">{% trans "Comments" %}</h2>
|
|
||||||
</div>
|
|
||||||
{% render_field form.comments bulk_nullable=True %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% else %}
|
|
||||||
|
|
||||||
{# Render all fields #}
|
|
||||||
{% for field in form.visible_fields %}
|
|
||||||
{% if field.name in form.nullable_fields %}
|
|
||||||
{% render_field field bulk_nullable=True %}
|
|
||||||
{% else %}
|
|
||||||
{% render_field field %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% endif %}
|
{# Render custom fields #}
|
||||||
|
{% if form.custom_fields %}
|
||||||
|
<div class="field-group mb-5">
|
||||||
|
<div class="row">
|
||||||
|
<h2 class="col-9 offset-3">{% trans "Custom Fields" %}</h2>
|
||||||
|
</div>
|
||||||
|
{% render_custom_fields form %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="btn-float-group-right">
|
{# Render comments #}
|
||||||
<a href="{{ return_url }}" class="btn btn-outline-secondary btn-float">{% trans "Cancel" %}</a>
|
{% if form.comments %}
|
||||||
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
|
<div class="field-group mb-5">
|
||||||
|
<div class="row">
|
||||||
|
<h2 class="col-9 offset-3">{% trans "Comments" %}</h2>
|
||||||
|
</div>
|
||||||
|
{% render_field form.comments bulk_nullable=True %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{# Render all fields #}
|
||||||
|
{% for field in form.visible_fields %}
|
||||||
|
{% if field.name in form.nullable_fields %}
|
||||||
|
{% render_field field bulk_nullable=True %}
|
||||||
|
{% else %}
|
||||||
|
{% render_field field %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<div class="btn-float-group-right">
|
||||||
|
<a href="{{ return_url }}" class="btn btn-outline-secondary btn-float">{% trans "Cancel" %}</a>
|
||||||
|
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ class TenantGroupType(OrganizationalObjectType):
|
|||||||
parent: Annotated["TenantGroupType", strawberry.lazy('tenancy.graphql.types')] | None
|
parent: Annotated["TenantGroupType", strawberry.lazy('tenancy.graphql.types')] | None
|
||||||
|
|
||||||
tenants: List[TenantType]
|
tenants: List[TenantType]
|
||||||
|
children: List[Annotated["TenantGroupType", strawberry.lazy('tenancy.graphql.types')]]
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -99,6 +100,7 @@ class ContactGroupType(OrganizationalObjectType):
|
|||||||
parent: Annotated["ContactGroupType", strawberry.lazy('tenancy.graphql.types')] | None
|
parent: Annotated["ContactGroupType", strawberry.lazy('tenancy.graphql.types')] | None
|
||||||
|
|
||||||
contacts: List[ContactType]
|
contacts: List[ContactType]
|
||||||
|
children: List[Annotated["ContactGroupType", strawberry.lazy('tenancy.graphql.types')]]
|
||||||
|
|
||||||
|
|
||||||
@strawberry_django.type(
|
@strawberry_django.type(
|
||||||
|
@ -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: 2024-10-16 05:01+0000\n"
|
"POT-Creation-Date: 2024-10-18 05:01+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"
|
||||||
@ -212,14 +212,13 @@ msgstr ""
|
|||||||
#: netbox/dcim/tables/power.py:26 netbox/dcim/tables/power.py:93
|
#: netbox/dcim/tables/power.py:26 netbox/dcim/tables/power.py:93
|
||||||
#: netbox/dcim/tables/racks.py:122 netbox/dcim/tables/racks.py:207
|
#: netbox/dcim/tables/racks.py:122 netbox/dcim/tables/racks.py:207
|
||||||
#: netbox/dcim/tables/sites.py:134 netbox/extras/filtersets.py:525
|
#: netbox/dcim/tables/sites.py:134 netbox/extras/filtersets.py:525
|
||||||
#: netbox/ipam/forms/bulk_edit.py:217 netbox/ipam/forms/bulk_edit.py:284
|
#: netbox/ipam/forms/bulk_edit.py:218 netbox/ipam/forms/bulk_edit.py:285
|
||||||
#: netbox/ipam/forms/bulk_edit.py:451 netbox/ipam/forms/bulk_edit.py:529
|
#: netbox/ipam/forms/bulk_edit.py:484 netbox/ipam/forms/bulk_import.py:171
|
||||||
#: netbox/ipam/forms/bulk_import.py:171 netbox/ipam/forms/bulk_import.py:429
|
#: netbox/ipam/forms/bulk_import.py:429 netbox/ipam/forms/filtersets.py:153
|
||||||
#: netbox/ipam/forms/filtersets.py:153 netbox/ipam/forms/filtersets.py:231
|
#: netbox/ipam/forms/filtersets.py:231 netbox/ipam/forms/filtersets.py:432
|
||||||
#: netbox/ipam/forms/filtersets.py:432 netbox/ipam/forms/filtersets.py:489
|
#: netbox/ipam/forms/filtersets.py:489 netbox/ipam/forms/model_forms.py:205
|
||||||
#: netbox/ipam/forms/model_forms.py:205 netbox/ipam/forms/model_forms.py:636
|
#: netbox/ipam/forms/model_forms.py:636 netbox/ipam/tables/ip.py:245
|
||||||
#: netbox/ipam/tables/ip.py:245 netbox/ipam/tables/vlans.py:118
|
#: netbox/ipam/tables/vlans.py:118 netbox/ipam/tables/vlans.py:221
|
||||||
#: netbox/ipam/tables/vlans.py:221
|
|
||||||
#: netbox/templates/circuits/inc/circuit_termination_fields.html:6
|
#: netbox/templates/circuits/inc/circuit_termination_fields.html:6
|
||||||
#: netbox/templates/dcim/device.html:22
|
#: netbox/templates/dcim/device.html:22
|
||||||
#: netbox/templates/dcim/inc/cable_termination.html:8
|
#: netbox/templates/dcim/inc/cable_termination.html:8
|
||||||
@ -415,13 +414,13 @@ msgstr ""
|
|||||||
#: netbox/extras/forms/bulk_edit.py:256 netbox/extras/forms/bulk_edit.py:274
|
#: netbox/extras/forms/bulk_edit.py:256 netbox/extras/forms/bulk_edit.py:274
|
||||||
#: netbox/extras/forms/bulk_edit.py:298 netbox/extras/forms/bulk_edit.py:312
|
#: netbox/extras/forms/bulk_edit.py:298 netbox/extras/forms/bulk_edit.py:312
|
||||||
#: netbox/extras/forms/bulk_edit.py:339 netbox/extras/tables/tables.py:79
|
#: netbox/extras/forms/bulk_edit.py:339 netbox/extras/tables/tables.py:79
|
||||||
#: netbox/ipam/forms/bulk_edit.py:52 netbox/ipam/forms/bulk_edit.py:72
|
#: netbox/ipam/forms/bulk_edit.py:53 netbox/ipam/forms/bulk_edit.py:73
|
||||||
#: netbox/ipam/forms/bulk_edit.py:92 netbox/ipam/forms/bulk_edit.py:116
|
#: netbox/ipam/forms/bulk_edit.py:93 netbox/ipam/forms/bulk_edit.py:117
|
||||||
#: netbox/ipam/forms/bulk_edit.py:145 netbox/ipam/forms/bulk_edit.py:174
|
#: netbox/ipam/forms/bulk_edit.py:146 netbox/ipam/forms/bulk_edit.py:175
|
||||||
#: netbox/ipam/forms/bulk_edit.py:193 netbox/ipam/forms/bulk_edit.py:275
|
#: netbox/ipam/forms/bulk_edit.py:194 netbox/ipam/forms/bulk_edit.py:276
|
||||||
#: netbox/ipam/forms/bulk_edit.py:320 netbox/ipam/forms/bulk_edit.py:368
|
#: netbox/ipam/forms/bulk_edit.py:321 netbox/ipam/forms/bulk_edit.py:369
|
||||||
#: netbox/ipam/forms/bulk_edit.py:411 netbox/ipam/forms/bulk_edit.py:427
|
#: netbox/ipam/forms/bulk_edit.py:412 netbox/ipam/forms/bulk_edit.py:428
|
||||||
#: netbox/ipam/forms/bulk_edit.py:561 netbox/ipam/forms/bulk_edit.py:592
|
#: netbox/ipam/forms/bulk_edit.py:516 netbox/ipam/forms/bulk_edit.py:547
|
||||||
#: netbox/templates/account/token.html:35
|
#: netbox/templates/account/token.html:35
|
||||||
#: netbox/templates/circuits/circuit.html:59
|
#: netbox/templates/circuits/circuit.html:59
|
||||||
#: netbox/templates/circuits/circuitgroup.html:32
|
#: netbox/templates/circuits/circuitgroup.html:32
|
||||||
@ -430,7 +429,7 @@ msgstr ""
|
|||||||
#: netbox/templates/circuits/provider.html:33
|
#: netbox/templates/circuits/provider.html:33
|
||||||
#: netbox/templates/circuits/providernetwork.html:32
|
#: netbox/templates/circuits/providernetwork.html:32
|
||||||
#: netbox/templates/core/datasource.html:54
|
#: netbox/templates/core/datasource.html:54
|
||||||
#: netbox/templates/core/plugin.html:79 netbox/templates/dcim/cable.html:36
|
#: netbox/templates/core/plugin.html:80 netbox/templates/dcim/cable.html:36
|
||||||
#: netbox/templates/dcim/consoleport.html:44
|
#: netbox/templates/dcim/consoleport.html:44
|
||||||
#: netbox/templates/dcim/consoleserverport.html:44
|
#: netbox/templates/dcim/consoleserverport.html:44
|
||||||
#: netbox/templates/dcim/device.html:94 netbox/templates/dcim/devicebay.html:32
|
#: netbox/templates/dcim/device.html:94 netbox/templates/dcim/devicebay.html:32
|
||||||
@ -654,8 +653,8 @@ msgstr ""
|
|||||||
#: netbox/dcim/tables/devices.py:1063 netbox/dcim/tables/modules.py:69
|
#: netbox/dcim/tables/devices.py:1063 netbox/dcim/tables/modules.py:69
|
||||||
#: netbox/dcim/tables/power.py:74 netbox/dcim/tables/racks.py:126
|
#: netbox/dcim/tables/power.py:74 netbox/dcim/tables/racks.py:126
|
||||||
#: netbox/dcim/tables/sites.py:82 netbox/dcim/tables/sites.py:138
|
#: netbox/dcim/tables/sites.py:82 netbox/dcim/tables/sites.py:138
|
||||||
#: netbox/ipam/forms/bulk_edit.py:255 netbox/ipam/forms/bulk_edit.py:305
|
#: netbox/ipam/forms/bulk_edit.py:256 netbox/ipam/forms/bulk_edit.py:306
|
||||||
#: netbox/ipam/forms/bulk_edit.py:353 netbox/ipam/forms/bulk_edit.py:551
|
#: netbox/ipam/forms/bulk_edit.py:354 netbox/ipam/forms/bulk_edit.py:506
|
||||||
#: netbox/ipam/forms/bulk_import.py:192 netbox/ipam/forms/bulk_import.py:257
|
#: netbox/ipam/forms/bulk_import.py:192 netbox/ipam/forms/bulk_import.py:257
|
||||||
#: netbox/ipam/forms/bulk_import.py:293 netbox/ipam/forms/bulk_import.py:450
|
#: netbox/ipam/forms/bulk_import.py:293 netbox/ipam/forms/bulk_import.py:450
|
||||||
#: netbox/ipam/forms/filtersets.py:210 netbox/ipam/forms/filtersets.py:281
|
#: netbox/ipam/forms/filtersets.py:210 netbox/ipam/forms/filtersets.py:281
|
||||||
@ -720,11 +719,11 @@ msgstr ""
|
|||||||
#: netbox/dcim/forms/filtersets.py:978 netbox/dcim/forms/filtersets.py:1008
|
#: netbox/dcim/forms/filtersets.py:978 netbox/dcim/forms/filtersets.py:1008
|
||||||
#: netbox/dcim/forms/filtersets.py:1130 netbox/dcim/tables/power.py:88
|
#: netbox/dcim/forms/filtersets.py:1130 netbox/dcim/tables/power.py:88
|
||||||
#: netbox/extras/filtersets.py:612 netbox/extras/forms/filtersets.py:323
|
#: netbox/extras/filtersets.py:612 netbox/extras/forms/filtersets.py:323
|
||||||
#: netbox/extras/forms/filtersets.py:396 netbox/ipam/forms/bulk_edit.py:42
|
#: netbox/extras/forms/filtersets.py:396 netbox/ipam/forms/bulk_edit.py:43
|
||||||
#: netbox/ipam/forms/bulk_edit.py:67 netbox/ipam/forms/bulk_edit.py:111
|
#: netbox/ipam/forms/bulk_edit.py:68 netbox/ipam/forms/bulk_edit.py:112
|
||||||
#: netbox/ipam/forms/bulk_edit.py:140 netbox/ipam/forms/bulk_edit.py:165
|
#: netbox/ipam/forms/bulk_edit.py:141 netbox/ipam/forms/bulk_edit.py:166
|
||||||
#: netbox/ipam/forms/bulk_edit.py:250 netbox/ipam/forms/bulk_edit.py:300
|
#: netbox/ipam/forms/bulk_edit.py:251 netbox/ipam/forms/bulk_edit.py:301
|
||||||
#: netbox/ipam/forms/bulk_edit.py:348 netbox/ipam/forms/bulk_edit.py:546
|
#: netbox/ipam/forms/bulk_edit.py:349 netbox/ipam/forms/bulk_edit.py:501
|
||||||
#: netbox/ipam/forms/bulk_import.py:38 netbox/ipam/forms/bulk_import.py:67
|
#: netbox/ipam/forms/bulk_import.py:38 netbox/ipam/forms/bulk_import.py:67
|
||||||
#: netbox/ipam/forms/bulk_import.py:95 netbox/ipam/forms/bulk_import.py:115
|
#: netbox/ipam/forms/bulk_import.py:95 netbox/ipam/forms/bulk_import.py:115
|
||||||
#: netbox/ipam/forms/bulk_import.py:135 netbox/ipam/forms/bulk_import.py:164
|
#: netbox/ipam/forms/bulk_import.py:135 netbox/ipam/forms/bulk_import.py:164
|
||||||
@ -950,9 +949,9 @@ msgstr ""
|
|||||||
#: netbox/dcim/tables/devices.py:157 netbox/dcim/tables/power.py:30
|
#: netbox/dcim/tables/devices.py:157 netbox/dcim/tables/power.py:30
|
||||||
#: netbox/dcim/tables/racks.py:118 netbox/dcim/tables/racks.py:212
|
#: netbox/dcim/tables/racks.py:118 netbox/dcim/tables/racks.py:212
|
||||||
#: netbox/extras/filtersets.py:536 netbox/extras/forms/filtersets.py:320
|
#: netbox/extras/filtersets.py:536 netbox/extras/forms/filtersets.py:320
|
||||||
#: netbox/ipam/forms/bulk_edit.py:460 netbox/ipam/forms/filtersets.py:173
|
#: netbox/ipam/forms/filtersets.py:173 netbox/ipam/forms/filtersets.py:414
|
||||||
#: netbox/ipam/forms/filtersets.py:414 netbox/ipam/forms/filtersets.py:437
|
#: netbox/ipam/forms/filtersets.py:437 netbox/ipam/forms/filtersets.py:467
|
||||||
#: netbox/ipam/forms/filtersets.py:467 netbox/templates/dcim/device.html:26
|
#: netbox/templates/dcim/device.html:26
|
||||||
#: netbox/templates/dcim/device_edit.html:30
|
#: netbox/templates/dcim/device_edit.html:30
|
||||||
#: netbox/templates/dcim/inc/cable_termination.html:12
|
#: netbox/templates/dcim/inc/cable_termination.html:12
|
||||||
#: netbox/templates/dcim/location.html:26
|
#: netbox/templates/dcim/location.html:26
|
||||||
@ -992,11 +991,10 @@ msgstr ""
|
|||||||
#: netbox/dcim/forms/filtersets.py:1600 netbox/dcim/forms/filtersets.py:1624
|
#: netbox/dcim/forms/filtersets.py:1600 netbox/dcim/forms/filtersets.py:1624
|
||||||
#: netbox/dcim/forms/model_forms.py:112 netbox/dcim/forms/object_create.py:375
|
#: netbox/dcim/forms/model_forms.py:112 netbox/dcim/forms/object_create.py:375
|
||||||
#: netbox/dcim/tables/devices.py:143 netbox/dcim/tables/sites.py:85
|
#: netbox/dcim/tables/devices.py:143 netbox/dcim/tables/sites.py:85
|
||||||
#: netbox/extras/filtersets.py:503 netbox/ipam/forms/bulk_edit.py:207
|
#: netbox/extras/filtersets.py:503 netbox/ipam/forms/bulk_edit.py:208
|
||||||
#: netbox/ipam/forms/bulk_edit.py:441 netbox/ipam/forms/bulk_edit.py:519
|
#: netbox/ipam/forms/bulk_edit.py:474 netbox/ipam/forms/filtersets.py:217
|
||||||
#: netbox/ipam/forms/filtersets.py:217 netbox/ipam/forms/filtersets.py:422
|
#: netbox/ipam/forms/filtersets.py:422 netbox/ipam/forms/filtersets.py:475
|
||||||
#: netbox/ipam/forms/filtersets.py:475 netbox/templates/dcim/device.html:18
|
#: netbox/templates/dcim/device.html:18 netbox/templates/dcim/rack.html:16
|
||||||
#: netbox/templates/dcim/rack.html:16
|
|
||||||
#: netbox/templates/dcim/rackreservation.html:22
|
#: netbox/templates/dcim/rackreservation.html:22
|
||||||
#: netbox/templates/dcim/region.html:26 netbox/templates/dcim/site.html:31
|
#: netbox/templates/dcim/region.html:26 netbox/templates/dcim/site.html:31
|
||||||
#: netbox/templates/ipam/prefix.html:49 netbox/templates/ipam/vlan.html:16
|
#: netbox/templates/ipam/prefix.html:49 netbox/templates/ipam/vlan.html:16
|
||||||
@ -1016,9 +1014,9 @@ msgstr ""
|
|||||||
#: netbox/dcim/forms/filtersets.py:744 netbox/dcim/forms/filtersets.py:988
|
#: netbox/dcim/forms/filtersets.py:744 netbox/dcim/forms/filtersets.py:988
|
||||||
#: netbox/dcim/forms/filtersets.py:1102 netbox/dcim/forms/filtersets.py:1141
|
#: netbox/dcim/forms/filtersets.py:1102 netbox/dcim/forms/filtersets.py:1141
|
||||||
#: netbox/dcim/forms/object_create.py:383 netbox/extras/filtersets.py:520
|
#: netbox/dcim/forms/object_create.py:383 netbox/extras/filtersets.py:520
|
||||||
#: netbox/ipam/forms/bulk_edit.py:212 netbox/ipam/forms/bulk_edit.py:448
|
#: netbox/ipam/forms/bulk_edit.py:213 netbox/ipam/forms/bulk_edit.py:479
|
||||||
#: netbox/ipam/forms/bulk_edit.py:524 netbox/ipam/forms/filtersets.py:222
|
#: netbox/ipam/forms/filtersets.py:222 netbox/ipam/forms/filtersets.py:427
|
||||||
#: netbox/ipam/forms/filtersets.py:427 netbox/ipam/forms/filtersets.py:480
|
#: netbox/ipam/forms/filtersets.py:480
|
||||||
#: netbox/virtualization/forms/bulk_edit.py:86
|
#: netbox/virtualization/forms/bulk_edit.py:86
|
||||||
#: netbox/virtualization/forms/filtersets.py:69
|
#: netbox/virtualization/forms/filtersets.py:69
|
||||||
#: netbox/virtualization/forms/filtersets.py:138
|
#: netbox/virtualization/forms/filtersets.py:138
|
||||||
@ -1083,7 +1081,7 @@ msgstr ""
|
|||||||
#: netbox/circuits/tables/circuits.py:155 netbox/dcim/forms/bulk_edit.py:117
|
#: netbox/circuits/tables/circuits.py:155 netbox/dcim/forms/bulk_edit.py:117
|
||||||
#: netbox/dcim/forms/bulk_import.py:100 netbox/dcim/forms/model_forms.py:117
|
#: netbox/dcim/forms/bulk_import.py:100 netbox/dcim/forms/model_forms.py:117
|
||||||
#: netbox/dcim/tables/sites.py:89 netbox/extras/forms/filtersets.py:480
|
#: netbox/dcim/tables/sites.py:89 netbox/extras/forms/filtersets.py:480
|
||||||
#: netbox/ipam/filtersets.py:999 netbox/ipam/forms/bulk_edit.py:538
|
#: netbox/ipam/filtersets.py:999 netbox/ipam/forms/bulk_edit.py:493
|
||||||
#: netbox/ipam/forms/bulk_import.py:436 netbox/ipam/forms/model_forms.py:528
|
#: netbox/ipam/forms/bulk_import.py:436 netbox/ipam/forms/model_forms.py:528
|
||||||
#: netbox/ipam/tables/fhrp.py:67 netbox/ipam/tables/vlans.py:122
|
#: netbox/ipam/tables/fhrp.py:67 netbox/ipam/tables/vlans.py:122
|
||||||
#: netbox/ipam/tables/vlans.py:226
|
#: netbox/ipam/tables/vlans.py:226
|
||||||
@ -1168,7 +1166,7 @@ msgstr ""
|
|||||||
msgid "status"
|
msgid "status"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/circuits/models/circuits.py:84 netbox/templates/core/plugin.html:19
|
#: netbox/circuits/models/circuits.py:84 netbox/templates/core/plugin.html:20
|
||||||
msgid "installed"
|
msgid "installed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -1386,7 +1384,7 @@ msgstr ""
|
|||||||
#: netbox/extras/tables/tables.py:361 netbox/extras/tables/tables.py:378
|
#: netbox/extras/tables/tables.py:361 netbox/extras/tables/tables.py:378
|
||||||
#: netbox/extras/tables/tables.py:401 netbox/extras/tables/tables.py:439
|
#: netbox/extras/tables/tables.py:401 netbox/extras/tables/tables.py:439
|
||||||
#: netbox/extras/tables/tables.py:491 netbox/extras/tables/tables.py:514
|
#: netbox/extras/tables/tables.py:491 netbox/extras/tables/tables.py:514
|
||||||
#: netbox/ipam/forms/bulk_edit.py:406 netbox/ipam/forms/filtersets.py:386
|
#: netbox/ipam/forms/bulk_edit.py:407 netbox/ipam/forms/filtersets.py:386
|
||||||
#: netbox/ipam/tables/asn.py:16 netbox/ipam/tables/ip.py:85
|
#: netbox/ipam/tables/asn.py:16 netbox/ipam/tables/ip.py:85
|
||||||
#: netbox/ipam/tables/ip.py:160 netbox/ipam/tables/services.py:15
|
#: netbox/ipam/tables/ip.py:160 netbox/ipam/tables/services.py:15
|
||||||
#: netbox/ipam/tables/services.py:40 netbox/ipam/tables/vlans.py:64
|
#: netbox/ipam/tables/services.py:40 netbox/ipam/tables/vlans.py:64
|
||||||
@ -1396,7 +1394,7 @@ msgstr ""
|
|||||||
#: netbox/templates/circuits/provideraccount.html:28
|
#: netbox/templates/circuits/provideraccount.html:28
|
||||||
#: netbox/templates/circuits/providernetwork.html:24
|
#: netbox/templates/circuits/providernetwork.html:24
|
||||||
#: netbox/templates/core/datasource.html:34 netbox/templates/core/job.html:44
|
#: netbox/templates/core/datasource.html:34 netbox/templates/core/job.html:44
|
||||||
#: netbox/templates/core/plugin.html:53 netbox/templates/core/rq_worker.html:43
|
#: netbox/templates/core/plugin.html:54 netbox/templates/core/rq_worker.html:43
|
||||||
#: netbox/templates/dcim/consoleport.html:28
|
#: netbox/templates/dcim/consoleport.html:28
|
||||||
#: netbox/templates/dcim/consoleserverport.html:28
|
#: netbox/templates/dcim/consoleserverport.html:28
|
||||||
#: netbox/templates/dcim/devicebay.html:24
|
#: netbox/templates/dcim/devicebay.html:24
|
||||||
@ -1654,7 +1652,7 @@ msgid "Cancelled"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/core/data_backends.py:32 netbox/core/tables/plugins.py:51
|
#: netbox/core/data_backends.py:32 netbox/core/tables/plugins.py:51
|
||||||
#: netbox/templates/core/plugin.html:87
|
#: netbox/templates/core/plugin.html:88
|
||||||
#: netbox/templates/dcim/interface.html:216
|
#: netbox/templates/dcim/interface.html:216
|
||||||
msgid "Local"
|
msgid "Local"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -2072,7 +2070,7 @@ msgstr ""
|
|||||||
#: netbox/core/models/data.py:49 netbox/extras/choices.py:37
|
#: netbox/core/models/data.py:49 netbox/extras/choices.py:37
|
||||||
#: netbox/extras/models/models.py:164 netbox/extras/tables/tables.py:656
|
#: netbox/extras/models/models.py:164 netbox/extras/tables/tables.py:656
|
||||||
#: netbox/templates/core/datasource.html:58
|
#: netbox/templates/core/datasource.html:58
|
||||||
#: netbox/templates/core/plugin.html:65
|
#: netbox/templates/core/plugin.html:66
|
||||||
msgid "URL"
|
msgid "URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -2320,7 +2318,7 @@ msgstr ""
|
|||||||
msgid "No plugin data found"
|
msgid "No plugin data found"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/core/tables/plugins.py:48 netbox/templates/core/plugin.html:61
|
#: netbox/core/tables/plugins.py:48 netbox/templates/core/plugin.html:62
|
||||||
msgid "Author"
|
msgid "Author"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -2328,7 +2326,7 @@ msgstr ""
|
|||||||
msgid "Installed"
|
msgid "Installed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/core/tables/plugins.py:57 netbox/templates/core/plugin.html:83
|
#: netbox/core/tables/plugins.py:57 netbox/templates/core/plugin.html:84
|
||||||
msgid "Certified"
|
msgid "Certified"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -3237,8 +3235,8 @@ msgstr ""
|
|||||||
#: netbox/dcim/tables/devices.py:626 netbox/ipam/filtersets.py:316
|
#: netbox/dcim/tables/devices.py:626 netbox/ipam/filtersets.py:316
|
||||||
#: netbox/ipam/filtersets.py:327 netbox/ipam/filtersets.py:483
|
#: netbox/ipam/filtersets.py:327 netbox/ipam/filtersets.py:483
|
||||||
#: netbox/ipam/filtersets.py:584 netbox/ipam/filtersets.py:595
|
#: netbox/ipam/filtersets.py:584 netbox/ipam/filtersets.py:595
|
||||||
#: netbox/ipam/forms/bulk_edit.py:241 netbox/ipam/forms/bulk_edit.py:297
|
#: netbox/ipam/forms/bulk_edit.py:242 netbox/ipam/forms/bulk_edit.py:298
|
||||||
#: netbox/ipam/forms/bulk_edit.py:339 netbox/ipam/forms/bulk_import.py:157
|
#: netbox/ipam/forms/bulk_edit.py:340 netbox/ipam/forms/bulk_import.py:157
|
||||||
#: netbox/ipam/forms/bulk_import.py:243 netbox/ipam/forms/bulk_import.py:279
|
#: netbox/ipam/forms/bulk_import.py:243 netbox/ipam/forms/bulk_import.py:279
|
||||||
#: netbox/ipam/forms/filtersets.py:67 netbox/ipam/forms/filtersets.py:172
|
#: netbox/ipam/forms/filtersets.py:67 netbox/ipam/forms/filtersets.py:172
|
||||||
#: netbox/ipam/forms/filtersets.py:309 netbox/ipam/forms/model_forms.py:62
|
#: netbox/ipam/forms/filtersets.py:309 netbox/ipam/forms/model_forms.py:62
|
||||||
@ -3501,7 +3499,7 @@ msgstr ""
|
|||||||
#: netbox/extras/forms/bulk_edit.py:53 netbox/extras/forms/bulk_edit.py:133
|
#: netbox/extras/forms/bulk_edit.py:53 netbox/extras/forms/bulk_edit.py:133
|
||||||
#: netbox/extras/forms/bulk_edit.py:183 netbox/extras/forms/bulk_edit.py:288
|
#: netbox/extras/forms/bulk_edit.py:183 netbox/extras/forms/bulk_edit.py:288
|
||||||
#: netbox/extras/forms/filtersets.py:64 netbox/extras/forms/filtersets.py:156
|
#: netbox/extras/forms/filtersets.py:64 netbox/extras/forms/filtersets.py:156
|
||||||
#: netbox/extras/forms/filtersets.py:243 netbox/ipam/forms/bulk_edit.py:189
|
#: netbox/extras/forms/filtersets.py:243 netbox/ipam/forms/bulk_edit.py:190
|
||||||
#: netbox/templates/dcim/device.html:324
|
#: netbox/templates/dcim/device.html:324
|
||||||
#: netbox/templates/dcim/devicetype.html:49
|
#: netbox/templates/dcim/devicetype.html:49
|
||||||
#: netbox/templates/dcim/moduletype.html:34 netbox/templates/dcim/rack.html:81
|
#: netbox/templates/dcim/moduletype.html:34 netbox/templates/dcim/rack.html:81
|
||||||
@ -3559,8 +3557,8 @@ msgstr ""
|
|||||||
#: netbox/dcim/tables/devices.py:169 netbox/dcim/tables/devices.py:809
|
#: netbox/dcim/tables/devices.py:169 netbox/dcim/tables/devices.py:809
|
||||||
#: netbox/dcim/tables/devices.py:937 netbox/dcim/tables/devicetypes.py:304
|
#: netbox/dcim/tables/devices.py:937 netbox/dcim/tables/devicetypes.py:304
|
||||||
#: netbox/dcim/tables/racks.py:129 netbox/extras/filtersets.py:552
|
#: netbox/dcim/tables/racks.py:129 netbox/extras/filtersets.py:552
|
||||||
#: netbox/ipam/forms/bulk_edit.py:260 netbox/ipam/forms/bulk_edit.py:310
|
#: netbox/ipam/forms/bulk_edit.py:261 netbox/ipam/forms/bulk_edit.py:311
|
||||||
#: netbox/ipam/forms/bulk_edit.py:358 netbox/ipam/forms/bulk_edit.py:556
|
#: netbox/ipam/forms/bulk_edit.py:359 netbox/ipam/forms/bulk_edit.py:511
|
||||||
#: netbox/ipam/forms/bulk_import.py:197 netbox/ipam/forms/bulk_import.py:262
|
#: netbox/ipam/forms/bulk_import.py:197 netbox/ipam/forms/bulk_import.py:262
|
||||||
#: netbox/ipam/forms/bulk_import.py:298 netbox/ipam/forms/bulk_import.py:455
|
#: netbox/ipam/forms/bulk_import.py:298 netbox/ipam/forms/bulk_import.py:455
|
||||||
#: netbox/ipam/forms/filtersets.py:237 netbox/ipam/forms/filtersets.py:289
|
#: netbox/ipam/forms/filtersets.py:237 netbox/ipam/forms/filtersets.py:289
|
||||||
@ -3630,8 +3628,8 @@ msgstr ""
|
|||||||
#: netbox/dcim/forms/model_forms.py:306 netbox/dcim/forms/model_forms.py:479
|
#: netbox/dcim/forms/model_forms.py:306 netbox/dcim/forms/model_forms.py:479
|
||||||
#: netbox/dcim/forms/model_forms.py:755 netbox/dcim/forms/object_create.py:400
|
#: netbox/dcim/forms/model_forms.py:755 netbox/dcim/forms/object_create.py:400
|
||||||
#: netbox/dcim/tables/devices.py:161 netbox/dcim/tables/power.py:70
|
#: netbox/dcim/tables/devices.py:161 netbox/dcim/tables/power.py:70
|
||||||
#: netbox/dcim/tables/racks.py:217 netbox/ipam/forms/bulk_edit.py:468
|
#: netbox/dcim/tables/racks.py:217 netbox/ipam/forms/filtersets.py:442
|
||||||
#: netbox/ipam/forms/filtersets.py:442 netbox/templates/dcim/device.html:30
|
#: netbox/templates/dcim/device.html:30
|
||||||
#: netbox/templates/dcim/inc/cable_termination.html:16
|
#: netbox/templates/dcim/inc/cable_termination.html:16
|
||||||
#: netbox/templates/dcim/powerfeed.html:28 netbox/templates/dcim/rack.html:13
|
#: netbox/templates/dcim/powerfeed.html:28 netbox/templates/dcim/rack.html:13
|
||||||
#: netbox/templates/dcim/rack/base.html:4
|
#: netbox/templates/dcim/rack/base.html:4
|
||||||
@ -4012,8 +4010,8 @@ msgid "Wireless LANs"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/dcim/forms/bulk_edit.py:1508 netbox/dcim/forms/filtersets.py:1328
|
#: netbox/dcim/forms/bulk_edit.py:1508 netbox/dcim/forms/filtersets.py:1328
|
||||||
#: netbox/dcim/forms/model_forms.py:1390 netbox/ipam/forms/bulk_edit.py:285
|
#: netbox/dcim/forms/model_forms.py:1390 netbox/ipam/forms/bulk_edit.py:286
|
||||||
#: netbox/ipam/forms/bulk_edit.py:377 netbox/ipam/forms/filtersets.py:169
|
#: netbox/ipam/forms/bulk_edit.py:378 netbox/ipam/forms/filtersets.py:169
|
||||||
#: netbox/templates/dcim/interface.html:122
|
#: netbox/templates/dcim/interface.html:122
|
||||||
#: netbox/templates/ipam/prefix.html:95
|
#: netbox/templates/ipam/prefix.html:95
|
||||||
#: netbox/virtualization/forms/model_forms.py:349
|
#: netbox/virtualization/forms/model_forms.py:349
|
||||||
@ -4196,9 +4194,8 @@ msgstr ""
|
|||||||
#: netbox/dcim/forms/bulk_import.py:517 netbox/dcim/forms/filtersets.py:728
|
#: netbox/dcim/forms/bulk_import.py:517 netbox/dcim/forms/filtersets.py:728
|
||||||
#: netbox/dcim/forms/filtersets.py:898 netbox/dcim/forms/model_forms.py:522
|
#: netbox/dcim/forms/filtersets.py:898 netbox/dcim/forms/model_forms.py:522
|
||||||
#: netbox/dcim/tables/devices.py:202 netbox/extras/filtersets.py:596
|
#: netbox/dcim/tables/devices.py:202 netbox/extras/filtersets.py:596
|
||||||
#: netbox/extras/forms/filtersets.py:322 netbox/ipam/forms/bulk_edit.py:482
|
#: netbox/extras/forms/filtersets.py:322 netbox/ipam/forms/filtersets.py:415
|
||||||
#: netbox/ipam/forms/filtersets.py:415 netbox/ipam/forms/filtersets.py:447
|
#: netbox/ipam/forms/filtersets.py:447 netbox/templates/dcim/device.html:239
|
||||||
#: netbox/templates/dcim/device.html:239
|
|
||||||
#: netbox/templates/virtualization/cluster.html:10
|
#: netbox/templates/virtualization/cluster.html:10
|
||||||
#: netbox/templates/virtualization/virtualmachine.html:92
|
#: netbox/templates/virtualization/virtualmachine.html:92
|
||||||
#: netbox/templates/virtualization/virtualmachine.html:101
|
#: netbox/templates/virtualization/virtualmachine.html:101
|
||||||
@ -4644,7 +4641,7 @@ msgid "Has virtual device contexts"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/dcim/forms/filtersets.py:903 netbox/extras/filtersets.py:585
|
#: netbox/dcim/forms/filtersets.py:903 netbox/extras/filtersets.py:585
|
||||||
#: netbox/ipam/forms/bulk_edit.py:479 netbox/ipam/forms/filtersets.py:452
|
#: netbox/ipam/forms/filtersets.py:452
|
||||||
#: netbox/virtualization/forms/filtersets.py:112
|
#: netbox/virtualization/forms/filtersets.py:112
|
||||||
msgid "Cluster group"
|
msgid "Cluster group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -6847,7 +6844,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: netbox/dcim/tables/sites.py:30 netbox/dcim/tables/sites.py:57
|
#: netbox/dcim/tables/sites.py:30 netbox/dcim/tables/sites.py:57
|
||||||
#: netbox/extras/forms/filtersets.py:351 netbox/extras/forms/model_forms.py:517
|
#: netbox/extras/forms/filtersets.py:351 netbox/extras/forms/model_forms.py:517
|
||||||
#: netbox/ipam/forms/bulk_edit.py:130 netbox/ipam/forms/model_forms.py:153
|
#: netbox/ipam/forms/bulk_edit.py:131 netbox/ipam/forms/model_forms.py:153
|
||||||
#: netbox/ipam/tables/asn.py:66 netbox/netbox/navigation/menu.py:15
|
#: netbox/ipam/tables/asn.py:66 netbox/netbox/navigation/menu.py:15
|
||||||
#: netbox/netbox/navigation/menu.py:17
|
#: netbox/netbox/navigation/menu.py:17
|
||||||
msgid "Sites"
|
msgid "Sites"
|
||||||
@ -9009,7 +9006,7 @@ msgid "Prefixes which contain this prefix or IP"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/filtersets.py:304 netbox/ipam/filtersets.py:572
|
#: netbox/ipam/filtersets.py:304 netbox/ipam/filtersets.py:572
|
||||||
#: netbox/ipam/forms/bulk_edit.py:342 netbox/ipam/forms/filtersets.py:196
|
#: netbox/ipam/forms/bulk_edit.py:343 netbox/ipam/forms/filtersets.py:196
|
||||||
#: netbox/ipam/forms/filtersets.py:331
|
#: netbox/ipam/forms/filtersets.py:331
|
||||||
msgid "Mask length"
|
msgid "Mask length"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -9135,16 +9132,16 @@ msgstr ""
|
|||||||
msgid "Address pattern"
|
msgid "Address pattern"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:49
|
#: netbox/ipam/forms/bulk_edit.py:50
|
||||||
msgid "Enforce unique space"
|
msgid "Enforce unique space"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:87
|
#: netbox/ipam/forms/bulk_edit.py:88
|
||||||
msgid "Is private"
|
msgid "Is private"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:108 netbox/ipam/forms/bulk_edit.py:137
|
#: netbox/ipam/forms/bulk_edit.py:109 netbox/ipam/forms/bulk_edit.py:138
|
||||||
#: netbox/ipam/forms/bulk_edit.py:162 netbox/ipam/forms/bulk_import.py:89
|
#: netbox/ipam/forms/bulk_edit.py:163 netbox/ipam/forms/bulk_import.py:89
|
||||||
#: netbox/ipam/forms/bulk_import.py:109 netbox/ipam/forms/bulk_import.py:129
|
#: netbox/ipam/forms/bulk_import.py:109 netbox/ipam/forms/bulk_import.py:129
|
||||||
#: netbox/ipam/forms/filtersets.py:110 netbox/ipam/forms/filtersets.py:125
|
#: netbox/ipam/forms/filtersets.py:110 netbox/ipam/forms/filtersets.py:125
|
||||||
#: netbox/ipam/forms/filtersets.py:148 netbox/ipam/forms/model_forms.py:96
|
#: netbox/ipam/forms/filtersets.py:148 netbox/ipam/forms/model_forms.py:96
|
||||||
@ -9158,18 +9155,18 @@ msgstr ""
|
|||||||
msgid "RIR"
|
msgid "RIR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:170
|
#: netbox/ipam/forms/bulk_edit.py:171
|
||||||
msgid "Date added"
|
msgid "Date added"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:228 netbox/ipam/forms/model_forms.py:586
|
#: netbox/ipam/forms/bulk_edit.py:229 netbox/ipam/forms/model_forms.py:586
|
||||||
#: netbox/ipam/forms/model_forms.py:633 netbox/ipam/tables/ip.py:251
|
#: netbox/ipam/forms/model_forms.py:633 netbox/ipam/tables/ip.py:251
|
||||||
#: netbox/templates/ipam/vlan_edit.html:37
|
#: netbox/templates/ipam/vlan_edit.html:37
|
||||||
#: netbox/templates/ipam/vlangroup.html:27
|
#: netbox/templates/ipam/vlangroup.html:27
|
||||||
msgid "VLAN Group"
|
msgid "VLAN Group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:233 netbox/ipam/forms/bulk_import.py:185
|
#: netbox/ipam/forms/bulk_edit.py:234 netbox/ipam/forms/bulk_import.py:185
|
||||||
#: netbox/ipam/forms/filtersets.py:256 netbox/ipam/forms/model_forms.py:218
|
#: netbox/ipam/forms/filtersets.py:256 netbox/ipam/forms/model_forms.py:218
|
||||||
#: netbox/ipam/models/vlans.py:234 netbox/ipam/tables/ip.py:255
|
#: netbox/ipam/models/vlans.py:234 netbox/ipam/tables/ip.py:255
|
||||||
#: netbox/templates/ipam/prefix.html:60 netbox/templates/ipam/vlan.html:12
|
#: netbox/templates/ipam/prefix.html:60 netbox/templates/ipam/vlan.html:12
|
||||||
@ -9184,30 +9181,30 @@ msgstr ""
|
|||||||
msgid "VLAN"
|
msgid "VLAN"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:244
|
#: netbox/ipam/forms/bulk_edit.py:245
|
||||||
msgid "Prefix length"
|
msgid "Prefix length"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:267 netbox/ipam/forms/filtersets.py:241
|
#: netbox/ipam/forms/bulk_edit.py:268 netbox/ipam/forms/filtersets.py:241
|
||||||
#: netbox/templates/ipam/prefix.html:85
|
#: netbox/templates/ipam/prefix.html:85
|
||||||
msgid "Is a pool"
|
msgid "Is a pool"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:272 netbox/ipam/forms/bulk_edit.py:317
|
#: netbox/ipam/forms/bulk_edit.py:273 netbox/ipam/forms/bulk_edit.py:318
|
||||||
#: netbox/ipam/forms/filtersets.py:248 netbox/ipam/forms/filtersets.py:293
|
#: netbox/ipam/forms/filtersets.py:248 netbox/ipam/forms/filtersets.py:293
|
||||||
#: netbox/ipam/models/ip.py:272 netbox/ipam/models/ip.py:539
|
#: netbox/ipam/models/ip.py:272 netbox/ipam/models/ip.py:539
|
||||||
msgid "Treat as fully utilized"
|
msgid "Treat as fully utilized"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:286 netbox/ipam/forms/filtersets.py:171
|
#: netbox/ipam/forms/bulk_edit.py:287 netbox/ipam/forms/filtersets.py:171
|
||||||
msgid "VLAN Assignment"
|
msgid "VLAN Assignment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:365 netbox/ipam/models/ip.py:772
|
#: netbox/ipam/forms/bulk_edit.py:366 netbox/ipam/models/ip.py:772
|
||||||
msgid "DNS name"
|
msgid "DNS name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:386 netbox/ipam/forms/bulk_edit.py:579
|
#: netbox/ipam/forms/bulk_edit.py:387 netbox/ipam/forms/bulk_edit.py:534
|
||||||
#: netbox/ipam/forms/bulk_import.py:394 netbox/ipam/forms/bulk_import.py:469
|
#: netbox/ipam/forms/bulk_import.py:394 netbox/ipam/forms/bulk_import.py:469
|
||||||
#: netbox/ipam/forms/bulk_import.py:495 netbox/ipam/forms/filtersets.py:390
|
#: netbox/ipam/forms/bulk_import.py:495 netbox/ipam/forms/filtersets.py:390
|
||||||
#: netbox/ipam/forms/filtersets.py:530 netbox/templates/ipam/fhrpgroup.html:22
|
#: netbox/ipam/forms/filtersets.py:530 netbox/templates/ipam/fhrpgroup.html:22
|
||||||
@ -9217,12 +9214,12 @@ msgstr ""
|
|||||||
msgid "Protocol"
|
msgid "Protocol"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:393 netbox/ipam/forms/filtersets.py:397
|
#: netbox/ipam/forms/bulk_edit.py:394 netbox/ipam/forms/filtersets.py:397
|
||||||
#: netbox/ipam/tables/fhrp.py:22 netbox/templates/ipam/fhrpgroup.html:26
|
#: netbox/ipam/tables/fhrp.py:22 netbox/templates/ipam/fhrpgroup.html:26
|
||||||
msgid "Group ID"
|
msgid "Group ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:398 netbox/ipam/forms/filtersets.py:402
|
#: netbox/ipam/forms/bulk_edit.py:399 netbox/ipam/forms/filtersets.py:402
|
||||||
#: netbox/wireless/forms/bulk_edit.py:68 netbox/wireless/forms/bulk_edit.py:115
|
#: netbox/wireless/forms/bulk_edit.py:68 netbox/wireless/forms/bulk_edit.py:115
|
||||||
#: netbox/wireless/forms/bulk_import.py:62
|
#: netbox/wireless/forms/bulk_import.py:62
|
||||||
#: netbox/wireless/forms/bulk_import.py:65
|
#: netbox/wireless/forms/bulk_import.py:65
|
||||||
@ -9233,11 +9230,11 @@ msgstr ""
|
|||||||
msgid "Authentication type"
|
msgid "Authentication type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:403 netbox/ipam/forms/filtersets.py:406
|
#: netbox/ipam/forms/bulk_edit.py:404 netbox/ipam/forms/filtersets.py:406
|
||||||
msgid "Authentication key"
|
msgid "Authentication key"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:420 netbox/ipam/forms/filtersets.py:383
|
#: netbox/ipam/forms/bulk_edit.py:421 netbox/ipam/forms/filtersets.py:383
|
||||||
#: netbox/ipam/forms/model_forms.py:474 netbox/netbox/navigation/menu.py:386
|
#: netbox/ipam/forms/model_forms.py:474 netbox/netbox/navigation/menu.py:386
|
||||||
#: netbox/templates/ipam/fhrpgroup.html:49
|
#: netbox/templates/ipam/fhrpgroup.html:49
|
||||||
#: netbox/templates/wireless/inc/authentication_attrs.html:5
|
#: netbox/templates/wireless/inc/authentication_attrs.html:5
|
||||||
@ -9249,25 +9246,25 @@ msgstr ""
|
|||||||
msgid "Authentication"
|
msgid "Authentication"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:432 netbox/ipam/forms/model_forms.py:575
|
#: netbox/ipam/forms/bulk_edit.py:436 netbox/ipam/forms/model_forms.py:575
|
||||||
msgid "Scope type"
|
msgid "Scope type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:490 netbox/ipam/models/vlans.py:60
|
#: netbox/ipam/forms/bulk_edit.py:439 netbox/ipam/forms/bulk_edit.py:453
|
||||||
msgid "VLAN ID ranges"
|
#: netbox/ipam/forms/model_forms.py:578 netbox/ipam/forms/model_forms.py:588
|
||||||
msgstr ""
|
#: netbox/ipam/tables/vlans.py:71 netbox/templates/ipam/vlangroup.html:38
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:498 netbox/ipam/forms/model_forms.py:578
|
|
||||||
#: netbox/ipam/forms/model_forms.py:588 netbox/ipam/tables/vlans.py:71
|
|
||||||
#: netbox/templates/ipam/vlangroup.html:38
|
|
||||||
msgid "Scope"
|
msgid "Scope"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:570
|
#: netbox/ipam/forms/bulk_edit.py:446 netbox/ipam/models/vlans.py:60
|
||||||
|
msgid "VLAN ID ranges"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: netbox/ipam/forms/bulk_edit.py:525
|
||||||
msgid "Site & Group"
|
msgid "Site & Group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/ipam/forms/bulk_edit.py:584 netbox/ipam/forms/model_forms.py:659
|
#: netbox/ipam/forms/bulk_edit.py:539 netbox/ipam/forms/model_forms.py:659
|
||||||
#: netbox/ipam/forms/model_forms.py:691 netbox/ipam/tables/services.py:19
|
#: netbox/ipam/forms/model_forms.py:691 netbox/ipam/tables/services.py:19
|
||||||
#: netbox/ipam/tables/services.py:49 netbox/templates/ipam/service.html:36
|
#: netbox/ipam/tables/services.py:49 netbox/templates/ipam/service.html:36
|
||||||
#: netbox/templates/ipam/servicetemplate.html:23
|
#: netbox/templates/ipam/servicetemplate.html:23
|
||||||
@ -10849,7 +10846,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: netbox/netbox/navigation/menu.py:454 netbox/netbox/navigation/menu.py:502
|
#: netbox/netbox/navigation/menu.py:454 netbox/netbox/navigation/menu.py:502
|
||||||
#: netbox/templates/500.html:35 netbox/templates/account/preferences.html:22
|
#: netbox/templates/500.html:35 netbox/templates/account/preferences.html:22
|
||||||
#: netbox/templates/core/plugin.html:12
|
#: netbox/templates/core/plugin.html:13
|
||||||
#: netbox/templates/core/plugin_list.html:7
|
#: netbox/templates/core/plugin_list.html:7
|
||||||
#: netbox/templates/core/plugin_list.html:12
|
#: netbox/templates/core/plugin_list.html:12
|
||||||
msgid "Plugins"
|
msgid "Plugins"
|
||||||
@ -11088,19 +11085,19 @@ msgstr ""
|
|||||||
msgid "Row {i}: Object with ID {id} does not exist"
|
msgid "Row {i}: Object with ID {id} does not exist"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/netbox/views/generic/bulk_views.py:699
|
#: netbox/netbox/views/generic/bulk_views.py:702
|
||||||
#: netbox/netbox/views/generic/bulk_views.py:897
|
#: netbox/netbox/views/generic/bulk_views.py:900
|
||||||
#: netbox/netbox/views/generic/bulk_views.py:945
|
#: netbox/netbox/views/generic/bulk_views.py:948
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "No {object_type} were selected."
|
msgid "No {object_type} were selected."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/netbox/views/generic/bulk_views.py:779
|
#: netbox/netbox/views/generic/bulk_views.py:782
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Renamed {count} {object_type}"
|
msgid "Renamed {count} {object_type}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/netbox/views/generic/bulk_views.py:875
|
#: netbox/netbox/views/generic/bulk_views.py:878
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Deleted {count} {object_type}"
|
msgid "Deleted {count} {object_type}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -11769,35 +11766,35 @@ msgstr ""
|
|||||||
msgid "Indefinite"
|
msgid "Indefinite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:21
|
#: netbox/templates/core/plugin.html:22
|
||||||
msgid "Not installed"
|
msgid "Not installed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:32
|
#: netbox/templates/core/plugin.html:33
|
||||||
msgid "Overview"
|
msgid "Overview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:38
|
#: netbox/templates/core/plugin.html:39
|
||||||
msgid "Install"
|
msgid "Install"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:50
|
#: netbox/templates/core/plugin.html:51
|
||||||
msgid "Plugin Details"
|
msgid "Plugin Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:57
|
#: netbox/templates/core/plugin.html:58
|
||||||
msgid "Summary"
|
msgid "Summary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:75
|
#: netbox/templates/core/plugin.html:76
|
||||||
msgid "License"
|
msgid "License"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:95
|
#: netbox/templates/core/plugin.html:96
|
||||||
msgid "Version History"
|
msgid "Version History"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: netbox/templates/core/plugin.html:106
|
#: netbox/templates/core/plugin.html:107
|
||||||
msgid "Local Installation Instructions"
|
msgid "Local Installation Instructions"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -43,9 +43,12 @@ class HTMXSelect(forms.Select):
|
|||||||
"""
|
"""
|
||||||
Selection widget that will re-generate the HTML form upon the selection of a new option.
|
Selection widget that will re-generate the HTML form upon the selection of a new option.
|
||||||
"""
|
"""
|
||||||
def __init__(self, hx_url='.', hx_target_id='form_fields', attrs=None, **kwargs):
|
def __init__(self, method='get', hx_url='.', hx_target_id='form_fields', attrs=None, **kwargs):
|
||||||
|
method = method.lower()
|
||||||
|
if method not in ('delete', 'get', 'patch', 'post', 'put'):
|
||||||
|
raise ValueError(f"Unsupported HTTP method: {method}")
|
||||||
_attrs = {
|
_attrs = {
|
||||||
'hx-get': hx_url,
|
f'hx-{method}': hx_url,
|
||||||
'hx-include': f'#{hx_target_id}',
|
'hx-include': f'#{hx_target_id}',
|
||||||
'hx-target': f'#{hx_target_id}',
|
'hx-target': f'#{hx_target_id}',
|
||||||
}
|
}
|
||||||
|
@ -23,6 +23,7 @@ class WirelessLANGroupType(OrganizationalObjectType):
|
|||||||
parent: Annotated["WirelessLANGroupType", strawberry.lazy('wireless.graphql.types')] | None
|
parent: Annotated["WirelessLANGroupType", strawberry.lazy('wireless.graphql.types')] | None
|
||||||
|
|
||||||
wireless_lans: List[Annotated["WirelessLANType", strawberry.lazy('wireless.graphql.types')]]
|
wireless_lans: List[Annotated["WirelessLANType", strawberry.lazy('wireless.graphql.types')]]
|
||||||
|
children: List[Annotated["WirelessLANGroupType", strawberry.lazy('wireless.graphql.types')]]
|
||||||
|
|
||||||
|
|
||||||
@strawberry_django.type(
|
@strawberry_django.type(
|
||||||
|
Loading…
Reference in New Issue
Block a user