install-soft-on-Astra-linux/main.py

38 lines
945 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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)