diff --git a/daqviewer/daqviewer.py b/daqviewer/daqviewer.py index 477124f..c447fa2 100644 --- a/daqviewer/daqviewer.py +++ b/daqviewer/daqviewer.py @@ -14,14 +14,14 @@ import plotly.plotly as py import plotly.graph_objs as go app = dash.Dash() +app.title = 'daqviewer' app.scripts.config.serve_locally = True app.layout = html.Div([ dcc.Upload( id='upload-data', - children=html.Div(['Drag and Drop or ', - html.A('Select Files')]), + children=html.Div([html.A('Drag and drop csv files, or click to select.')]), style={ - 'width': '100%', + 'width': '99%', 'height': '60px', 'lineHeight': '60px', 'borderWidth': '1px', @@ -30,8 +30,8 @@ app.layout = html.Div([ 'textAlign': 'center', 'margin': '10px' }, - # Allow multiple files to be uploaded - multiple=True), + # Only allow single files to be uploaded + multiple=False), html.Div(id='output-data-upload'), ])