Added AppViews
This commit is contained in:
13
apps/plugins/__init__.py
Normal file
13
apps/plugins/__init__.py
Normal file
@ -0,0 +1,13 @@
|
||||
from .dhiraagu import Dhiraagu
|
||||
from .ooredoo import Ooredoo
|
||||
from .medianet import Medianet
|
||||
from .mwsc import Mwsc
|
||||
from .stelco import Stelco
|
||||
|
||||
__all__ = [
|
||||
'Dhiraagu',
|
||||
'Ooredoo',
|
||||
'Medianet',
|
||||
'Stelco',
|
||||
'Mwsc'
|
||||
]
|
5
apps/plugins/dhiraagu/__init__.py
Normal file
5
apps/plugins/dhiraagu/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Dhiraagu
|
||||
|
||||
__all__ = [
|
||||
'Dhiraagu'
|
||||
]
|
18
apps/plugins/dhiraagu/app.py
Normal file
18
apps/plugins/dhiraagu/app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import flet as ft
|
||||
from utils import AppView
|
||||
|
||||
|
||||
def App(page: ft.Page):
|
||||
return AppView(
|
||||
'/apps/dhiraagu',
|
||||
[
|
||||
ft.AppBar(
|
||||
leading=ft.IconButton(
|
||||
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
|
||||
on_click=lambda _: page.go('/apps'),
|
||||
),
|
||||
title=ft.Text("Dhiraagu"),
|
||||
bgcolor=ft.colors.TRANSPARENT,
|
||||
),
|
||||
],
|
||||
)
|
5
apps/plugins/medianet/__init__.py
Normal file
5
apps/plugins/medianet/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Medianet
|
||||
|
||||
__all__ = [
|
||||
"Medianet"
|
||||
]
|
18
apps/plugins/medianet/app.py
Normal file
18
apps/plugins/medianet/app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import flet as ft
|
||||
from utils import AppView
|
||||
|
||||
|
||||
def App(page: ft.Page):
|
||||
return AppView(
|
||||
'/apps/medianet',
|
||||
[
|
||||
ft.AppBar(
|
||||
leading=ft.IconButton(
|
||||
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
|
||||
on_click=lambda _: page.go('/apps'),
|
||||
),
|
||||
title=ft.Text("Medianet"),
|
||||
bgcolor=ft.colors.TRANSPARENT,
|
||||
),
|
||||
],
|
||||
)
|
5
apps/plugins/mwsc/__init__.py
Normal file
5
apps/plugins/mwsc/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Mwsc
|
||||
|
||||
__all__ = [
|
||||
'Mwsc'
|
||||
]
|
18
apps/plugins/mwsc/app.py
Normal file
18
apps/plugins/mwsc/app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import flet as ft
|
||||
from utils import AppView
|
||||
|
||||
|
||||
def App(page: ft.Page):
|
||||
return AppView(
|
||||
'/apps/mwsc',
|
||||
[
|
||||
ft.AppBar(
|
||||
leading=ft.IconButton(
|
||||
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
|
||||
on_click=lambda _: page.go('/apps'),
|
||||
),
|
||||
title=ft.Text("MWSC"),
|
||||
bgcolor=ft.colors.TRANSPARENT,
|
||||
),
|
||||
],
|
||||
)
|
5
apps/plugins/ooredoo/__init__.py
Normal file
5
apps/plugins/ooredoo/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Ooredoo
|
||||
|
||||
__all__ = [
|
||||
'Ooredoo'
|
||||
]
|
18
apps/plugins/ooredoo/app.py
Normal file
18
apps/plugins/ooredoo/app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import flet as ft
|
||||
from utils import AppView
|
||||
|
||||
|
||||
def App(page: ft.Page):
|
||||
return AppView(
|
||||
'/apps/ooredoo',
|
||||
[
|
||||
ft.AppBar(
|
||||
leading=ft.IconButton(
|
||||
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
|
||||
on_click=lambda _: page.go('/apps'),
|
||||
),
|
||||
title=ft.Text("Ooredoo"),
|
||||
bgcolor=ft.colors.TRANSPARENT,
|
||||
),
|
||||
],
|
||||
)
|
5
apps/plugins/stelco/__init__.py
Normal file
5
apps/plugins/stelco/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Stelco
|
||||
|
||||
__all__ = [
|
||||
'Stelco'
|
||||
]
|
18
apps/plugins/stelco/app.py
Normal file
18
apps/plugins/stelco/app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import flet as ft
|
||||
from utils import AppView
|
||||
|
||||
|
||||
def App(page: ft.Page):
|
||||
return AppView(
|
||||
'/apps/stelco',
|
||||
[
|
||||
ft.AppBar(
|
||||
leading=ft.IconButton(
|
||||
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
|
||||
on_click=lambda _: page.go('/apps'),
|
||||
),
|
||||
title=ft.Text("STELCO"),
|
||||
bgcolor=ft.colors.TRANSPARENT,
|
||||
),
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user