forked from WEEE-Open/pesto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.py
50 lines (43 loc) · 1.41 KB
/
variables.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
DEFAULT_IP = "127.0.0.1"
DEFAULT_PORT = 1030
PATH = {
"REQUIREMENTS": "/requirements_client.txt",
"ENV": "/.env",
"UI": "/assets/qt/interface.ui",
"SETTINGS_UI": "/assets/qt/settings.ui",
"SMART_UI": "/assets/qt/smart.ui",
"INFOUI": "/assets/qt/info.ui",
"CANNOLOUI": "/assets/qt/cannolo_select.ui",
"ICON": "/assets/icon.png",
"VAPORWAVE_AUDIO": "/assets/vaporwave_theme.mp3",
"ASD": "/assets/asd/asd.gif",
"ASDVAP": "/assets/asd/asdvap.gif",
"RELOAD": "/assets/reload/reload.png",
"WHITERELOAD": "/assets/reload/reload_white.png",
"VAPORWAVERELOAD": "/assets/reload/vapman.png",
"PENDING": "/assets/table/pending.png",
"PROGRESS": "/assets/table/progress.png",
"OK": "/assets/table/ok.png",
"WARNING": "/assets/table/warning.png",
"ERROR": "/assets/table/error.png",
"STOP": "/assets/stop.png",
"WEEE": "/assets/backgrounds/weee_logo.png",
"VAPORWAVEBG": "/assets/backgrounds/vaporwave.png",
"SERVER": "/basilico.py",
"THEMES": "/themes/",
}
URL = {
"website": "https://weeeopen.polito.it",
"source_code": "https://github.com/WEEE-Open/pesto",
}
IGNORE_SMART_RESULTS = [
"json_format_version",
"smartctl",
"local_time",
]
QUEUE_TABLE = ["ID", "Process", "Disk", "Status", "Eta", "Progress"]
QUEUE_COMPLETED = "completed"
QUEUE_PROGRESS = "progress"
QUEUE_QUEUED = "queued"
PROGRESS_BAR_SCALE = 100
VERSION = "2.0.0"