nautobot 2.4.9__py3-none-any.whl → 2.4.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/cloud/tests/test_views.py +13 -1
- nautobot/cloud/views.py +39 -9
- nautobot/core/api/parsers.py +56 -2
- nautobot/core/celery/__init__.py +21 -0
- nautobot/core/celery/encoders.py +3 -0
- nautobot/core/forms/forms.py +4 -1
- nautobot/core/jobs/bulk_actions.py +8 -8
- nautobot/core/jobs/cleanup.py +11 -0
- nautobot/core/management/commands/generate_test_data.py +2 -1
- nautobot/core/models/__init__.py +2 -0
- nautobot/core/templates/generic/object_retrieve.html +1 -1
- nautobot/core/testing/mixins.py +19 -1
- nautobot/core/testing/views.py +104 -8
- nautobot/core/tests/test_csv.py +92 -1
- nautobot/core/tests/test_jinja_filters.py +59 -0
- nautobot/core/tests/test_jobs.py +20 -4
- nautobot/core/tests/test_utils.py +193 -0
- nautobot/core/tests/test_views.py +73 -0
- nautobot/core/tests/test_views_utils.py +53 -2
- nautobot/core/ui/object_detail.py +4 -0
- nautobot/core/urls.py +2 -2
- nautobot/core/utils/lookup.py +4 -2
- nautobot/core/utils/module_loading.py +86 -58
- nautobot/core/views/__init__.py +21 -0
- nautobot/core/views/generic.py +2 -12
- nautobot/core/views/mixins.py +19 -1
- nautobot/core/views/renderers.py +4 -13
- nautobot/core/views/utils.py +16 -0
- nautobot/dcim/api/serializers.py +13 -0
- nautobot/dcim/api/urls.py +1 -0
- nautobot/dcim/api/views.py +20 -0
- nautobot/dcim/apps.py +1 -0
- nautobot/dcim/factory.py +11 -0
- nautobot/dcim/filters/__init__.py +110 -0
- nautobot/dcim/forms.py +205 -19
- nautobot/dcim/migrations/0070_modulefamily_models.py +92 -0
- nautobot/dcim/models/__init__.py +2 -0
- nautobot/dcim/models/device_component_templates.py +18 -0
- nautobot/dcim/models/device_components.py +25 -1
- nautobot/dcim/models/devices.py +68 -0
- nautobot/dcim/navigation.py +16 -0
- nautobot/dcim/tables/__init__.py +2 -0
- nautobot/dcim/tables/devices.py +48 -0
- nautobot/dcim/tables/devicetypes.py +35 -1
- nautobot/dcim/tables/template_code.py +2 -0
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_retrieve.html +1 -90
- nautobot/dcim/templates/dcim/inc/cable_toggle_buttons.html +1 -1
- nautobot/dcim/templates/dcim/interfaceredundancygroup_retrieve.html +1 -63
- nautobot/dcim/templates/dcim/location.html +2 -249
- nautobot/dcim/templates/dcim/location_edit.html +2 -38
- nautobot/dcim/templates/dcim/location_retrieve.html +249 -0
- nautobot/dcim/templates/dcim/location_update.html +38 -0
- nautobot/dcim/templates/dcim/module_update.html +1 -0
- nautobot/dcim/templates/dcim/modulebay_retrieve.html +93 -1
- nautobot/dcim/templates/dcim/modulefamily_retrieve.html +31 -0
- nautobot/dcim/templates/dcim/moduletype_retrieve.html +6 -0
- nautobot/dcim/templates/dcim/powerfeed_retrieve.html +1 -160
- nautobot/dcim/tests/test_api.py +35 -0
- nautobot/dcim/tests/test_filters.py +102 -3
- nautobot/dcim/tests/test_models.py +146 -0
- nautobot/dcim/tests/test_views.py +70 -97
- nautobot/dcim/urls.py +4 -22
- nautobot/dcim/views.py +439 -153
- nautobot/extras/api/views.py +9 -2
- nautobot/extras/context_managers.py +2 -2
- nautobot/extras/datasources/git.py +11 -3
- nautobot/extras/forms/forms.py +9 -5
- nautobot/extras/jobs.py +4 -2
- nautobot/extras/models/customfields.py +2 -0
- nautobot/extras/models/datasources.py +13 -8
- nautobot/extras/models/groups.py +18 -0
- nautobot/extras/models/jobs.py +19 -0
- nautobot/extras/models/metadata.py +2 -0
- nautobot/extras/models/models.py +4 -0
- nautobot/extras/models/secrets.py +7 -0
- nautobot/extras/plugins/__init__.py +3 -0
- nautobot/extras/secrets/__init__.py +14 -0
- nautobot/extras/tables.py +40 -3
- nautobot/extras/templates/extras/configcontext.html +2 -220
- nautobot/extras/templates/extras/configcontext_edit.html +2 -50
- nautobot/extras/templates/extras/configcontext_retrieve.html +2 -0
- nautobot/extras/templates/extras/configcontext_update.html +50 -0
- nautobot/extras/templates/extras/configcontextschema.html +2 -48
- nautobot/extras/templates/extras/configcontextschema_edit.html +2 -19
- nautobot/extras/templates/extras/configcontextschema_retrieve.html +48 -0
- nautobot/extras/templates/extras/configcontextschema_update.html +19 -0
- nautobot/extras/templates/extras/inc/configcontext_data.html +1 -0
- nautobot/extras/templates/extras/inc/json_data.html +1 -1
- nautobot/extras/templates/extras/inc/json_format.html +2 -2
- nautobot/extras/templates/extras/job_edit.html +12 -6
- nautobot/extras/templates/extras/tag.html +2 -52
- nautobot/extras/templates/extras/tag_edit.html +2 -15
- nautobot/extras/templates/extras/tag_retrieve.html +52 -0
- nautobot/extras/templates/extras/tag_update.html +15 -0
- nautobot/extras/templates/extras/team_retrieve.html +2 -2
- nautobot/extras/tests/test_api.py +15 -15
- nautobot/extras/tests/test_context_managers.py +20 -0
- nautobot/extras/tests/test_filters.py +4 -4
- nautobot/extras/tests/test_jobs.py +23 -10
- nautobot/extras/tests/test_models.py +45 -8
- nautobot/extras/tests/test_plugins.py +6 -3
- nautobot/extras/tests/test_views.py +66 -11
- nautobot/extras/urls.py +4 -134
- nautobot/extras/views.py +113 -158
- nautobot/ipam/models.py +51 -4
- nautobot/ipam/tables.py +19 -0
- nautobot/ipam/templates/ipam/vlan.html +2 -84
- nautobot/ipam/templates/ipam/vlan_edit.html +2 -24
- nautobot/ipam/templates/ipam/vlan_retrieve.html +84 -0
- nautobot/ipam/templates/ipam/vlan_update.html +24 -0
- nautobot/ipam/tests/test_views.py +5 -0
- nautobot/ipam/urls.py +1 -21
- nautobot/ipam/views.py +45 -70
- nautobot/project-static/docs/404.html +31 -8
- nautobot/project-static/docs/apps/index.html +31 -8
- nautobot/project-static/docs/apps/nautobot-apps.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +120 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +31 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +31 -8
- nautobot/project-static/docs/development/apps/api/configuration-view.html +31 -8
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +31 -8
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +31 -8
- nautobot/project-static/docs/development/apps/api/models/global-search.html +31 -8
- nautobot/project-static/docs/development/apps/api/models/graphql.html +31 -8
- nautobot/project-static/docs/development/apps/api/models/index.html +31 -8
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +40 -8
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +70 -46
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +31 -8
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +31 -8
- nautobot/project-static/docs/development/apps/api/prometheus.html +31 -8
- nautobot/project-static/docs/development/apps/api/setup.html +31 -8
- nautobot/project-static/docs/development/apps/api/testing.html +31 -8
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +31 -8
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +31 -8
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +31 -8
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +31 -8
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/base-template.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/index.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/notes.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +31 -8
- nautobot/project-static/docs/development/apps/api/views/urls.html +31 -8
- nautobot/project-static/docs/development/apps/index.html +31 -8
- nautobot/project-static/docs/development/apps/migration/code-updates.html +31 -8
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +31 -8
- nautobot/project-static/docs/development/apps/migration/from-v1.html +31 -8
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +31 -8
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +31 -8
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +31 -8
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +31 -8
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +31 -8
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +31 -8
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +31 -8
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +31 -8
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +31 -8
- nautobot/project-static/docs/development/core/application-registry.html +31 -8
- nautobot/project-static/docs/development/core/best-practices.html +31 -8
- nautobot/project-static/docs/development/core/bootstrap-ui.html +31 -8
- nautobot/project-static/docs/development/core/caching.html +31 -8
- nautobot/project-static/docs/development/core/controllers.html +31 -8
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +31 -8
- nautobot/project-static/docs/development/core/generic-views.html +31 -8
- nautobot/project-static/docs/development/core/getting-started.html +31 -8
- nautobot/project-static/docs/development/core/homepage.html +31 -8
- nautobot/project-static/docs/development/core/index.html +31 -8
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +31 -8
- nautobot/project-static/docs/development/core/model-checklist.html +31 -8
- nautobot/project-static/docs/development/core/model-features.html +31 -8
- nautobot/project-static/docs/development/core/natural-keys.html +31 -8
- nautobot/project-static/docs/development/core/navigation-menu.html +31 -8
- nautobot/project-static/docs/development/core/release-checklist.html +31 -8
- nautobot/project-static/docs/development/core/role-internals.html +31 -8
- nautobot/project-static/docs/development/core/settings.html +31 -8
- nautobot/project-static/docs/development/core/style-guide.html +31 -8
- nautobot/project-static/docs/development/core/templates.html +31 -8
- nautobot/project-static/docs/development/core/testing.html +31 -8
- nautobot/project-static/docs/development/core/ui-component-framework.html +31 -8
- nautobot/project-static/docs/development/core/user-preferences.html +31 -8
- nautobot/project-static/docs/development/index.html +31 -8
- nautobot/project-static/docs/development/jobs/getting-started.html +35 -8
- nautobot/project-static/docs/development/jobs/index.html +31 -8
- nautobot/project-static/docs/development/jobs/installation.html +31 -8
- nautobot/project-static/docs/development/jobs/job-extensions.html +31 -8
- nautobot/project-static/docs/development/jobs/job-logging.html +31 -8
- nautobot/project-static/docs/development/jobs/job-patterns.html +31 -8
- nautobot/project-static/docs/development/jobs/job-structure.html +31 -8
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +31 -8
- nautobot/project-static/docs/development/jobs/testing.html +31 -8
- nautobot/project-static/docs/index.html +31 -8
- nautobot/project-static/docs/insert-analytics.sh +36 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +31 -8
- nautobot/project-static/docs/overview/design_philosophy.html +31 -8
- nautobot/project-static/docs/release-notes/index.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.0.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.1.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.2.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.3.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.4.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.5.html +31 -8
- nautobot/project-static/docs/release-notes/version-1.6.html +328 -8
- nautobot/project-static/docs/release-notes/version-2.0.html +31 -8
- nautobot/project-static/docs/release-notes/version-2.1.html +31 -8
- nautobot/project-static/docs/release-notes/version-2.2.html +31 -8
- nautobot/project-static/docs/release-notes/version-2.3.html +31 -8
- nautobot/project-static/docs/release-notes/version-2.4.html +353 -8
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +302 -298
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +31 -8
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +31 -8
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/index.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +31 -8
- nautobot/project-static/docs/user-guide/administration/installation/services.html +31 -8
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +31 -8
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +31 -8
- nautobot/project-static/docs/user-guide/administration/security/index.html +31 -9
- nautobot/project-static/docs/user-guide/administration/security/notices.html +144 -9
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +31 -8
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +31 -8
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +43 -20
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +35 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +35 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +35 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +10261 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +34 -11
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +31 -8
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +41 -15
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +31 -8
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +31 -8
- nautobot/project-static/docs/user-guide/index.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +37 -9
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +31 -8
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +31 -8
- nautobot/tenancy/tables.py +2 -0
- nautobot/users/models.py +4 -0
- nautobot/virtualization/models.py +4 -0
- nautobot/virtualization/tests/test_views.py +1 -1
- nautobot/wireless/forms.py +0 -1
- nautobot/wireless/models.py +1 -1
- nautobot/wireless/tables.py +7 -0
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/METADATA +4 -4
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/RECORD +433 -418
- /nautobot/dcim/templates/dcim/{platform_edit.html → platform_create.html} +0 -0
- /nautobot/extras/test_jobs/{pass.py → pass_job.py} +0 -0
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/NOTICE +0 -0
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/WHEEL +0 -0
- {nautobot-2.4.9.dist-info → nautobot-2.4.11.dist-info}/entry_points.txt +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{% endif %}
|
|
11
11
|
{% endif %}
|
|
12
12
|
{% if perms.dcim.delete_cable %}
|
|
13
|
-
<a href="{% url 'dcim:cable_delete' pk=cable.pk %}?return_url={{
|
|
13
|
+
<a href="{% url 'dcim:cable_delete' pk=cable.pk %}?return_url={{ request.path }}" title="Remove cable" class="btn btn-danger btn-xs">
|
|
14
14
|
<i class="mdi mdi-ethernet-cable-off" aria-hidden="true"></i>
|
|
15
15
|
</a>
|
|
16
16
|
{% endif %}
|
|
@@ -1,64 +1,2 @@
|
|
|
1
1
|
{% extends 'generic/object_retrieve.html' %}
|
|
2
|
-
{%
|
|
3
|
-
|
|
4
|
-
{% block extra_buttons %}
|
|
5
|
-
{% if perms.dcim.change_interfaceredundancygroup %}
|
|
6
|
-
|
|
7
|
-
<div class="btn-group">
|
|
8
|
-
<a href="{% url 'dcim:interfaceredundancygroupassociation_add' %}?interface_redundancy_group={{ object.pk }}&return_url={% url 'dcim:interfaceredundancygroup' pk=object.pk %}"
|
|
9
|
-
class="btn btn-primary">
|
|
10
|
-
<span class="mdi mdi-plus-thick" aria-hidden="true"></span>
|
|
11
|
-
Add Interface
|
|
12
|
-
</a>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
{% endif %}
|
|
16
|
-
{% endblock extra_buttons %}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{% block content_left_page %}
|
|
20
|
-
<div class="panel panel-default">
|
|
21
|
-
<div class="panel-heading">
|
|
22
|
-
<strong>Interface Redundancy Group</strong>
|
|
23
|
-
</div>
|
|
24
|
-
<table class="table table-hover panel-body attr-table">
|
|
25
|
-
<tr>
|
|
26
|
-
<td>Status</td>
|
|
27
|
-
<td>
|
|
28
|
-
<span class="label" style="color: {{ object.status.color|fgcolor }};
|
|
29
|
-
background-color: #{{ object.status.color }}">{{ object.get_status_display }}
|
|
30
|
-
</span>
|
|
31
|
-
</td>
|
|
32
|
-
</tr>
|
|
33
|
-
<tr>
|
|
34
|
-
<td>Description</td>
|
|
35
|
-
<td>{{ object.description | placeholder }}</td>
|
|
36
|
-
</tr>
|
|
37
|
-
<tr>
|
|
38
|
-
<td>Virtual IP</td>
|
|
39
|
-
<td>{{ object.virtual_ip | hyperlinked_object }}</td>
|
|
40
|
-
</tr>
|
|
41
|
-
<tr>
|
|
42
|
-
<td>Redundancy Protocol</td>
|
|
43
|
-
<td>{{ object.protocol | upper | placeholder }}</td>
|
|
44
|
-
</tr>
|
|
45
|
-
<tr>
|
|
46
|
-
<td>Protocol Group ID</td>
|
|
47
|
-
<td>{{ object.protocol_group_id | placeholder }}</td>
|
|
48
|
-
</tr>
|
|
49
|
-
<tr>
|
|
50
|
-
<td>Secrets Group</td>
|
|
51
|
-
<td>{{ object.secrets_group|hyperlinked_object }}</td>
|
|
52
|
-
</tr>
|
|
53
|
-
</table>
|
|
54
|
-
</div>
|
|
55
|
-
{% endblock content_left_page %}
|
|
56
|
-
|
|
57
|
-
{% block content_full_width_page %}
|
|
58
|
-
<div class="panel panel-default">
|
|
59
|
-
<div class="panel-heading">
|
|
60
|
-
<strong>Interfaces</strong>
|
|
61
|
-
</div>
|
|
62
|
-
{% include 'responsive_table.html' with table=interface_table %}
|
|
63
|
-
</div>
|
|
64
|
-
{% endblock content_full_width_page %}
|
|
2
|
+
{% comment %}3.0 TODO: remove this template, which only exists for backward compatibility with 2.4 and earlier{% endcomment %}
|
|
@@ -1,249 +1,2 @@
|
|
|
1
|
-
{% extends '
|
|
2
|
-
{%
|
|
3
|
-
{% load plugins %}
|
|
4
|
-
{% load helpers %}
|
|
5
|
-
{% load tz %}
|
|
6
|
-
|
|
7
|
-
{% block extra_breadcrumbs %}
|
|
8
|
-
{% for ancestor in object.ancestors %}
|
|
9
|
-
<li>{{ ancestor|hyperlinked_object:"name"}}</li>
|
|
10
|
-
{% endfor %}
|
|
11
|
-
{% endblock %}
|
|
12
|
-
|
|
13
|
-
{% block content_left_page %}
|
|
14
|
-
<div class="panel panel-default">
|
|
15
|
-
<div class="panel-heading">
|
|
16
|
-
<strong>Location</strong>
|
|
17
|
-
</div>
|
|
18
|
-
<table class="table table-hover panel-body attr-table">
|
|
19
|
-
<tr>
|
|
20
|
-
<td>Location Type</td>
|
|
21
|
-
<td>{{ object.location_type|hyperlinked_object:"name" }}</td>
|
|
22
|
-
</tr>
|
|
23
|
-
<tr>
|
|
24
|
-
<td>Status</td>
|
|
25
|
-
<td>
|
|
26
|
-
{{ object.status| hyperlinked_object_with_color }}
|
|
27
|
-
</td>
|
|
28
|
-
</tr>
|
|
29
|
-
<tr>
|
|
30
|
-
<td>Hierarchy</td>
|
|
31
|
-
<td>
|
|
32
|
-
{% include 'dcim/inc/location_hierarchy.html' with location=object %}
|
|
33
|
-
</td>
|
|
34
|
-
</tr>
|
|
35
|
-
{% include 'inc/tenant_table_row.html' %}
|
|
36
|
-
<tr>
|
|
37
|
-
<td>Facility</td>
|
|
38
|
-
<td>{{ object.facility|placeholder }}</td>
|
|
39
|
-
</tr>
|
|
40
|
-
<tr>
|
|
41
|
-
<td>AS Number</td>
|
|
42
|
-
<td>{{ object.asn|placeholder }}</td>
|
|
43
|
-
</tr>
|
|
44
|
-
<tr>
|
|
45
|
-
<td>Time Zone</td>
|
|
46
|
-
<td>
|
|
47
|
-
{% if object.time_zone %}
|
|
48
|
-
{{ object.time_zone }} (UTC {{ object.time_zone|tzoffset }})<br />
|
|
49
|
-
<small class="text-muted">Local time: {% timezone object.time_zone %}{% now "SHORT_DATETIME_FORMAT" %}{% endtimezone %}</small>
|
|
50
|
-
{% else %}
|
|
51
|
-
<span class="text-muted">—</span>
|
|
52
|
-
{% endif %}
|
|
53
|
-
</td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr>
|
|
56
|
-
<td>Description</td>
|
|
57
|
-
<td>{{ object.description|placeholder }}</td>
|
|
58
|
-
</tr>
|
|
59
|
-
<tr>
|
|
60
|
-
<td>Children</td>
|
|
61
|
-
<td>
|
|
62
|
-
{% if object.location_type.children.all %}
|
|
63
|
-
<a href="{% url 'dcim:location_list' %}?parent={{ object.pk }}">{{ children_table.rows|length }}</a>
|
|
64
|
-
{% else %}
|
|
65
|
-
{{ None|placeholder }}
|
|
66
|
-
{% endif %}
|
|
67
|
-
</td>
|
|
68
|
-
</tr>
|
|
69
|
-
</table>
|
|
70
|
-
</div>
|
|
71
|
-
<div class="panel panel-default">
|
|
72
|
-
<div class="panel-heading">
|
|
73
|
-
<strong>Geographical Info</strong>
|
|
74
|
-
</div>
|
|
75
|
-
<table class="table table-hover panel-body attr-table">
|
|
76
|
-
<tr>
|
|
77
|
-
<td>Physical Address</td>
|
|
78
|
-
<td>
|
|
79
|
-
{% if object.physical_address %}
|
|
80
|
-
<div class="pull-right noprint">
|
|
81
|
-
<a href="https://maps.google.com/?q={{ object.physical_address|urlencode }}" target="_blank" class="btn btn-primary btn-xs">
|
|
82
|
-
<i class="mdi mdi-map-marker"></i> Map it
|
|
83
|
-
</a>
|
|
84
|
-
</div>
|
|
85
|
-
<span>{{ object.physical_address|linebreaksbr }}</span>
|
|
86
|
-
{% else %}
|
|
87
|
-
<span class="text-muted">—</span>
|
|
88
|
-
{% endif %}
|
|
89
|
-
</td>
|
|
90
|
-
</tr>
|
|
91
|
-
<tr>
|
|
92
|
-
<td>Shipping Address</td>
|
|
93
|
-
<td>{{ object.shipping_address|linebreaksbr|placeholder }}</td>
|
|
94
|
-
</tr>
|
|
95
|
-
<tr>
|
|
96
|
-
<td>GPS Coordinates</td>
|
|
97
|
-
<td>
|
|
98
|
-
{% if object.latitude and object.longitude %}
|
|
99
|
-
<div class="pull-right noprint">
|
|
100
|
-
<a href="https://maps.google.com/?q={{ object.latitude }},{{ object.longitude }}" target="_blank" class="btn btn-primary btn-xs">
|
|
101
|
-
<i class="mdi mdi-map-marker"></i> Map it
|
|
102
|
-
</a>
|
|
103
|
-
</div>
|
|
104
|
-
<span>{{ object.latitude }}, {{ object.longitude }}</span>
|
|
105
|
-
{% else %}
|
|
106
|
-
<span class="text-muted">—</span>
|
|
107
|
-
{% endif %}
|
|
108
|
-
</td>
|
|
109
|
-
</tr>
|
|
110
|
-
</table>
|
|
111
|
-
</div>
|
|
112
|
-
{% if show_convert_to_contact_button %}
|
|
113
|
-
<div class="panel panel-default">
|
|
114
|
-
<div class="panel-heading">
|
|
115
|
-
<strong>Contact Info</strong>
|
|
116
|
-
</div>
|
|
117
|
-
<table class="table table-hover panel-body attr-table">
|
|
118
|
-
<tr>
|
|
119
|
-
<td>Contact Name</td>
|
|
120
|
-
<td>{{ object.contact_name|placeholder }}</td>
|
|
121
|
-
</tr>
|
|
122
|
-
<tr>
|
|
123
|
-
<td>Contact Phone</td>
|
|
124
|
-
<td>{{ object.contact_phone|hyperlinked_phone_number }}</td>
|
|
125
|
-
</tr>
|
|
126
|
-
<tr>
|
|
127
|
-
<td>Contact E-Mail</td>
|
|
128
|
-
<td>{{ object.contact_email|hyperlinked_email }}</td>
|
|
129
|
-
</tr>
|
|
130
|
-
</table>
|
|
131
|
-
{% if request.user|has_perms:contact_association_permission %}
|
|
132
|
-
{% with request.path|add:"?tab=contacts"|urlencode as return_url %}
|
|
133
|
-
<div class="panel-footer text-right noprint">
|
|
134
|
-
<a href="{% url 'dcim:location_migrate_data_to_contact' pk=object.pk %}?return_url={{return_url}}" class="btn btn-primary btn-xs">
|
|
135
|
-
<span class="mdi mdi-account-edit" aria-hidden="true"></span>
|
|
136
|
-
Convert to contact/team record
|
|
137
|
-
</a>
|
|
138
|
-
</div>
|
|
139
|
-
{% endwith %}
|
|
140
|
-
{% endif %}
|
|
141
|
-
</div>
|
|
142
|
-
{% endif %}
|
|
143
|
-
<div class="panel panel-default">
|
|
144
|
-
<div class="panel-heading">
|
|
145
|
-
<strong>Comments</strong>
|
|
146
|
-
</div>
|
|
147
|
-
<div class="panel-body rendered-markdown">
|
|
148
|
-
{% if object.comments %}
|
|
149
|
-
{{ object.comments|render_markdown }}
|
|
150
|
-
{% else %}
|
|
151
|
-
<span class="text-muted">None</span>
|
|
152
|
-
{% endif %}
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
{% endblock content_left_page %}
|
|
156
|
-
|
|
157
|
-
{% block content_right_page %}
|
|
158
|
-
<div class="panel panel-default">
|
|
159
|
-
<div class="panel-heading">
|
|
160
|
-
<strong>Stats</strong>
|
|
161
|
-
</div>
|
|
162
|
-
<div class="panel-body">
|
|
163
|
-
<div class="col-md-4 text-center">
|
|
164
|
-
<h2><a href="{% url 'dcim:rack_list' %}?location={{ object.pk }}" class="btn {% if stats.rack_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.rack_count }}</a></h2>
|
|
165
|
-
<p>Racks</p>
|
|
166
|
-
</div>
|
|
167
|
-
<div class="col-md-4 text-center">
|
|
168
|
-
<h2><a href="{% url 'dcim:device_list' %}?location={{ object.pk }}" class="btn {% if stats.device_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.device_count }}</a></h2>
|
|
169
|
-
<p>Devices</p>
|
|
170
|
-
</div>
|
|
171
|
-
<div class="col-md-4 text-center">
|
|
172
|
-
<h2><a href="{% url 'ipam:prefix_list' %}?locations={{ object.pk }}" class="btn {% if stats.prefix_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.prefix_count }}</a></h2>
|
|
173
|
-
<p>Prefixes</p>
|
|
174
|
-
</div>
|
|
175
|
-
<div class="col-md-4 text-center">
|
|
176
|
-
<h2><a href="{% url 'ipam:vlan_list' %}?locations={{ object.pk }}" class="btn {% if stats.vlan_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.vlan_count }}</a></h2>
|
|
177
|
-
<p>VLANs</p>
|
|
178
|
-
</div>
|
|
179
|
-
<div class="col-md-4 text-center">
|
|
180
|
-
<h2><a href="{% url 'circuits:circuit_list' %}?location={{ object.pk }}" class="btn {% if stats.circuit_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.circuit_count }}</a></h2>
|
|
181
|
-
<p>Circuits</p>
|
|
182
|
-
</div>
|
|
183
|
-
<div class="col-md-4 text-center">
|
|
184
|
-
<h2><a href="{% url 'virtualization:virtualmachine_list' %}?location={{ object.pk }}" class="btn {% if stats.vm_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.vm_count }}</a></h2>
|
|
185
|
-
<p>Virtual Machines</p>
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
<div class="panel panel-default">
|
|
190
|
-
<div class="panel-heading">
|
|
191
|
-
<strong>Rack Groups</strong>
|
|
192
|
-
</div>
|
|
193
|
-
<table class="table table-hover panel-body">
|
|
194
|
-
{% for rg in rack_groups %}
|
|
195
|
-
<tr>
|
|
196
|
-
<td style="padding-left: {{ rg.tree_depth }}8px"><i class="mdi mdi-folder-open"></i> <a href="{{ rg.get_absolute_url }}">{{ rg }}</a></td>
|
|
197
|
-
<td>{{ rg.rack_count }}</td>
|
|
198
|
-
<td class="text-right noprint">
|
|
199
|
-
<a href="{% url 'dcim:rack_elevation_list' %}?rack_group={{ rg.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
|
200
|
-
<i class="mdi mdi-server"></i>
|
|
201
|
-
</a>
|
|
202
|
-
</td>
|
|
203
|
-
</tr>
|
|
204
|
-
{% endfor %}
|
|
205
|
-
<tr>
|
|
206
|
-
<td><i class="mdi mdi-folder-open"></i> All racks</td>
|
|
207
|
-
<td>{{ stats.rack_count }}</td>
|
|
208
|
-
<td class="text-right noprint">
|
|
209
|
-
<a href="{% url 'dcim:rack_elevation_list' %}?location={{ object.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
|
210
|
-
<i class="mdi mdi-server"></i>
|
|
211
|
-
</a>
|
|
212
|
-
</td>
|
|
213
|
-
</tr>
|
|
214
|
-
</table>
|
|
215
|
-
</div>
|
|
216
|
-
<div class="panel panel-default">
|
|
217
|
-
<div class="panel-heading">
|
|
218
|
-
<strong>Images</strong>
|
|
219
|
-
</div>
|
|
220
|
-
{% include 'inc/image_attachments.html' with images=object.images.all %}
|
|
221
|
-
{% if perms.extras.add_imageattachment %}
|
|
222
|
-
<div class="panel-footer text-right noprint">
|
|
223
|
-
<a href="{% url 'dcim:location_add_image' object_id=object.pk %}" class="btn btn-primary btn-xs">
|
|
224
|
-
<span class="mdi mdi-plus-thick" aria-hidden="true"></span>
|
|
225
|
-
Attach an image
|
|
226
|
-
</a>
|
|
227
|
-
</div>
|
|
228
|
-
{% endif %}
|
|
229
|
-
</div>
|
|
230
|
-
{% endblock content_right_page %}
|
|
231
|
-
|
|
232
|
-
{% block content_full_width_page %}
|
|
233
|
-
{% if object.location_type.children.all %}
|
|
234
|
-
<div class="panel panel-default">
|
|
235
|
-
<div class="panel-heading">
|
|
236
|
-
<strong>Children</strong>
|
|
237
|
-
</div>
|
|
238
|
-
{% include 'inc/table.html' with table=children_table %}
|
|
239
|
-
{% if perms.dcim.add_location %}
|
|
240
|
-
<div class="panel-footer text-right noprint">
|
|
241
|
-
<a href="{% url 'dcim:location_add' %}?parent={{ object.pk }}" class="btn btn-xs btn-primary">
|
|
242
|
-
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add child
|
|
243
|
-
</a>
|
|
244
|
-
</div>
|
|
245
|
-
{% endif %}
|
|
246
|
-
</div>
|
|
247
|
-
{% include 'inc/paginator.html' with paginator=children_table.paginator page=children_table.page %}
|
|
248
|
-
{% endif %}
|
|
249
|
-
{% endblock content_full_width_page %}
|
|
1
|
+
{% extends 'dcim/location_retrieve.html' %}
|
|
2
|
+
{% comment %}3.0 TODO: remove this template, which only exists for backward compatibility with 2.4 and earlier{% endcomment %}
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
{% extends '
|
|
2
|
-
{%
|
|
3
|
-
|
|
4
|
-
{% block form %}
|
|
5
|
-
<div class="panel panel-default">
|
|
6
|
-
<div class="panel-heading"><strong>Location</strong></div>
|
|
7
|
-
<div class="panel-body">
|
|
8
|
-
{% render_field form.location_type %}
|
|
9
|
-
{% render_field form.parent %}
|
|
10
|
-
{% render_field form.name %}
|
|
11
|
-
{% render_field form.status %}
|
|
12
|
-
{% render_field form.facility %}
|
|
13
|
-
{% render_field form.asn %}
|
|
14
|
-
{% render_field form.time_zone %}
|
|
15
|
-
{% render_field form.description %}
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
{% include 'inc/tenancy_form_panel.html' %}
|
|
19
|
-
<div class="panel panel-default">
|
|
20
|
-
<div class="panel-heading"><strong>Contact Info</strong></div>
|
|
21
|
-
<div class="panel-body">
|
|
22
|
-
{% render_field form.physical_address %}
|
|
23
|
-
{% render_field form.shipping_address %}
|
|
24
|
-
{% render_field form.latitude %}
|
|
25
|
-
{% render_field form.longitude %}
|
|
26
|
-
{% render_field form.contact_name %}
|
|
27
|
-
{% render_field form.contact_phone %}
|
|
28
|
-
{% render_field form.contact_email %}
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
{% include 'inc/extras_features_edit_form_fields.html' %}
|
|
32
|
-
<div class="panel panel-default">
|
|
33
|
-
<div class="panel-heading"><strong>Comments</strong></div>
|
|
34
|
-
<div class="panel-body">
|
|
35
|
-
{% render_field form.comments %}
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
{% endblock form %}
|
|
1
|
+
{% extends 'dcim/location_update.html' %}
|
|
2
|
+
{% comment %}3.0 TODO: remove this template, which only exists for backward compatibility with 2.4 and earlier{% endcomment %}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{% extends 'generic/object_retrieve.html' %}
|
|
2
|
+
{% load buttons %}
|
|
3
|
+
{% load plugins %}
|
|
4
|
+
{% load helpers %}
|
|
5
|
+
{% load tz %}
|
|
6
|
+
|
|
7
|
+
{% block extra_breadcrumbs %}
|
|
8
|
+
{% for ancestor in object.ancestors %}
|
|
9
|
+
<li>{{ ancestor|hyperlinked_object:"name"}}</li>
|
|
10
|
+
{% endfor %}
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block content_left_page %}
|
|
14
|
+
<div class="panel panel-default">
|
|
15
|
+
<div class="panel-heading">
|
|
16
|
+
<strong>Location</strong>
|
|
17
|
+
</div>
|
|
18
|
+
<table class="table table-hover panel-body attr-table">
|
|
19
|
+
<tr>
|
|
20
|
+
<td>Location Type</td>
|
|
21
|
+
<td>{{ object.location_type|hyperlinked_object:"name" }}</td>
|
|
22
|
+
</tr>
|
|
23
|
+
<tr>
|
|
24
|
+
<td>Status</td>
|
|
25
|
+
<td>
|
|
26
|
+
{{ object.status| hyperlinked_object_with_color }}
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td>Hierarchy</td>
|
|
31
|
+
<td>
|
|
32
|
+
{% include 'dcim/inc/location_hierarchy.html' with location=object %}
|
|
33
|
+
</td>
|
|
34
|
+
</tr>
|
|
35
|
+
{% include 'inc/tenant_table_row.html' %}
|
|
36
|
+
<tr>
|
|
37
|
+
<td>Facility</td>
|
|
38
|
+
<td>{{ object.facility|placeholder }}</td>
|
|
39
|
+
</tr>
|
|
40
|
+
<tr>
|
|
41
|
+
<td>AS Number</td>
|
|
42
|
+
<td>{{ object.asn|placeholder }}</td>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr>
|
|
45
|
+
<td>Time Zone</td>
|
|
46
|
+
<td>
|
|
47
|
+
{% if object.time_zone %}
|
|
48
|
+
{{ object.time_zone }} (UTC {{ object.time_zone|tzoffset }})<br />
|
|
49
|
+
<small class="text-muted">Local time: {% timezone object.time_zone %}{% now "SHORT_DATETIME_FORMAT" %}{% endtimezone %}</small>
|
|
50
|
+
{% else %}
|
|
51
|
+
<span class="text-muted">—</span>
|
|
52
|
+
{% endif %}
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr>
|
|
56
|
+
<td>Description</td>
|
|
57
|
+
<td>{{ object.description|placeholder }}</td>
|
|
58
|
+
</tr>
|
|
59
|
+
<tr>
|
|
60
|
+
<td>Children</td>
|
|
61
|
+
<td>
|
|
62
|
+
{% if object.location_type.children.all %}
|
|
63
|
+
<a href="{% url 'dcim:location_list' %}?parent={{ object.pk }}">{{ children_table.rows|length }}</a>
|
|
64
|
+
{% else %}
|
|
65
|
+
{{ None|placeholder }}
|
|
66
|
+
{% endif %}
|
|
67
|
+
</td>
|
|
68
|
+
</tr>
|
|
69
|
+
</table>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="panel panel-default">
|
|
72
|
+
<div class="panel-heading">
|
|
73
|
+
<strong>Geographical Info</strong>
|
|
74
|
+
</div>
|
|
75
|
+
<table class="table table-hover panel-body attr-table">
|
|
76
|
+
<tr>
|
|
77
|
+
<td>Physical Address</td>
|
|
78
|
+
<td>
|
|
79
|
+
{% if object.physical_address %}
|
|
80
|
+
<div class="pull-right noprint">
|
|
81
|
+
<a href="https://maps.google.com/?q={{ object.physical_address|urlencode }}" target="_blank" class="btn btn-primary btn-xs">
|
|
82
|
+
<i class="mdi mdi-map-marker"></i> Map it
|
|
83
|
+
</a>
|
|
84
|
+
</div>
|
|
85
|
+
<span>{{ object.physical_address|linebreaksbr }}</span>
|
|
86
|
+
{% else %}
|
|
87
|
+
<span class="text-muted">—</span>
|
|
88
|
+
{% endif %}
|
|
89
|
+
</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr>
|
|
92
|
+
<td>Shipping Address</td>
|
|
93
|
+
<td>{{ object.shipping_address|linebreaksbr|placeholder }}</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td>GPS Coordinates</td>
|
|
97
|
+
<td>
|
|
98
|
+
{% if object.latitude and object.longitude %}
|
|
99
|
+
<div class="pull-right noprint">
|
|
100
|
+
<a href="https://maps.google.com/?q={{ object.latitude }},{{ object.longitude }}" target="_blank" class="btn btn-primary btn-xs">
|
|
101
|
+
<i class="mdi mdi-map-marker"></i> Map it
|
|
102
|
+
</a>
|
|
103
|
+
</div>
|
|
104
|
+
<span>{{ object.latitude }}, {{ object.longitude }}</span>
|
|
105
|
+
{% else %}
|
|
106
|
+
<span class="text-muted">—</span>
|
|
107
|
+
{% endif %}
|
|
108
|
+
</td>
|
|
109
|
+
</tr>
|
|
110
|
+
</table>
|
|
111
|
+
</div>
|
|
112
|
+
{% if show_convert_to_contact_button %}
|
|
113
|
+
<div class="panel panel-default">
|
|
114
|
+
<div class="panel-heading">
|
|
115
|
+
<strong>Contact Info</strong>
|
|
116
|
+
</div>
|
|
117
|
+
<table class="table table-hover panel-body attr-table">
|
|
118
|
+
<tr>
|
|
119
|
+
<td>Contact Name</td>
|
|
120
|
+
<td>{{ object.contact_name|placeholder }}</td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr>
|
|
123
|
+
<td>Contact Phone</td>
|
|
124
|
+
<td>{{ object.contact_phone|hyperlinked_phone_number }}</td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr>
|
|
127
|
+
<td>Contact E-Mail</td>
|
|
128
|
+
<td>{{ object.contact_email|hyperlinked_email }}</td>
|
|
129
|
+
</tr>
|
|
130
|
+
</table>
|
|
131
|
+
{% if request.user|has_perms:contact_association_permission %}
|
|
132
|
+
{% with request.path|add:"?tab=contacts"|urlencode as return_url %}
|
|
133
|
+
<div class="panel-footer text-right noprint">
|
|
134
|
+
<a href="{% url 'dcim:location_migrate_data_to_contact' pk=object.pk %}?return_url={{return_url}}" class="btn btn-primary btn-xs">
|
|
135
|
+
<span class="mdi mdi-account-edit" aria-hidden="true"></span>
|
|
136
|
+
Convert to contact/team record
|
|
137
|
+
</a>
|
|
138
|
+
</div>
|
|
139
|
+
{% endwith %}
|
|
140
|
+
{% endif %}
|
|
141
|
+
</div>
|
|
142
|
+
{% endif %}
|
|
143
|
+
<div class="panel panel-default">
|
|
144
|
+
<div class="panel-heading">
|
|
145
|
+
<strong>Comments</strong>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="panel-body rendered-markdown">
|
|
148
|
+
{% if object.comments %}
|
|
149
|
+
{{ object.comments|render_markdown }}
|
|
150
|
+
{% else %}
|
|
151
|
+
<span class="text-muted">None</span>
|
|
152
|
+
{% endif %}
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
{% endblock content_left_page %}
|
|
156
|
+
|
|
157
|
+
{% block content_right_page %}
|
|
158
|
+
<div class="panel panel-default">
|
|
159
|
+
<div class="panel-heading">
|
|
160
|
+
<strong>Stats</strong>
|
|
161
|
+
</div>
|
|
162
|
+
<div class="panel-body">
|
|
163
|
+
<div class="col-md-4 text-center">
|
|
164
|
+
<h2><a href="{% url 'dcim:rack_list' %}?location={{ object.pk }}" class="btn {% if stats.rack_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.rack_count }}</a></h2>
|
|
165
|
+
<p>Racks</p>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="col-md-4 text-center">
|
|
168
|
+
<h2><a href="{% url 'dcim:device_list' %}?location={{ object.pk }}" class="btn {% if stats.device_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.device_count }}</a></h2>
|
|
169
|
+
<p>Devices</p>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-md-4 text-center">
|
|
172
|
+
<h2><a href="{% url 'ipam:prefix_list' %}?locations={{ object.pk }}" class="btn {% if stats.prefix_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.prefix_count }}</a></h2>
|
|
173
|
+
<p>Prefixes</p>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="col-md-4 text-center">
|
|
176
|
+
<h2><a href="{% url 'ipam:vlan_list' %}?locations={{ object.pk }}" class="btn {% if stats.vlan_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.vlan_count }}</a></h2>
|
|
177
|
+
<p>VLANs</p>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="col-md-4 text-center">
|
|
180
|
+
<h2><a href="{% url 'circuits:circuit_list' %}?location={{ object.pk }}" class="btn {% if stats.circuit_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.circuit_count }}</a></h2>
|
|
181
|
+
<p>Circuits</p>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="col-md-4 text-center">
|
|
184
|
+
<h2><a href="{% url 'virtualization:virtualmachine_list' %}?location={{ object.pk }}" class="btn {% if stats.vm_count %}btn-primary{% else %}btn-default{% endif %} btn-lg">{{ stats.vm_count }}</a></h2>
|
|
185
|
+
<p>Virtual Machines</p>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="panel panel-default">
|
|
190
|
+
<div class="panel-heading">
|
|
191
|
+
<strong>Rack Groups</strong>
|
|
192
|
+
</div>
|
|
193
|
+
<table class="table table-hover panel-body">
|
|
194
|
+
{% for rg in rack_groups %}
|
|
195
|
+
<tr>
|
|
196
|
+
<td style="padding-left: {{ rg.tree_depth }}8px"><i class="mdi mdi-folder-open"></i> <a href="{{ rg.get_absolute_url }}">{{ rg }}</a></td>
|
|
197
|
+
<td>{{ rg.rack_count }}</td>
|
|
198
|
+
<td class="text-right noprint">
|
|
199
|
+
<a href="{% url 'dcim:rack_elevation_list' %}?rack_group={{ rg.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
|
200
|
+
<i class="mdi mdi-server"></i>
|
|
201
|
+
</a>
|
|
202
|
+
</td>
|
|
203
|
+
</tr>
|
|
204
|
+
{% endfor %}
|
|
205
|
+
<tr>
|
|
206
|
+
<td><i class="mdi mdi-folder-open"></i> All racks</td>
|
|
207
|
+
<td>{{ stats.rack_count }}</td>
|
|
208
|
+
<td class="text-right noprint">
|
|
209
|
+
<a href="{% url 'dcim:rack_elevation_list' %}?location={{ object.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
|
210
|
+
<i class="mdi mdi-server"></i>
|
|
211
|
+
</a>
|
|
212
|
+
</td>
|
|
213
|
+
</tr>
|
|
214
|
+
</table>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="panel panel-default">
|
|
217
|
+
<div class="panel-heading">
|
|
218
|
+
<strong>Images</strong>
|
|
219
|
+
</div>
|
|
220
|
+
{% include 'inc/image_attachments.html' with images=object.images.all %}
|
|
221
|
+
{% if perms.extras.add_imageattachment %}
|
|
222
|
+
<div class="panel-footer text-right noprint">
|
|
223
|
+
<a href="{% url 'dcim:location_add_image' object_id=object.pk %}" class="btn btn-primary btn-xs">
|
|
224
|
+
<span class="mdi mdi-plus-thick" aria-hidden="true"></span>
|
|
225
|
+
Attach an image
|
|
226
|
+
</a>
|
|
227
|
+
</div>
|
|
228
|
+
{% endif %}
|
|
229
|
+
</div>
|
|
230
|
+
{% endblock content_right_page %}
|
|
231
|
+
|
|
232
|
+
{% block content_full_width_page %}
|
|
233
|
+
{% if object.location_type.children.all %}
|
|
234
|
+
<div class="panel panel-default">
|
|
235
|
+
<div class="panel-heading">
|
|
236
|
+
<strong>Children</strong>
|
|
237
|
+
</div>
|
|
238
|
+
{% include 'inc/table.html' with table=children_table %}
|
|
239
|
+
{% if perms.dcim.add_location %}
|
|
240
|
+
<div class="panel-footer text-right noprint">
|
|
241
|
+
<a href="{% url 'dcim:location_add' %}?parent={{ object.pk }}" class="btn btn-xs btn-primary">
|
|
242
|
+
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add child
|
|
243
|
+
</a>
|
|
244
|
+
</div>
|
|
245
|
+
{% endif %}
|
|
246
|
+
</div>
|
|
247
|
+
{% include 'inc/paginator.html' with paginator=children_table.paginator page=children_table.page %}
|
|
248
|
+
{% endif %}
|
|
249
|
+
{% endblock content_full_width_page %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{% extends 'generic/object_create.html' %}
|
|
2
|
+
{% load form_helpers %}
|
|
3
|
+
|
|
4
|
+
{% block form %}
|
|
5
|
+
<div class="panel panel-default">
|
|
6
|
+
<div class="panel-heading"><strong>Location</strong></div>
|
|
7
|
+
<div class="panel-body">
|
|
8
|
+
{% render_field form.location_type %}
|
|
9
|
+
{% render_field form.parent %}
|
|
10
|
+
{% render_field form.name %}
|
|
11
|
+
{% render_field form.status %}
|
|
12
|
+
{% render_field form.facility %}
|
|
13
|
+
{% render_field form.asn %}
|
|
14
|
+
{% render_field form.time_zone %}
|
|
15
|
+
{% render_field form.description %}
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
{% include 'inc/tenancy_form_panel.html' %}
|
|
19
|
+
<div class="panel panel-default">
|
|
20
|
+
<div class="panel-heading"><strong>Contact Info</strong></div>
|
|
21
|
+
<div class="panel-body">
|
|
22
|
+
{% render_field form.physical_address %}
|
|
23
|
+
{% render_field form.shipping_address %}
|
|
24
|
+
{% render_field form.latitude %}
|
|
25
|
+
{% render_field form.longitude %}
|
|
26
|
+
{% render_field form.contact_name %}
|
|
27
|
+
{% render_field form.contact_phone %}
|
|
28
|
+
{% render_field form.contact_email %}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
{% include 'inc/extras_features_edit_form_fields.html' %}
|
|
32
|
+
<div class="panel panel-default">
|
|
33
|
+
<div class="panel-heading"><strong>Comments</strong></div>
|
|
34
|
+
<div class="panel-body">
|
|
35
|
+
{% render_field form.comments %}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
{% endblock form %}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
<div class="panel-heading"><strong>{{ obj_type|capfirst }}</strong></div>
|
|
7
7
|
<div class="panel-body">
|
|
8
8
|
{% render_field form.manufacturer %}
|
|
9
|
+
{% render_field form.module_family %}
|
|
9
10
|
{% render_field form.module_type %}
|
|
10
11
|
{% render_field form.serial %}
|
|
11
12
|
{% render_field form.asset_tag %}
|