Aliaksandr commited on
Commit
f7aeae4
Β·
unverified Β·
1 Parent(s): f655f69

bugfix (#24)

Browse files
Files changed (1) hide show
  1. src/web/utils.py +2 -1
src/web/utils.py CHANGED
@@ -28,11 +28,12 @@ def create_status_html(status: str, steps: list[tuple[str, bool]], error_text: s
28
  }
29
  """
30
 
 
31
  steps_html = "\n".join(
32
  [
33
  f'<div class="step-item" style="display: flex; align-items: center; padding: 0.8rem; margin-bottom: 0.5rem; background-color: #31395294; border-radius: 6px; font-weight: 600;">'
34
  f'<span class="step-icon" style="margin-right: 1rem; font-size: 1.3rem;">'
35
- f'{"βœ…" if completed else "<div class='spinner'></div>"}'
36
  f'</span>'
37
  f'<span class="step-text" style="font-size: 1.1rem; color: #e0e0e0;">{step}</span>'
38
  f'</div>'
 
28
  }
29
  """
30
 
31
+ spinner_div = "<div class='spinner'></div>"
32
  steps_html = "\n".join(
33
  [
34
  f'<div class="step-item" style="display: flex; align-items: center; padding: 0.8rem; margin-bottom: 0.5rem; background-color: #31395294; border-radius: 6px; font-weight: 600;">'
35
  f'<span class="step-icon" style="margin-right: 1rem; font-size: 1.3rem;">'
36
+ f'{"βœ…" if completed else spinner_div}'
37
  f'</span>'
38
  f'<span class="step-text" style="font-size: 1.1rem; color: #e0e0e0;">{step}</span>'
39
  f'</div>'