I feel like I have a good portion of the basic functionality of what I need so far include reading the db, updating db values, calling crossway's API for verses and parsing that payload. Styling leaves a lot to be desired still.

This commit is contained in:
Norm Rasmussen
2024-10-04 19:50:45 -04:00
commit d36add7f35
17 changed files with 217 additions and 0 deletions

17
theme.py Normal file
View File

@ -0,0 +1,17 @@
from contextlib import contextmanager
from nicegui import ui
@contextmanager
def frame(navigation_title: str):
"""Custom page frame to share the same styling and behavior across all pages"""
ui.colors(primary='#6E93D6', secondary='#53B689', accent='#111B1E', positive='#53B689')
with ui.header():
ui.label('Awana Verse Practice').classes('font-bold')
ui.space()
ui.space()
ui.space()
ui.space()
ui.label(navigation_title)
with ui.column().classes('absolute-center items-center'):
yield