fix install diogram
This commit is contained in:
@@ -61,22 +61,24 @@ class RegView(ft.View):
|
||||
super().__init__(
|
||||
route="/reg",
|
||||
bgcolor=ds.clolors.background,
|
||||
horizontal_alignment=ft.CrossAxisAlignment.CENTER,
|
||||
horizontal_alignment=ft.CrossAxisAlignment.STRETCH,
|
||||
vertical_alignment=ft.MainAxisAlignment.CENTER,
|
||||
padding=ft.padding.symmetric(horizontal=16, vertical=24),
|
||||
scroll=ft.ScrollMode.AUTO,
|
||||
)
|
||||
self.controls = [
|
||||
ft.Text("COPP", color=ds.clolors.ferst, size=30, weight=ft.FontWeight.BOLD),
|
||||
ft.Text("COPP", color=ds.clolors.ferst, size=30, weight=ft.FontWeight.BOLD,
|
||||
text_align=ft.TextAlign.CENTER),
|
||||
ft.Container(height=8),
|
||||
ft.Text("Регистрация в системе", color=ds.clolors.ferst, size=16),
|
||||
ft.Text("Регистрация в системе", color=ds.clolors.ferst, size=16,
|
||||
text_align=ft.TextAlign.CENTER),
|
||||
ft.Container(height=24),
|
||||
ft.Container(
|
||||
width=360,
|
||||
padding=ft.padding.all(24),
|
||||
bgcolor=ds.clolors.laer3,
|
||||
border_radius=16,
|
||||
content=ft.Column(
|
||||
spacing=16,
|
||||
scroll="auto",
|
||||
controls=[
|
||||
self._first_name,
|
||||
self._last_name,
|
||||
@@ -86,6 +88,9 @@ class RegView(ft.View):
|
||||
self._group_dropdown,
|
||||
self._error,
|
||||
ft.Row(
|
||||
wrap=True,
|
||||
spacing=8,
|
||||
run_spacing=8,
|
||||
controls=[
|
||||
self._btn_cansel,
|
||||
self._btn,
|
||||
|
||||
Reference in New Issue
Block a user