Adding session timeout settings, branding.

This commit is contained in:
Marat Fayzullin
2023-01-04 22:12:28 -05:00
parent 7885ead123
commit d5e64e2dc0
6 changed files with 32 additions and 2 deletions

View File

@ -176,6 +176,21 @@ class GeneralSettingsController(SettingsFormController):
+ "is supposed to be.",
),
),
Section(
"Session Timeout",
TextInput(
"usage_policy_url",
"Usage policy URL",
infotext="Specifies web page describing receiver usage policy "
+ "and shown when the user session times out.",
),
NumberInput(
"session_timeout",
"Session Timeout",
infotext="User session timeout in seconds (0 to disable timeout).",
append="secs",
),
),
]
def remove_existing_image(self, image_id):

View File

@ -18,6 +18,8 @@ class ReceiverDetails(PropertyFilter):
"receiver_gps",
"photo_title",
"photo_desc",
"usage_policy_url",
"session_timeout",
)
)