[PR #15474] [CLOSED] 15153 customize styling browseable rest api #14600

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15474
Author: @arthanson
Created: 3/19/2024
Status: Closed

Base: featureHead: 15153-rest-styling


📝 Commits (4)

  • 5429bf6 15153 update styling browseable rest api
  • 4b436c9 Merge branch 'feature' into 15153-rest-styling
  • 510aa21 15153 move css to scss file
  • fcce7b7 15153 styling changes

📊 Changes

3 files changed (+42 additions, -1 deletions)

View changed files

📝 netbox/project-static/bundle.js (+1 -0)
netbox/project-static/styles/rest_api.scss (+31 -0)
📝 netbox/templates/rest_framework/api.html (+10 -1)

📄 Description

Fixes: #15153

Limits on what can be changed without copying and modifying the base template into api.html, but made tweaks to bring it more in-line with app. Just kept inline css as fairly minor changes needed and IMHO not worth tooling for separate css file.

Monosnap Circuits | NetBox REST API 2024-04-01 09-35-12


🔄 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/15474 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 3/19/2024 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `15153-rest-styling` --- ### 📝 Commits (4) - [`5429bf6`](https://github.com/netbox-community/netbox/commit/5429bf651d1e150cf22d1269f6a519de4c630135) 15153 update styling browseable rest api - [`4b436c9`](https://github.com/netbox-community/netbox/commit/4b436c9d4fc206fef24073eeea463c8ede757d70) Merge branch 'feature' into 15153-rest-styling - [`510aa21`](https://github.com/netbox-community/netbox/commit/510aa2156db8f4dcc823b971405b63d6e10e4d73) 15153 move css to scss file - [`fcce7b7`](https://github.com/netbox-community/netbox/commit/fcce7b7bf4fc3670e7d0bdfd1349d4cc42986054) 15153 styling changes ### 📊 Changes **3 files changed** (+42 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/bundle.js` (+1 -0) ➕ `netbox/project-static/styles/rest_api.scss` (+31 -0) 📝 `netbox/templates/rest_framework/api.html` (+10 -1) </details> ### 📄 Description ### Fixes: #15153 Limits on what can be changed without copying and modifying the base template into api.html, but made tweaks to bring it more in-line with app. Just kept inline css as fairly minor changes needed and IMHO not worth tooling for separate css file. ![Monosnap Circuits | NetBox REST API 2024-04-01 09-35-12](https://github.com/netbox-community/netbox/assets/99642/4d11f6c3-d059-4ae0-ae8a-d628fac78e12) --- <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 23:25:25 +01:00
adam closed this issue 2025-12-29 23:25:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14600