[PR #2327] [CLOSED] Move the create/update/cancel buttons to the right-hand side and make them float #12359

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2327
Author: @jeremystretch
Created: 8/8/2018
Status: Closed

Base: developHead: 2237-floating-buttons


📝 Commits (3)

  • d9735c2 Move the create/update/cancel buttons to the righthand side and make them float
  • 2a6e0c1 Merge branch 'develop' into 2237-floating-buttons
  • d6443f7 Standardized "save and add/continue" functions

📊 Changes

12 files changed (+184 additions, -197 deletions)

View changed files

📝 netbox/circuits/views.py (+2 -1)
📝 netbox/dcim/views.py (+3 -0)
📝 netbox/extras/views.py (+1 -0)
📝 netbox/ipam/views.py (+1 -0)
📝 netbox/secrets/views.py (+2 -2)
📝 netbox/templates/circuits/circuittermination_edit.html (+52 -79)
📝 netbox/templates/dcim/interface_edit.html (+0 -11)
📝 netbox/templates/secrets/secret_edit.html (+47 -77)
📝 netbox/templates/tenancy/tenant_edit.html (+0 -1)
📝 netbox/templates/utilities/obj_edit.html (+28 -12)
📝 netbox/templates/virtualization/interface_edit.html (+0 -11)
📝 netbox/utilities/views.py (+48 -3)

📄 Description

Fixes: #2237

This approach moves the create/update/cancel buttons when editing an object to the top right corner and keeps them fixed as the page scrolls. This ensures the buttons are always immediately accessible regardless of where the user is focused in the form.


🔄 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/2327 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/8/2018 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `2237-floating-buttons` --- ### 📝 Commits (3) - [`d9735c2`](https://github.com/netbox-community/netbox/commit/d9735c2279b98e8227cb95b7f7d6952f048739e8) Move the create/update/cancel buttons to the righthand side and make them float - [`2a6e0c1`](https://github.com/netbox-community/netbox/commit/2a6e0c178f290c5a6c51130ec0dd5a674c1b0754) Merge branch 'develop' into 2237-floating-buttons - [`d6443f7`](https://github.com/netbox-community/netbox/commit/d6443f7b37f8e86fc99f1cd58e8a8ca18cfa3290) Standardized "save and add/continue" functions ### 📊 Changes **12 files changed** (+184 additions, -197 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/views.py` (+2 -1) 📝 `netbox/dcim/views.py` (+3 -0) 📝 `netbox/extras/views.py` (+1 -0) 📝 `netbox/ipam/views.py` (+1 -0) 📝 `netbox/secrets/views.py` (+2 -2) 📝 `netbox/templates/circuits/circuittermination_edit.html` (+52 -79) 📝 `netbox/templates/dcim/interface_edit.html` (+0 -11) 📝 `netbox/templates/secrets/secret_edit.html` (+47 -77) 📝 `netbox/templates/tenancy/tenant_edit.html` (+0 -1) 📝 `netbox/templates/utilities/obj_edit.html` (+28 -12) 📝 `netbox/templates/virtualization/interface_edit.html` (+0 -11) 📝 `netbox/utilities/views.py` (+48 -3) </details> ### 📄 Description ### Fixes: #2237 This approach moves the create/update/cancel buttons when editing an object to the top right corner and keeps them fixed as the page scrolls. This ensures the buttons are always immediately accessible regardless of where the user is focused in the form. --- <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:04 +01:00
adam closed this issue 2025-12-29 22:21:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12359