added progressbar
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import dash_bootstrap_components as dbc
|
||||
import dash_mantine_components as dmc
|
||||
from dash import dcc
|
||||
from dash import html
|
||||
@@ -14,6 +15,17 @@ title_element = dmc.Center(
|
||||
],
|
||||
)
|
||||
|
||||
progress_bar_element = dbc.Progress(
|
||||
id='progress-bar',
|
||||
max=100,
|
||||
value=0,
|
||||
color='lime',
|
||||
label='',
|
||||
style={
|
||||
'width': '400px',
|
||||
},
|
||||
)
|
||||
|
||||
upload_button_element = dcc.Upload(
|
||||
children=[
|
||||
dmc.Button(
|
||||
@@ -37,6 +49,7 @@ header_element = dmc.Header(
|
||||
dmc.Group(
|
||||
children=[
|
||||
title_element,
|
||||
progress_bar_element,
|
||||
upload_button_element,
|
||||
],
|
||||
position='apart',
|
||||
|
||||
Reference in New Issue
Block a user