[PR #18617] [MERGED] Fixes 18247: Fix dark mode button classes #15395

Closed
opened 2025-12-30 00:21:40 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18617
Author: @alehaa
Created: 2/10/2025
Status: Merged
Merged: 2/10/2025
Merged by: @jeremystretch

Base: mainHead: 18247-buttons


📝 Commits (2)

  • daab2e6 Fix device component button darkmode outline
  • e354391 Fix config context dark-mode button outlines

📊 Changes

2 files changed (+23 additions, -23 deletions)

View changed files

📝 netbox/dcim/tables/template_code.py (+21 -21)
📝 netbox/templates/extras/inc/format_toggle.html (+2 -2)

📄 Description

Fixes: #18247

Instead of btn-outline-dark, btn-outline-secondary will be used - just as for pagination.


🔄 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/18617 **Author:** [@alehaa](https://github.com/alehaa) **Created:** 2/10/2025 **Status:** ✅ Merged **Merged:** 2/10/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `18247-buttons` --- ### 📝 Commits (2) - [`daab2e6`](https://github.com/netbox-community/netbox/commit/daab2e65d7dc841207789ffa20dfec4ac6f6221c) Fix device component button darkmode outline - [`e354391`](https://github.com/netbox-community/netbox/commit/e354391a6c2da0f0478f69df4b5e8674269993fd) Fix config context dark-mode button outlines ### 📊 Changes **2 files changed** (+23 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tables/template_code.py` (+21 -21) 📝 `netbox/templates/extras/inc/format_toggle.html` (+2 -2) </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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #18247 Instead of `btn-outline-dark`, `btn-outline-secondary` will be used - just as for pagination. --- <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-30 00:21:40 +01:00
adam closed this issue 2025-12-30 00:21:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15395