mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 05:21:55 -06:00
* Fixes #8398: Add ConfigParam.size to enlarge specific config fields
* Revert "Fixes #8398: Add ConfigParam.size to enlarge specific config fields"
This reverts commit 05e8fff458
.
* Use forms.Textarea for the banner config fields
This commit is contained in:
parent
450a7730d3
commit
c0a65eb593
@ -20,19 +20,28 @@ PARAMS = (
|
|||||||
name='BANNER_LOGIN',
|
name='BANNER_LOGIN',
|
||||||
label='Login banner',
|
label='Login banner',
|
||||||
default='',
|
default='',
|
||||||
description="Additional content to display on the login page"
|
description="Additional content to display on the login page",
|
||||||
|
field_kwargs={
|
||||||
|
'widget': forms.Textarea(),
|
||||||
|
},
|
||||||
),
|
),
|
||||||
ConfigParam(
|
ConfigParam(
|
||||||
name='BANNER_TOP',
|
name='BANNER_TOP',
|
||||||
label='Top banner',
|
label='Top banner',
|
||||||
default='',
|
default='',
|
||||||
description="Additional content to display at the top of every page"
|
description="Additional content to display at the top of every page",
|
||||||
|
field_kwargs={
|
||||||
|
'widget': forms.Textarea(),
|
||||||
|
},
|
||||||
),
|
),
|
||||||
ConfigParam(
|
ConfigParam(
|
||||||
name='BANNER_BOTTOM',
|
name='BANNER_BOTTOM',
|
||||||
label='Bottom banner',
|
label='Bottom banner',
|
||||||
default='',
|
default='',
|
||||||
description="Additional content to display at the bottom of every page"
|
description="Additional content to display at the bottom of every page",
|
||||||
|
field_kwargs={
|
||||||
|
'widget': forms.Textarea(),
|
||||||
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
# IPAM
|
# IPAM
|
||||||
|
Loading…
Reference in New Issue
Block a user