push web
This commit is contained in:
@@ -11,7 +11,7 @@ class UserView(ft.View):
|
||||
|
||||
profile_btn = ft.IconButton(
|
||||
icon=ft.Icons.ACCOUNT_CIRCLE,
|
||||
icon_color=ds.clolors.ferst,
|
||||
icon_color=ds.colors.primary,
|
||||
icon_size=ds.s(30),
|
||||
tooltip="Профиль",
|
||||
on_click=lambda _: page.go(f"/profile/{url_key}"),
|
||||
@@ -19,22 +19,22 @@ class UserView(ft.View):
|
||||
|
||||
super().__init__(
|
||||
route=f"/user/{url_key}",
|
||||
bgcolor=ds.clolors.background,
|
||||
bgcolor=ds.colors.background,
|
||||
horizontal_alignment=ft.CrossAxisAlignment.STRETCH,
|
||||
vertical_alignment=ft.MainAxisAlignment.START,
|
||||
padding=ft.padding.symmetric(horizontal=ds.s(12), vertical=ds.s(8)),
|
||||
scroll=ft.ScrollMode.AUTO,
|
||||
)
|
||||
self.controls = [
|
||||
ft.Column(
|
||||
expand=True,
|
||||
alignment=ft.MainAxisAlignment.START,
|
||||
spacing=ds.s(12),
|
||||
controls=[
|
||||
ft.Row(
|
||||
alignment=ft.MainAxisAlignment.SPACE_BETWEEN,
|
||||
controls=[
|
||||
ft.Text(
|
||||
"Добро пожаловать в COPP!",
|
||||
color=ds.clolors.ferst,
|
||||
color=ds.colors.primary,
|
||||
size=ds.s(20),
|
||||
weight=ft.FontWeight.BOLD,
|
||||
expand=True,
|
||||
|
||||
Reference in New Issue
Block a user