[PR #2969] [MERGED] Closes #2435: Printer friendly CSS #12475

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2969
Author: @DanSheps
Created: 3/5/2019
Status: Merged
Merged: 3/6/2019
Merged by: @jeremystretch

Base: developHead: 2435-PrintingCSS


📝 Commits (4)

  • c208d8f * Added CSS to:
  • e9546b8 * Updated changelog
  • 88aeaaf Remove .noprint from outside of the @media tag
  • 8df169b Remove .noprint from outside of the @media tag

📊 Changes

92 files changed (+199 additions, -182 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 netbox/circuits/tables.py (+1 -1)
📝 netbox/dcim/tables.py (+8 -8)
📝 netbox/extras/tables.py (+1 -1)
📝 netbox/ipam/tables.py (+4 -4)
📝 netbox/project-static/css/base.css (+14 -1)
📝 netbox/secrets/tables.py (+1 -1)
📝 netbox/templates/_base.html (+1 -1)
📝 netbox/templates/circuits/circuit.html (+2 -2)
📝 netbox/templates/circuits/circuit_list.html (+2 -2)
📝 netbox/templates/circuits/circuittype_list.html (+1 -1)
📝 netbox/templates/circuits/provider.html (+3 -3)
📝 netbox/templates/circuits/provider_list.html (+2 -2)
📝 netbox/templates/dcim/cable.html (+2 -2)
📝 netbox/templates/dcim/cable_list.html (+2 -2)
📝 netbox/templates/dcim/console_connections_list.html (+2 -2)
📝 netbox/templates/dcim/device.html (+15 -15)
📝 netbox/templates/dcim/device_inventory.html (+1 -1)
📝 netbox/templates/dcim/device_list.html (+2 -2)
📝 netbox/templates/dcim/devicerole_list.html (+1 -1)

...and 72 more files

📄 Description

Fixes: #2435

  • Added CSS to:
    • Hide URLs
    • Hide elements with "noprint" class
  • Added noprint to:
    • Header Panel
    • Search Panel, Tags Panel
    • Buttons
    • Various list elements
    • Related elements

🔄 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/2969 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 3/5/2019 **Status:** ✅ Merged **Merged:** 3/6/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `2435-PrintingCSS` --- ### 📝 Commits (4) - [`c208d8f`](https://github.com/netbox-community/netbox/commit/c208d8fc2e43b811ea7ffb8068ff8298bb1230b0) * Added CSS to: - [`e9546b8`](https://github.com/netbox-community/netbox/commit/e9546b810c3033712cc813e01febbeb1fa6f7164) * Updated changelog - [`88aeaaf`](https://github.com/netbox-community/netbox/commit/88aeaaffb0be66b7722665802c555e037ebba070) Remove .noprint from outside of the @media tag - [`8df169b`](https://github.com/netbox-community/netbox/commit/8df169b170d6bfa57e7b655379ad0977764bc17e) Remove .noprint from outside of the @media tag ### 📊 Changes **92 files changed** (+199 additions, -182 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `netbox/circuits/tables.py` (+1 -1) 📝 `netbox/dcim/tables.py` (+8 -8) 📝 `netbox/extras/tables.py` (+1 -1) 📝 `netbox/ipam/tables.py` (+4 -4) 📝 `netbox/project-static/css/base.css` (+14 -1) 📝 `netbox/secrets/tables.py` (+1 -1) 📝 `netbox/templates/_base.html` (+1 -1) 📝 `netbox/templates/circuits/circuit.html` (+2 -2) 📝 `netbox/templates/circuits/circuit_list.html` (+2 -2) 📝 `netbox/templates/circuits/circuittype_list.html` (+1 -1) 📝 `netbox/templates/circuits/provider.html` (+3 -3) 📝 `netbox/templates/circuits/provider_list.html` (+2 -2) 📝 `netbox/templates/dcim/cable.html` (+2 -2) 📝 `netbox/templates/dcim/cable_list.html` (+2 -2) 📝 `netbox/templates/dcim/console_connections_list.html` (+2 -2) 📝 `netbox/templates/dcim/device.html` (+15 -15) 📝 `netbox/templates/dcim/device_inventory.html` (+1 -1) 📝 `netbox/templates/dcim/device_list.html` (+2 -2) 📝 `netbox/templates/dcim/devicerole_list.html` (+1 -1) _...and 72 more files_ </details> ### 📄 Description ### Fixes: #2435 * Added CSS to: * Hide URLs * Hide elements with "noprint" class * Added noprint to: * Header Panel * Search Panel, Tags Panel * Buttons * Various list elements * Related elements --- <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:21:47 +01:00
adam closed this issue 2025-12-29 22:21:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12475