Cleaned up the grid that shows a person's db entries. Created basic card for the dashboard page.
This commit is contained in:
8
theme.py
8
theme.py
@ -5,13 +5,15 @@ 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')
|
||||
ui.colors(primary='#023047', secondary='#219ebc', accent='#8ecae6', positive='#ffb703', negative='#fb8500')
|
||||
with ui.header():
|
||||
ui.label('Awana Verse Practice').classes('font-bold')
|
||||
ui.label('Awana Verse Practice').classes('font-bold font-16')
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.space()
|
||||
ui.label(navigation_title)
|
||||
with ui.row():
|
||||
ui.link('Admin', '/').classes(replace='text-white')
|
||||
ui.link('Dashboard', '/dashboard').classes(replace='text-white')
|
||||
with ui.column().classes('absolute-center items-center'):
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user