1
0
Fork 0
forked from Fuji/Fuji

Compare commits

..

No commits in common. "eed70bf5ccf4cb0c97701556c91e19a10fbe4672" and "a62ebeac990903a000248d15a5459cce2fbb49fd" have entirely different histories.

4 changed files with 10 additions and 78 deletions

View file

@ -4,5 +4,4 @@ flet
pydantic pydantic
pyOpenSSL pyOpenSSL
Requests Requests
keyring keyring
sqlmodel

View file

@ -18,4 +18,4 @@ usrconf = {
'fullName': '', 'fullName': '',
'grade': '', 'grade': '',
'semester': 1, 'semester': 1,
} }

View file

@ -73,7 +73,7 @@ def sync(page: ft.Page):
"/grades": GradesPage(page), "/grades": GradesPage(page),
"/timetable": TimetablePage(), "/timetable": TimetablePage(),
"/homework": HomeworkPage(), "/homework": HomeworkPage(),
"/exams": ExamsPage(page), "/exams": ExamsPage(),
"/attendance": AttendancePage(), "/attendance": AttendancePage(),
"/behaviour": BehaviourPage(), "/behaviour": BehaviourPage(),
"/settings": SettingsPage(page) "/settings": SettingsPage(page)
@ -117,7 +117,7 @@ def main(page: ft.Page):
"/grades": GradesPage(page), "/grades": GradesPage(page),
"/timetable": TimetablePage(), "/timetable": TimetablePage(),
"/homework": HomeworkPage(), "/homework": HomeworkPage(),
"/exams": ExamsPage(page), "/exams": ExamsPage(),
"/attendance": AttendancePage(), "/attendance": AttendancePage(),
"/behaviour": BehaviourPage(), "/behaviour": BehaviourPage(),
"/settings": SettingsPage(page) "/settings": SettingsPage(page)

View file

@ -2,77 +2,10 @@ import flet as ft
from i18n import _ from i18n import _
def ExamsPage(page: ft.Page): def ExamsPage():
return ft.Column([ return ft.Column([
ft.Row([ ft.Text((_("Exams")), size=30, weight="bold"),
ft.Text((_("Exams")), size=30, weight="bold"), ft.Placeholder()
ft.Row( ])
[
ft.IconButton(icon=ft.icons.ARROW_LEFT),
ft.Text("14.04-20.04", size=18, weight="bold"),
ft.IconButton(icon=ft.icons.ARROW_RIGHT),
],
alignment=ft.MainAxisAlignment.CENTER
)
], alignment=ft.MainAxisAlignment.SPACE_BETWEEN, spacing=10),
ft.Card(
content=ft.Container(
content=ft.Column(
[
ft.ListTile(
title=ft.Row([
ft.Text("Example subject" ,weight="bold"),
ft.Row(
[
ft.Text("14.04.2025"),
],
alignment=ft.MainAxisAlignment.CENTER
)
], alignment=ft.MainAxisAlignment.SPACE_BETWEEN, spacing=10),
subtitle=ft.Row([
ft.Text("Short test - Example description"),
ft.Row(
[
ft.Text("Example teacher"),
],
alignment=ft.MainAxisAlignment.CENTER
)
], alignment=ft.MainAxisAlignment.SPACE_BETWEEN, spacing=10),
)
]
),
padding=5,
)
),
ft.Card(
content=ft.Container(
content=ft.Column(
[
ft.ListTile(
title=ft.Row([
ft.Text("Example subject" ,weight="bold"),
ft.Row(
[
ft.Text("14.04.2025"),
],
alignment=ft.MainAxisAlignment.CENTER
)
], alignment=ft.MainAxisAlignment.SPACE_BETWEEN, spacing=10),
subtitle=ft.Row([
ft.Text("Short test - Example description"),
ft.Row(
[
ft.Text("Example teacher"),
],
alignment=ft.MainAxisAlignment.CENTER
)
], alignment=ft.MainAxisAlignment.SPACE_BETWEEN, spacing=10),
)
]
),
padding=5,
)
)
])