Cleaned up the grid that shows a person's db entries. Created basic card for the dashboard page.

This commit is contained in:
Norm Rasmussen
2024-10-07 13:31:17 -04:00
parent c33157ec78
commit 9279c239b4
8 changed files with 90 additions and 55 deletions

13
dashboard.py Normal file
View File

@ -0,0 +1,13 @@
import theme
from nicegui import ui
from main import checked_data
@ui.page('/dashboard')
def dashboard():
with theme.frame('Dashboard'):
pass
with ui.grid(columns='auto 150px'):
with ui.card().classes('border-purple-200 grid justify-items-center').style('border: 2px solid rgba(0, 255, 0, .25)'):
ui.label('John 3:16').classes('text-center')
ui.label('For God Sent his son etc etc').classes('font-bold')