From 3f559b93f3b3c7346628487927a9da7e7f3d8f51 Mon Sep 17 00:00:00 2001 From: Zhebrikov Date: Thu, 21 Mar 2024 12:18:41 +0900 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=84=D0=B0?= =?UTF-8?q?=D0=B9=D0=BB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..ee4881b --- /dev/null +++ b/main.py @@ -0,0 +1,37 @@ +import flet as ft + +def main_style(): + return{ + "width": 250, + "height": 300, + "bgcolor":"#141518", + "border_radius": 10, + "padding": 15, + } + +def prompt_style(): + return{ + "width": 250, + "height": 40, + "bgcolor":"white", + "content_padding": 10, + "cursor_color": "white", + } + +def main(page: ft.Page): + page.title = "Установка софта на Astra Linux" + page.horizontal_alignment = "center" + page.vertical_alignment = "center" + page.theme_mode = "dark" + page.width: 250 # type: ignore + page.height: 300 # type: ignore + + page.add( + ft.Text("Установка софта на АРМ Astra Linux SE/CE", size=18, weight=ft.FontWeight.W_800), + ft.TextButton(text="Установка базового набора софта"), + ) + + page.update() + +if __name__=="__main__": + ft.app(target=main)