[PR #17523] [MERGED] Closes #16009 - Added styling to form templates to enable floating button groups #15111

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17523
Author: @atownson
Created: 9/17/2024
Status: Merged
Merged: 10/15/2024
Merged by: @jeremystretch

Base: developHead: issue_16009


📝 Commits (10+)

  • 8715f6f #16009 Added btn-float-group style class and added to form templates for floating button groups
  • 7de5efd Merge branch 'develop' into issue_16009
  • 30e6704 #16009 Removed floating div background and moved filter form buttons outside of card
  • 3b8a3dc Added style classes to represent left and right justified floating button groups
  • 1e03eb4 Added TypeScript to handle conditionally floating the object list forms
  • 0cf8264 Fix TS import
  • 1bfb6e6 Added null check for the button group
  • 6d5af67 Update TS styling
  • 3c36549 Satisfy prettier check
  • ba4b5fe Merge branch 'develop' into issue_16009

📊 Changes

10 files changed (+89 additions, -23 deletions)

View changed files

📝 netbox/project-static/dist/netbox.css (+1 -1)
📝 netbox/project-static/dist/netbox.js (+5 -5)
📝 netbox/project-static/dist/netbox.js.map (+3 -3)
netbox/project-static/src/buttons/floatBulk.ts (+42 -0)
📝 netbox/project-static/src/buttons/index.ts (+2 -0)
📝 netbox/project-static/styles/custom/_misc.scss (+22 -0)
📝 netbox/templates/generic/bulk_edit.html (+2 -2)
📝 netbox/templates/generic/object_edit.html (+3 -3)
📝 netbox/templates/generic/object_list.html (+1 -1)
📝 netbox/templates/inc/filter_list.html (+8 -8)

📄 Description

Fixes: #16009

Created a new style class, btn-float-group , and added to object_edit, bulk_edit, and filter_list templates.


🔄 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/17523 **Author:** [@atownson](https://github.com/atownson) **Created:** 9/17/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `issue_16009` --- ### 📝 Commits (10+) - [`8715f6f`](https://github.com/netbox-community/netbox/commit/8715f6fe873fe5cae7ffb4a742081058f0d636cc) #16009 Added btn-float-group style class and added to form templates for floating button groups - [`7de5efd`](https://github.com/netbox-community/netbox/commit/7de5efda2a92df787e2cee3a4c7fc97cb91f88f7) Merge branch 'develop' into issue_16009 - [`30e6704`](https://github.com/netbox-community/netbox/commit/30e67047d35279c1f0c608e5c8037de5d67cd277) #16009 Removed floating div background and moved filter form buttons outside of card - [`3b8a3dc`](https://github.com/netbox-community/netbox/commit/3b8a3dc66a780702f432e9622d1fc20ec2d6b68a) Added style classes to represent left and right justified floating button groups - [`1e03eb4`](https://github.com/netbox-community/netbox/commit/1e03eb4eb8bd2f631a4708135c044a9e592f42ae) Added TypeScript to handle conditionally floating the object list forms - [`0cf8264`](https://github.com/netbox-community/netbox/commit/0cf8264c0eb1b33695d189b6a06559b1bddef3e3) Fix TS import - [`1bfb6e6`](https://github.com/netbox-community/netbox/commit/1bfb6e6f3444aeec2551c014066b049fc6c23c53) Added null check for the button group - [`6d5af67`](https://github.com/netbox-community/netbox/commit/6d5af67da833522fa397d23be994e27b9c8e5061) Update TS styling - [`3c36549`](https://github.com/netbox-community/netbox/commit/3c36549ff19711b9b3dbc6924e1258b1798bf794) Satisfy prettier check - [`ba4b5fe`](https://github.com/netbox-community/netbox/commit/ba4b5fed0b357140a8560f513ad276c8e6c82176) Merge branch 'develop' into issue_16009 ### 📊 Changes **10 files changed** (+89 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.css` (+1 -1) 📝 `netbox/project-static/dist/netbox.js` (+5 -5) 📝 `netbox/project-static/dist/netbox.js.map` (+3 -3) ➕ `netbox/project-static/src/buttons/floatBulk.ts` (+42 -0) 📝 `netbox/project-static/src/buttons/index.ts` (+2 -0) 📝 `netbox/project-static/styles/custom/_misc.scss` (+22 -0) 📝 `netbox/templates/generic/bulk_edit.html` (+2 -2) 📝 `netbox/templates/generic/object_edit.html` (+3 -3) 📝 `netbox/templates/generic/object_list.html` (+1 -1) 📝 `netbox/templates/inc/filter_list.html` (+8 -8) </details> ### 📄 Description ### Fixes: #16009 Created a new style class, `btn-float-group` , and added to object_edit, bulk_edit, and filter_list templates. --- <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:20:04 +01:00
adam closed this issue 2025-12-30 00:20:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15111