Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Nov 24, 2024
1 parent 9a721a9 commit 6b525cf
Show file tree
Hide file tree
Showing 3 changed files with 448 additions and 416 deletions.
3 changes: 3 additions & 0 deletions beaverhabits/frontend/habit_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def habit_page(today: datetime.date, habit: Habit):
link("Last 3 Months", get_habit_heatmap_path(habit)).classes("text-base")
habit_heat_map(habit, habit_calendar, ticked_data=ticked_data)

with card():
link("Total", get_habit_heatmap_path(habit)).classes("text-base")


def habit_page_ui(today: datetime.date, habit: Habit):
ui.add_css(CHECK_BOX_CSS)
Expand Down
2 changes: 1 addition & 1 deletion beaverhabits/frontend/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def layout(title: str | None = None, with_menu: bool = True):
custom_header()
add_umami_headers()

path = context.get_client().page.path
path = context.client.page.path
logger.info(f"Rendering page: {path}")
with ui.row().classes("min-w-full gap-x-2"):
menu_header(title, target=root_path)
Expand Down
Loading

0 comments on commit 6b525cf

Please sign in to comment.