Development
This commit is contained in:
parent
554957b2e0
commit
5bb382e62f
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import json, re, subprocess, os, sys, html as html_mod
|
|||
import sanitize
|
||||
import validation as validate
|
||||
from datetime import datetime, timezone
|
||||
from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _apply_changes_immediately, _seconds_until_next_run, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR
|
||||
from config_utils import config_hash, get_pending_entries, get_dashboard_pending, get_dashboard_done, load_snapshot_for_uuid, load_all_snapshots, get_done_timestamps, queue_command, _find_cmd_in_queues, _entry_ts_from_queue, _apply_changes_immediately, _seconds_until_next_run, _format_timing, _is_locked, _lock_mtime, WEB_APP_DISPLAY_NAME, CONFIGS_DIR, DATA_DIR
|
||||
|
||||
bp = Blueprint('view_page', __name__)
|
||||
|
||||
|
|
@ -1747,7 +1747,7 @@ def render_layout(view_id, content_html, tokens):
|
|||
+ ''.join(f'<li>{d}</li>' for d in items)
|
||||
+ '</ul>')
|
||||
uuid_attr = (f' data-health-uuid="{e(fix_uuid)}"'
|
||||
if fix_uuid and _apply_changes_immediately() else '')
|
||||
if fix_uuid and _entry_ts_from_queue(fix_uuid) is not None else '')
|
||||
fix_html = (f'<div style="margin-top:0.5em"{uuid_attr}>{fix_suffix}</div>'
|
||||
if fix_suffix else '')
|
||||
content = ('<div style="width:100%">'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue