Hey, it actually looks nice.

This commit is contained in:
Tomasz Rewak
2023-05-14 22:17:50 +02:00
parent d798b8025e
commit b45cf1c789
2 changed files with 28 additions and 8 deletions
+8 -1
View File
@@ -23,8 +23,15 @@ app.layout = Magi(id='magi', children=[
html.Div(children='EX_MODE : OFF'),
html.Div(children='PRIORITY : AAA')]),
WiseMan(id={'type': 'wise-man', 'name': 'melchior'}, name='melchior', order_number=1, question_id=0, answer={'id': 0, 'response': 'yes', 'status': 'yes'}),
WiseMan(id={'type': 'wise-man', 'name': 'baltasar'}, name='baltasar', order_number=2, question_id=0, answer={'id': 0, 'response': 'yes', 'status': 'yes'}),
WiseMan(id={'type': 'wise-man', 'name': 'balthasar'}, name='balthasar', order_number=2, question_id=0, answer={'id': 0, 'response': 'yes', 'status': 'yes'}),
WiseMan(id={'type': 'wise-man', 'name': 'casper'}, name='casper', order_number=3, question_id=0, answer={'id': 0, 'response': 'yes', 'status': 'yes'}),
html.Div(className='title', children='MAGI'),
html.Div(className='header', children=[
html.Hr(),
html.Hr(),
html.Hr(),
html.Hr()
]),
dcc.Input(id='query', type='text', value='', debounce=True, autoComplete='off'),
dcc.Store(id='question', data={'id': 0, 'query': ''}),