-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmyinput.py
More file actions
executable file
·35 lines (32 loc) · 1.02 KB
/
myinput.py
File metadata and controls
executable file
·35 lines (32 loc) · 1.02 KB
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
# -*- 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
def InputTextHTML(id_,placeholder_):
return dcc.Input(
id= id_,
inputmode= 'latin-english',
minlength = 1,
maxlength = 30,
placeholder= placeholder_,
spellCheck = True,
style={
'width': '80%',
'marginLeft': '10%', 'marginRight': '10%',
'height': '97.5%',
'marginBottom': '2.5%',
'textAlign': 'left',
'color': '#000000',
'fontFamily': 'Roboto Condensed',
'fontSize': '18',
'fontWeight': 'normal',
'marginLeft': '35px',
},
type='text',
value=''
)