mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-15 20:18:17 -06:00
Fixes https://github.com/netbox-community/netbox/issues/15597: Document the value behind "Default" for the Custom Link "Button Class"
This commit is contained in:
parent
699dd72597
commit
65b399c8b8
@ -60,6 +60,30 @@ The link will only appear when viewing a device with a manufacturer name of "Cis
|
|||||||
|
|
||||||
Group names can be specified to organize links into groups. Links with the same group name will render as a dropdown menu beneath a single button bearing the name of the group.
|
Group names can be specified to organize links into groups. Links with the same group name will render as a dropdown menu beneath a single button bearing the name of the group.
|
||||||
|
|
||||||
|
## Button classes
|
||||||
|
|
||||||
|
Button classes can be specified for custom links which will make the dropdown button in the UI appear as specified. If multiple links are grouped together, the button class of the first link in a group will be used for the dropdown button.
|
||||||
|
|
||||||
|
The following values are possible when bulk-importing custom links:
|
||||||
|
|
||||||
|
| Button class | Value for bulk imports |
|
||||||
|
|-----------|-------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| `Default` | `outline-dark` |
|
||||||
|
| `Blue` | `blue` |
|
||||||
|
| `Indigo` | `indigo` |
|
||||||
|
| `Purple` | `purple` |
|
||||||
|
| `Pink` | `pink` |
|
||||||
|
| `Red` | `red` |
|
||||||
|
| `Orange` | `orange` |
|
||||||
|
| `Yellow` | `yellow` |
|
||||||
|
| `Green` | `green` |
|
||||||
|
| `Teal` | `teal` |
|
||||||
|
| `Cyan` | `cyan` |
|
||||||
|
| `Gray` | `gray` |
|
||||||
|
| `Black` | `black` |
|
||||||
|
| `White` | `white` |
|
||||||
|
| `Link` | `ghost-dark` |
|
||||||
|
|
||||||
## Table Columns
|
## Table Columns
|
||||||
|
|
||||||
Custom links can also be included in object tables by selecting the desired links from the table configuration form. When displayed, each link will render as a hyperlink for its corresponding object. When exported (e.g. as CSV data), each link render only its URL.
|
Custom links can also be included in object tables by selecting the desired links from the table configuration form. When displayed, each link will render as a hyperlink for its corresponding object. When exported (e.g. as CSV data), each link render only its URL.
|
||||||
|
Loading…
Reference in New Issue
Block a user