[PR #3754] [MERGED] 2248 svg rack elevations #12628

Closed
opened 2025-12-29 22:22:44 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3754
Author: @lampwins
Created: 12/11/2019
Status: Merged
Merged: 12/11/2019
Merged by: @lampwins

Base: develop-2.7Head: 2248-svg-rack-elevations


📝 Commits (10+)

  • d11de6d dcim: add rack-elevations api endpoint (references #2248)
  • 808f5c9 dcim: make front and rear work (references #2248)
  • 1a9b9f5 dcim: fix fonts & texts in svg
  • 77890ad dcim: add inline stylesheet to rack elevation api view
  • 5d5b7e0 dcim: refactor reservations and make them resizable
  • e1fdc77 requirements: fix svgwrite version
  • bc859c6 css: purge outdated rack styling
  • 82819d5 dcim: remove elevation getters
  • 66b6f58 tests: update to reflect absence of utility functions
  • b54a05d dcim: make linter happy

📊 Changes

15 files changed (+317 additions, -263 deletions)

View changed files

📝 base_requirements.txt (+4 -0)
📝 docs/release-notes/version-2.7.md (+32 -0)
📝 netbox/dcim/api/serializers.py (+13 -1)
📝 netbox/dcim/api/views.py (+40 -4)
📝 netbox/dcim/choices.py (+11 -0)
📝 netbox/dcim/constants.py (+60 -0)
📝 netbox/dcim/forms.py (+1 -1)
📝 netbox/dcim/models.py (+148 -19)
📝 netbox/dcim/tests/test_models.py (+2 -2)
📝 netbox/dcim/views.py (+0 -2)
📝 netbox/project-static/css/base.css (+0 -188)
📝 netbox/templates/dcim/inc/rack_elevation.html (+1 -42)
📝 netbox/templates/dcim/rack.html (+2 -2)
📝 netbox/templates/dcim/rack_elevation_list.html (+2 -2)
📝 requirements.txt (+1 -0)

📄 Description

Fixes: #2248

Cleanup of the new rack elevation endpoint


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/3754 **Author:** [@lampwins](https://github.com/lampwins) **Created:** 12/11/2019 **Status:** ✅ Merged **Merged:** 12/11/2019 **Merged by:** [@lampwins](https://github.com/lampwins) **Base:** `develop-2.7` ← **Head:** `2248-svg-rack-elevations` --- ### 📝 Commits (10+) - [`d11de6d`](https://github.com/netbox-community/netbox/commit/d11de6d021624208e3e913f220cc8c8404c43ac6) dcim: add rack-elevations api endpoint (references #2248) - [`808f5c9`](https://github.com/netbox-community/netbox/commit/808f5c95e390923e834a3b3d1d791576dc6ed10a) dcim: make front and rear work (references #2248) - [`1a9b9f5`](https://github.com/netbox-community/netbox/commit/1a9b9f50d823bbb58ad800a9bbd6d1c999a211bd) dcim: fix fonts & texts in svg - [`77890ad`](https://github.com/netbox-community/netbox/commit/77890ad77558b426d457b5230702f99519fba356) dcim: add inline stylesheet to rack elevation api view - [`5d5b7e0`](https://github.com/netbox-community/netbox/commit/5d5b7e0dd92c01276c611990f87d0778cc48029a) dcim: refactor reservations and make them resizable - [`e1fdc77`](https://github.com/netbox-community/netbox/commit/e1fdc7773a921d9dfd9e15ad6890baaf609eb4f1) requirements: fix svgwrite version - [`bc859c6`](https://github.com/netbox-community/netbox/commit/bc859c6139e15aa96313edc0c763ae89d2231bb0) css: purge outdated rack styling - [`82819d5`](https://github.com/netbox-community/netbox/commit/82819d54290a240e63fc7137f37a12a7a635b54e) dcim: remove elevation getters - [`66b6f58`](https://github.com/netbox-community/netbox/commit/66b6f586f1639020a8168424d9215344d59a2fb0) tests: update to reflect absence of utility functions - [`b54a05d`](https://github.com/netbox-community/netbox/commit/b54a05d2558b05b349b8144dfca93f0f48509420) dcim: make linter happy ### 📊 Changes **15 files changed** (+317 additions, -263 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+4 -0) 📝 `docs/release-notes/version-2.7.md` (+32 -0) 📝 `netbox/dcim/api/serializers.py` (+13 -1) 📝 `netbox/dcim/api/views.py` (+40 -4) 📝 `netbox/dcim/choices.py` (+11 -0) 📝 `netbox/dcim/constants.py` (+60 -0) 📝 `netbox/dcim/forms.py` (+1 -1) 📝 `netbox/dcim/models.py` (+148 -19) 📝 `netbox/dcim/tests/test_models.py` (+2 -2) 📝 `netbox/dcim/views.py` (+0 -2) 📝 `netbox/project-static/css/base.css` (+0 -188) 📝 `netbox/templates/dcim/inc/rack_elevation.html` (+1 -42) 📝 `netbox/templates/dcim/rack.html` (+2 -2) 📝 `netbox/templates/dcim/rack_elevation_list.html` (+2 -2) 📝 `requirements.txt` (+1 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #2248 Cleanup of the new rack elevation endpoint --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:22:44 +01:00
adam closed this issue 2025-12-29 22:22:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12628