a bit better look
This commit is contained in:
@@ -54,7 +54,7 @@ class ContentDialog(ui.dialog):
|
||||
ui.html(f"<b><i>Finished</i></b>").style("font-size: 12px")
|
||||
|
||||
with self.card, ui.row(wrap=False).classes("w-full").style("display: flex; justify-content: center;"):
|
||||
ui.button("Create Room").on_click(self.create_room)
|
||||
ui.button("Create Room").on_click(self.create_room).props("rounded push")
|
||||
|
||||
async def create_room(self):
|
||||
room = await globals.ROOMS_DATABASE.create_room(self.content.tmdb_id)
|
||||
|
||||
@@ -7,10 +7,10 @@ async def draw_header():
|
||||
with ui.header(wrap=False):
|
||||
with ui.row(wrap=False).classes("w-full justify-between"):
|
||||
with ui.row(wrap=False).classes("items-center"):
|
||||
ui.button(icon="home", on_click=lambda: ui.navigate.to("/contents"))
|
||||
ui.button(text="Rooms", icon="movie", on_click=lambda: ui.navigate.to("/rooms"))
|
||||
ui.button(icon="home", on_click=lambda: ui.navigate.to("/contents")).props("rounded")
|
||||
ui.button(text="Rooms", icon="movie", on_click=lambda: ui.navigate.to("/rooms")).props("rounded")
|
||||
|
||||
with ui.row(wrap=False).classes("items-center"):
|
||||
if user := await check_user():
|
||||
ui.html(f"<b>{user.username}</b>")
|
||||
ui.button(icon="logout", on_click=lambda: logout(redirect=True))
|
||||
ui.button(icon="logout", on_click=lambda: logout(redirect=True)).props("rounded")
|
||||
|
||||
Reference in New Issue
Block a user