fix loading
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import flet as ft
|
||||
import designer as des
|
||||
import designer as des
|
||||
|
||||
class Add_user_data(ft.View):
|
||||
def __init__(self,page:ft.Page,route:str=""):
|
||||
@@ -11,10 +11,20 @@ class Add_user_data(ft.View):
|
||||
controls=[
|
||||
ft.Row(
|
||||
controls=[
|
||||
|
||||
des.Button(text="профиль"),
|
||||
des.Button(text="мои данные",on_click = self.go_to_my_data),
|
||||
des.Button(text="заполнить данные", on_click=self.go_to_data),
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def go_to_info(self,e):
|
||||
self.page.go("/user_info")
|
||||
def go_to_my_data(self,e):
|
||||
self.page.go("/my_data")
|
||||
def go_to_data(self,e):
|
||||
self.page.go("/add_new_data")
|
||||
Reference in New Issue
Block a user