kopia lustrzana https://github.com/dgtlmoon/changedetection.io
UI - Correctly set 'checking now' status badge on edit page
rodzic
a13fedc0d6
commit
f0061110c9
|
@ -242,6 +242,7 @@ def construct_blueprint(datastore: ChangeDetectionStore, update_q, queuedWatchMe
|
||||||
'available_timezones': sorted(available_timezones()),
|
'available_timezones': sorted(available_timezones()),
|
||||||
'browser_steps_config': browser_step_ui_config,
|
'browser_steps_config': browser_step_ui_config,
|
||||||
'emailprefix': os.getenv('NOTIFICATION_MAIL_BUTTON_PREFIX', False),
|
'emailprefix': os.getenv('NOTIFICATION_MAIL_BUTTON_PREFIX', False),
|
||||||
|
'extra_classes': 'checking-now' if worker_handler.is_watch_running(uuid) else '',
|
||||||
'extra_notification_token_placeholder_info': datastore.get_unique_notification_token_placeholders_available(),
|
'extra_notification_token_placeholder_info': datastore.get_unique_notification_token_placeholders_available(),
|
||||||
'extra_processor_config': form.extra_tab_content(),
|
'extra_processor_config': form.extra_tab_content(),
|
||||||
'extra_title': f" - Edit - {watch.label}",
|
'extra_title': f" - Edit - {watch.label}",
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="">
|
<body class="{{extra_classes}}">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="pure-menu-fixed" style="width: 100%;">
|
<div class="pure-menu-fixed" style="width: 100%;">
|
||||||
<div class="home-menu pure-menu pure-menu-horizontal" id="nav-menu">
|
<div class="home-menu pure-menu pure-menu-horizontal" id="nav-menu">
|
||||||
|
|
Ładowanie…
Reference in New Issue