|
@@ -22,7 +22,9 @@ PARAMS = (
|
|
|
default='',
|
|
default='',
|
|
|
description="Additional content to display on the login page",
|
|
description="Additional content to display on the login page",
|
|
|
field_kwargs={
|
|
field_kwargs={
|
|
|
- 'widget': forms.Textarea(),
|
|
|
|
|
|
|
+ 'widget': forms.Textarea(
|
|
|
|
|
+ attrs={'class': 'vLargeTextField'}
|
|
|
|
|
+ ),
|
|
|
},
|
|
},
|
|
|
),
|
|
),
|
|
|
ConfigParam(
|
|
ConfigParam(
|
|
@@ -31,7 +33,9 @@ PARAMS = (
|
|
|
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={
|
|
field_kwargs={
|
|
|
- 'widget': forms.Textarea(),
|
|
|
|
|
|
|
+ 'widget': forms.Textarea(
|
|
|
|
|
+ attrs={'class': 'vLargeTextField'}
|
|
|
|
|
+ ),
|
|
|
},
|
|
},
|
|
|
),
|
|
),
|
|
|
ConfigParam(
|
|
ConfigParam(
|
|
@@ -40,7 +44,9 @@ PARAMS = (
|
|
|
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={
|
|
field_kwargs={
|
|
|
- 'widget': forms.Textarea(),
|
|
|
|
|
|
|
+ 'widget': forms.Textarea(
|
|
|
|
|
+ attrs={'class': 'vLargeTextField'}
|
|
|
|
|
+ ),
|
|
|
},
|
|
},
|
|
|
),
|
|
),
|
|
|
|
|
|
|
@@ -109,7 +115,12 @@ PARAMS = (
|
|
|
label='Custom validators',
|
|
label='Custom validators',
|
|
|
default={},
|
|
default={},
|
|
|
description="Custom validation rules (JSON)",
|
|
description="Custom validation rules (JSON)",
|
|
|
- field=forms.JSONField
|
|
|
|
|
|
|
+ field=forms.JSONField,
|
|
|
|
|
+ field_kwargs={
|
|
|
|
|
+ 'widget': forms.Textarea(
|
|
|
|
|
+ attrs={'class': 'vLargeTextField'}
|
|
|
|
|
+ ),
|
|
|
|
|
+ },
|
|
|
),
|
|
),
|
|
|
|
|
|
|
|
# NAPALM
|
|
# NAPALM
|
|
@@ -137,7 +148,12 @@ PARAMS = (
|
|
|
label='NAPALM arguments',
|
|
label='NAPALM arguments',
|
|
|
default={},
|
|
default={},
|
|
|
description="Additional arguments to pass when invoking a NAPALM driver (as JSON data)",
|
|
description="Additional arguments to pass when invoking a NAPALM driver (as JSON data)",
|
|
|
- field=forms.JSONField
|
|
|
|
|
|
|
+ field=forms.JSONField,
|
|
|
|
|
+ field_kwargs={
|
|
|
|
|
+ 'widget': forms.Textarea(
|
|
|
|
|
+ attrs={'class': 'vLargeTextField'}
|
|
|
|
|
+ ),
|
|
|
|
|
+ },
|
|
|
),
|
|
),
|
|
|
|
|
|
|
|
# Miscellaneous
|
|
# Miscellaneous
|