move rooms button to the left
This commit is contained in:
@@ -6,8 +6,9 @@ from web.misc import logout, check_user
|
|||||||
async def draw_header():
|
async def draw_header():
|
||||||
with ui.header(wrap=False):
|
with ui.header(wrap=False):
|
||||||
with ui.row(wrap=False).classes("w-full justify-between"):
|
with ui.row(wrap=False).classes("w-full justify-between"):
|
||||||
ui.button(icon="home", on_click=lambda: ui.navigate.to("/contents"))
|
with ui.row(wrap=False).classes("items-center"):
|
||||||
ui.button(text="Rooms", icon="movie", on_click=lambda: ui.navigate.to("/rooms"))
|
ui.button(icon="home", on_click=lambda: ui.navigate.to("/contents"))
|
||||||
|
ui.button(text="Rooms", icon="movie", on_click=lambda: ui.navigate.to("/rooms"))
|
||||||
|
|
||||||
with ui.row(wrap=False).classes("items-center"):
|
with ui.row(wrap=False).classes("items-center"):
|
||||||
if user := await check_user():
|
if user := await check_user():
|
||||||
|
|||||||
Reference in New Issue
Block a user