1234
This commit is contained in:
17
app/view.py
Normal file
17
app/view.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import flet as ft
|
||||
from designer import color
|
||||
from pages import login,user_info,add_new_data,my_data
|
||||
|
||||
def ViewsHendler(page:ft.Page):
|
||||
return {
|
||||
"/":ft.View(
|
||||
route="/",
|
||||
controls=[
|
||||
login.Login(page=page)
|
||||
],
|
||||
bgcolor=color[2]
|
||||
),
|
||||
"/user_info":user_info.User_info(page=page),
|
||||
"/my_data":my_data.My_data(page=page),
|
||||
"/add_new_data":add_new_data.Add_new_data(page=page)
|
||||
}
|
||||
Reference in New Issue
Block a user