-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdroplist.py
More file actions
executable file
·37 lines (33 loc) · 962 Bytes
/
droplist.py
File metadata and controls
executable file
·37 lines (33 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
import base64
import datetime
import io
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
import pandas as pd
from utils import *
def DroplistHTML(id_,options,value):
return html.Div([
dcc.Dropdown(
id= id_,
style = {
'width': '80%',
'textAlign': 'left',
'color': '#000000',
'fontFamily': 'Roboto Condensed',
'fontSize': '18',
'fontWeight': 'normal',
'marginLeft': '10%',
'marginRight': '10%',
},
options= options,
value= value,
clearable=False,
)],
style = {
'textAlign': 'left',
'width': '100%',
},
)