add article and pubications
This commit is contained in:
@@ -2,6 +2,7 @@ import flet as ft
|
||||
from pages.settings.documente_juridice import DocumenteJuridice
|
||||
from pages.settings.users import UsersSettings
|
||||
from pages.settings.payment_and_subscription import PaymentAndSubscription
|
||||
from pages.settings.articles import ArticlesSettings
|
||||
|
||||
class Settings:
|
||||
def __init__(self, page: ft.Page, home):
|
||||
@@ -11,6 +12,7 @@ class Settings:
|
||||
self.doc_juridice = DocumenteJuridice(self.page)
|
||||
self.users_settings = UsersSettings(self.page)
|
||||
self.payment_and_subscription = PaymentAndSubscription(self.page)
|
||||
self.articles_settings = ArticlesSettings(self.page)
|
||||
|
||||
def build(self):
|
||||
return ft.Tabs(
|
||||
@@ -42,8 +44,9 @@ class Settings:
|
||||
expand=True
|
||||
),
|
||||
ft.Container(
|
||||
content=ft.Text("This is Tab 2"),
|
||||
content=self.articles_settings.build(),
|
||||
alignment=ft.Alignment.CENTER,
|
||||
expand=True
|
||||
),
|
||||
ft.Container(
|
||||
content=ft.Text("This is Tab 3"),
|
||||
|
||||
Reference in New Issue
Block a user