aboutsummaryrefslogtreecommitdiffstats
path: root/web-project
diff options
context:
space:
mode:
Diffstat (limited to 'web-project')
-rw-r--r--web-project/src/solo_tool_web.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/web-project/src/solo_tool_web.py b/web-project/src/solo_tool_web.py
index e3dd9aa..e15f5a1 100644
--- a/web-project/src/solo_tool_web.py
+++ b/web-project/src/solo_tool_web.py
@@ -30,15 +30,18 @@ def main():
ui.dark_mode().enable()
ui.colors(secondary='#ffc107')
+ # Header
with ui.header().classes('items-center'):
ui.button(icon='menu', on_click=lambda: song_drawer.toggle()).props('flat round dense color=white')
ui.label().bind_text_from(st, 'song', lambda index: songName(st.songs[index]) if index is not None else "Select a song").classes('text-lg')
+ # Key points list
with ui.right_drawer(top_corner=True, bottom_corner=True).props('width=120 behavior=desktop'):
ui.label("Key Points").classes('text-lg')
keyPointTables()
ui.button(icon='add', on_click=addKeyPoint).props('flat round dense color=secondary')
+ # Song list
with ui.left_drawer(bottom_corner=True).props('overlay') as song_drawer:
with ui.list().props('separator'):
for i, path in enumerate(st.songs):