44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
# Zeiterfassung
|
|
# Quasi-Konstanten
|
|
|
|
import os
|
|
|
|
app_title = "Zeiterfassung"
|
|
app_version = ("0.0.0")
|
|
|
|
# Standardpfade
|
|
scriptpath = os.path.dirname(os.path.abspath(__file__))
|
|
userfolder = "users"
|
|
|
|
# Dateinamen
|
|
|
|
usersettingsfilename = "settings.json"
|
|
photofilename = "photo.jpg"
|
|
|
|
# Status
|
|
|
|
status_in = "eingestempelt"
|
|
status_out = "ausgestempelt"
|
|
|
|
# Abesenheiten
|
|
|
|
absence_entries = {"U": { "name": "Urlaub",
|
|
"color": "green",
|
|
"text-color": "black"},
|
|
"K": { "name": "Krankheit",
|
|
"color": "red",
|
|
"text-color": "white"},
|
|
"KK": { "name": "Krankheit Kind",
|
|
"color": "orange",
|
|
"text-color": "black"},
|
|
"UU": { "name": "Urlaub aus Überstunden",
|
|
"color": "green",
|
|
"text-color": "black"},
|
|
"F": { "name": "Fortbildung",
|
|
"color": "black",
|
|
"text-color": "white"},
|
|
"EZ": { "name": "Elternzeit",
|
|
"color": "purple",
|
|
"text-color": "white"}
|
|
}
|