35 lines
841 B
Python
35 lines
841 B
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"},
|
|
"K": { "name": "Krankheit",
|
|
"color": "red"},
|
|
"KK": { "name": "Krankheit Kind",
|
|
"color": "orange"},
|
|
"UU": { "name": "Urlaub aus Überstunden",
|
|
"color": "green"},
|
|
"F": { "name": "Fortbildung",
|
|
"color": "black"}}
|