Add log output widget
This commit is contained in:
parent
cffe94bf8f
commit
dc92aac19f
@ -322,9 +322,14 @@ def create():
|
|||||||
config.save_as(temp_file)
|
config.save_as(temp_file)
|
||||||
pyzebra.anatric(temp_file)
|
pyzebra.anatric(temp_file)
|
||||||
|
|
||||||
|
with open(config.logfile) as f_log:
|
||||||
|
output_log.value = f_log.read()
|
||||||
|
|
||||||
process_button = Button(label="Process", button_type="primary")
|
process_button = Button(label="Process", button_type="primary")
|
||||||
process_button.on_click(process_button_callback)
|
process_button.on_click(process_button_callback)
|
||||||
|
|
||||||
|
output_log = TextAreaInput(height=700, disabled=True)
|
||||||
|
|
||||||
tab_layout = row(
|
tab_layout = row(
|
||||||
column(
|
column(
|
||||||
fileinput,
|
fileinput,
|
||||||
@ -362,6 +367,7 @@ def create():
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
output_log,
|
||||||
)
|
)
|
||||||
|
|
||||||
return Panel(child=tab_layout, title="Anatric")
|
return Panel(child=tab_layout, title="Anatric")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user