jrrribeiro commited on
Commit
6c162bb
·
verified ·
1 Parent(s): c018d00

Sync app from GitHub Actions

Browse files
Files changed (2) hide show
  1. src/ui/app_factory.py +10 -3
  2. src/ui/theme.py +17 -0
src/ui/app_factory.py CHANGED
@@ -3484,7 +3484,7 @@ def create_app() -> gr.Blocks:
3484
  gr.HTML(
3485
  section_header_html(
3486
  "Validation workbench",
3487
- "Review audio segments with less friction",
3488
  "Load a project, listen to the current segment, review the spectrogram, and keep the queue moving with clear status actions.",
3489
  )
3490
  )
@@ -4447,7 +4447,11 @@ def create_app() -> gr.Blocks:
4447
  interactive=False,
4448
  allow_custom_value=True,
4449
  )
4450
- refresh_report_btn = gr.Button("Refresh dashboard", variant="primary", elem_classes=["bn-clean-action"])
 
 
 
 
4451
  report_kpis = gr.HTML(value="")
4452
  report_coverage_bars = gr.HTML(value=coverage_bars_html([]))
4453
  report_validator_page = gr.State(value=1)
@@ -4733,7 +4737,10 @@ def create_app() -> gr.Blocks:
4733
  )
4734
  settings_health = gr.HTML(value="")
4735
  settings_status = gr.Markdown(value="")
4736
- refresh_settings_btn = gr.Button("Refresh health")
 
 
 
4737
 
4738
  def _render_settings_health():
4739
  backend = (runtime_config.state_backend or "filesystem").strip().lower()
 
3484
  gr.HTML(
3485
  section_header_html(
3486
  "Validation workbench",
3487
+ "Review audio segments",
3488
  "Load a project, listen to the current segment, review the spectrogram, and keep the queue moving with clear status actions.",
3489
  )
3490
  )
 
4447
  interactive=False,
4448
  allow_custom_value=True,
4449
  )
4450
+ refresh_report_btn = gr.Button(
4451
+ "Refresh dashboard",
4452
+ variant="primary",
4453
+ elem_classes=["bn-clean-action", "bn-orange-action"],
4454
+ )
4455
  report_kpis = gr.HTML(value="")
4456
  report_coverage_bars = gr.HTML(value=coverage_bars_html([]))
4457
  report_validator_page = gr.State(value=1)
 
4737
  )
4738
  settings_health = gr.HTML(value="")
4739
  settings_status = gr.Markdown(value="")
4740
+ refresh_settings_btn = gr.Button(
4741
+ "Refresh health",
4742
+ elem_classes=["bn-orange-action"],
4743
+ )
4744
 
4745
  def _render_settings_health():
4746
  backend = (runtime_config.state_backend or "filesystem").strip().lower()
src/ui/theme.py CHANGED
@@ -692,6 +692,23 @@ button.bn-clean-action.secondary:hover {
692
  background: #bfdbfe !important;
693
  }
694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
695
  .bn-admin-action button,
696
  button.bn-admin-action {
697
  min-height: 48px !important;
 
692
  background: #bfdbfe !important;
693
  }
694
 
695
+ .bn-orange-action button,
696
+ button.bn-orange-action {
697
+ min-height: 42px !important;
698
+ border: 1px solid #f97316 !important;
699
+ border-radius: 8px !important;
700
+ background: #f97316 !important;
701
+ color: #ffffff !important;
702
+ font-weight: 760 !important;
703
+ }
704
+
705
+ .bn-orange-action button:hover,
706
+ button.bn-orange-action:hover {
707
+ border-color: #ea580c !important;
708
+ background: #ea580c !important;
709
+ color: #ffffff !important;
710
+ }
711
+
712
  .bn-admin-action button,
713
  button.bn-admin-action {
714
  min-height: 48px !important;