push web
This commit is contained in:
@@ -60,22 +60,22 @@ class RegView(ft.View):
|
||||
|
||||
super().__init__(
|
||||
route="/reg",
|
||||
bgcolor=ds.clolors.background,
|
||||
bgcolor=ds.colors.background,
|
||||
horizontal_alignment=ft.CrossAxisAlignment.STRETCH,
|
||||
vertical_alignment=ft.MainAxisAlignment.CENTER,
|
||||
padding=ft.padding.symmetric(horizontal=ds.s(16), vertical=ds.s(24)),
|
||||
scroll=ft.ScrollMode.AUTO,
|
||||
)
|
||||
self.controls = [
|
||||
ft.Text("COPP", color=ds.clolors.ferst, size=ds.s(30), weight=ft.FontWeight.BOLD,
|
||||
ft.Text("COPP", color=ds.colors.primary, size=ds.s(30), weight=ft.FontWeight.BOLD,
|
||||
text_align=ft.TextAlign.CENTER),
|
||||
ft.Container(height=ds.s(8)),
|
||||
ft.Text("Регистрация в системе", color=ds.clolors.ferst, size=ds.s(16),
|
||||
ft.Text("Регистрация в системе", color=ds.colors.primary, size=ds.s(16),
|
||||
text_align=ft.TextAlign.CENTER),
|
||||
ft.Container(height=ds.s(24)),
|
||||
ft.Container(
|
||||
padding=ft.padding.all(ds.s(24)),
|
||||
bgcolor=ds.clolors.laer3,
|
||||
bgcolor=ds.colors.surface_alt,
|
||||
border_radius=ds.s(16),
|
||||
content=ft.Column(
|
||||
spacing=ds.s(16),
|
||||
@@ -111,7 +111,7 @@ class RegView(ft.View):
|
||||
)
|
||||
self._orgs = orgs or []
|
||||
|
||||
_opt_style = ft.ButtonStyle(color=ds.clolors.ferst)
|
||||
_opt_style = ft.ButtonStyle(color=ds.colors.text_primary)
|
||||
self._org_dropdown.options = [
|
||||
ft.DropdownOption(key=o["id"], text=o["name_organization"], style=_opt_style) for o in self._orgs
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user