Add additional save / create / cancel buttons to top of forms (or make existing buttons stay visible) #9609

Closed
opened 2025-12-29 21:19:40 +01:00 by adam · 9 comments
Owner

Originally created by @ITJamie on GitHub (May 7, 2024).

Originally assigned to: @atownson on GitHub.

NetBox version

v4.0.0

Feature type

New functionality

Proposed functionality

Add save / create / cancel buttons to top of forms (or make existing buttons stay visible )

Use case

when a model has a lot of fields/custom fields (or is being used on a small display) there can be a lot of scrolling to get to the save / create buttons.
it would be great if there was a copy of those buttons at the top of the form or if the existing buttons were always visible on the form

Database changes

N/A

External dependencies

N/A

Originally created by @ITJamie on GitHub (May 7, 2024). Originally assigned to: @atownson on GitHub. ### NetBox version v4.0.0 ### Feature type New functionality ### Proposed functionality Add `save / create / cancel` buttons to top of forms (or make existing buttons stay visible ) ### Use case when a model has a lot of fields/custom fields (or is being used on a small display) there can be a lot of scrolling to get to the save / create buttons. it would be great if there was a copy of those buttons at the top of the form or if the existing buttons were always visible on the form ### Database changes N/A ### External dependencies N/A
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:19:40 +01:00
adam closed this issue 2025-12-29 21:19:40 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 7, 2024):

There was some discussion around this idea way back in #2237. Unfortunately it never found an owner.

@jeremystretch commented on GitHub (May 7, 2024): There was some discussion around this idea way back in #2237. Unfortunately it never found an owner.
Author
Owner

@ITJamie commented on GitHub (May 7, 2024):

What would be deemed acceptable?

  • An extra set of buttons at the top of the form
  • Some kind of "fixed" bar with the action buttons

If it was just an extra set of buttons at the top I could likely take a stab at it.

@ITJamie commented on GitHub (May 7, 2024): What would be deemed acceptable? - An extra set of buttons at the top of the form - Some kind of "fixed" bar with the action buttons If it was just an extra set of buttons at the top I could likely take a stab at it.
Author
Owner

@jeremystretch commented on GitHub (May 7, 2024):

IMO a single set of fixed/floating buttons would be ideal. Rendering multiple buttons that do the same thing can be confusing and error-prone.

@jeremystretch commented on GitHub (May 7, 2024): IMO a single set of fixed/floating buttons would be ideal. Rendering multiple buttons that do the same thing can be confusing and error-prone.
Author
Owner

@paynl-wesley commented on GitHub (May 22, 2024):

What would be deemed acceptable?

  • An extra set of buttons at the top of the form
  • Some kind of "fixed" bar with the action buttons

If it was just an extra set of buttons at the top I could likely take a stab at it.

IMHO a fixed bar with the action buttons on the bottom would be awesome!

@paynl-wesley commented on GitHub (May 22, 2024): > What would be deemed acceptable? > > * An extra set of buttons at the top of the form > * Some kind of "fixed" bar with the action buttons > > If it was just an extra set of buttons at the top I could likely take a stab at it. IMHO a fixed bar with the action buttons on the bottom would be awesome!
Author
Owner

@github-actions[bot] commented on GitHub (Aug 27, 2024):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 27, 2024): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@atownson commented on GitHub (Sep 16, 2024):

Any thoughts on this approach?

Added this CSS to the buttons div:

position: sticky;
bottom: 0px;
padding: 2px 0px 10px 0px;
z-index: 1;
background-color: var(--tblr-bg-surface-tertiary)

Result:

https://github.com/user-attachments/assets/4e230529-82ab-4641-a677-e3399af5c637

@atownson commented on GitHub (Sep 16, 2024): Any thoughts on this approach? Added this CSS to the buttons div: ``` position: sticky; bottom: 0px; padding: 2px 0px 10px 0px; z-index: 1; background-color: var(--tblr-bg-surface-tertiary) ``` Result: https://github.com/user-attachments/assets/4e230529-82ab-4641-a677-e3399af5c637
Author
Owner

@paynl-wesley commented on GitHub (Sep 17, 2024):

Awesome!

@paynl-wesley commented on GitHub (Sep 17, 2024): Awesome!
Author
Owner

@atownson commented on GitHub (Sep 17, 2024):

I can submit a PR for this if the above method is acceptable.

@atownson commented on GitHub (Sep 17, 2024): I can submit a PR for this if the above method is acceptable.
Author
Owner

@jeremystretch commented on GitHub (Sep 17, 2024):

Thanks @atownson I've assigned this to you for a PR.

@jeremystretch commented on GitHub (Sep 17, 2024): Thanks @atownson I've assigned this to you for a PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9609