1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-22 16:29:29 +08:00

Merge pull request #89 from MengNianxiaoyao/mydev

update
This commit is contained in:
梦念逍遥
2023-02-03 15:19:57 +08:00
committed by GitHub
2 changed files with 2 additions and 15 deletions

View File

@@ -384,8 +384,7 @@ pre.rich-traceback-code {
grid-auto-flow: column;
}
#pywebio-scope-log-bar #pywebio-scope-dashboard_hr,
#pywebio-scope-log-bar #pywebio-scope-dashboard_hr .hr-group {
#pywebio-scope-log-bar .hr-group {
width: 100%;
}

View File

@@ -380,7 +380,7 @@ class AlasGUI(Frame):
put_scope("dashboard_btn"),
],
),
put_scope("dashboard_hr"),
put_html('<hr class="hr-group">'),
put_scope("dashboard"),
],
),
@@ -413,7 +413,6 @@ class AlasGUI(Frame):
self.task_handler.add(switch_log_scroll.g(), 1, True)
self.task_handler.add(switch_dashboard.g(), 1, True)
self.task_handler.add(self.alas_update_overview_task, 10, True)
self.task_handler.add(self.alas_update_dashboard_hr, 1, True)
self.task_handler.add(self.alas_update_dashboard, 60, True)
self.task_handler.add(log.put_log(self.alas), 0.25, True)
@@ -588,17 +587,6 @@ class AlasGUI(Frame):
else:
put_text(t("Gui.Overview.NoTask")).style("--overview-notask-text--")
def alas_update_dashboard_hr(self):
if not self.visible:
return
clear("dashboard_hr")
with use_scope("dashboard_hr"):
if self._log.display_dashboard == False:
return
elif self._log.display_dashboard == True:
put_html('<hr class="hr-group">')
def alas_update_dashboard(self):
if not self.visible:
return