add new files
|
@ -2,4 +2,4 @@ from django.apps import AppConfig
|
|||
|
||||
|
||||
class EvappConfig(AppConfig):
|
||||
name = 'offboarding'
|
||||
name = 'austritt'
|
|
@ -6,7 +6,7 @@ from django.db import migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0001_initial'),
|
||||
('austritt', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0002_auto_20210914_1055'),
|
||||
('austritt', '0002_auto_20210914_1055'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0003_auto_20220208_0955'),
|
||||
('austritt', '0003_auto_20220208_0955'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
('austritt', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0005_alter_employee_accounts'),
|
||||
('austritt', '0005_alter_employee_accounts'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
('austritt', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -1,6 +1,7 @@
|
|||
from django.db import models
|
||||
from multiselectfield import MultiSelectField
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from eintritt.models import Employee
|
||||
|
||||
# ATTENTION!!!
|
||||
# No key should be used twice in any of these dicts because of the
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
@ -46,7 +46,7 @@ def change_process(wizard):
|
|||
|
||||
|
||||
class EvaFormView(LoginRequiredMixin, CookieWizardView):
|
||||
template_name = 'evapp/employee_form.html'
|
||||
template_name = 'austritt/employee_form.html'
|
||||
form_list = [PersonalForm, WorkingForm, ITForm, OfficeForm, ChangeForm, DummyForm]
|
||||
instance = None
|
||||
choice = 'IN'
|
|
@ -2,6 +2,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
# define the configuration class for the 'evapp' application
|
||||
class EvappConfig(AppConfig):
|
||||
class EintrittConfig(AppConfig):
|
||||
# give the app a name
|
||||
name = 'evapp'
|
||||
name = 'eintritt'
|
|
@ -6,7 +6,7 @@ from django.db import migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0001_initial'),
|
||||
('eintritt', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0002_auto_20210914_1055'),
|
||||
('eintritt', '0002_auto_20210914_1055'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0003_auto_20220208_0955'),
|
||||
('eintritt', '0003_auto_20220208_0955'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
('eintritt', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0005_alter_employee_accounts'),
|
||||
('eintritt', '0005_alter_employee_accounts'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
('eintritt', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
@ -46,7 +46,7 @@ def change_process(wizard):
|
|||
|
||||
|
||||
class EvaFormView(LoginRequiredMixin, CookieWizardView):
|
||||
template_name = 'offboarding/employee_form.html'
|
||||
template_name = 'eintritt/employee_form.html'
|
||||
form_list = [PersonalForm, WorkingForm, ITForm, OfficeForm, ChangeForm, DummyForm]
|
||||
instance = None
|
||||
choice = 'IN'
|
|
@ -40,9 +40,9 @@ ALLOWED_HOSTS = ['*']
|
|||
|
||||
INSTALLED_APPS = [
|
||||
'home',
|
||||
'offboarding',
|
||||
'veränderung',
|
||||
'evapp.apps.EvappConfig',
|
||||
'austritt',
|
||||
'veraenderung',
|
||||
'eintritt.apps.EintrittConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
|
|
|
@ -17,10 +17,10 @@ from django.contrib import admin
|
|||
from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
path('onboarding/', include('evapp.urls')),
|
||||
path('eintritt/', include('eintritt.urls')),
|
||||
path('', include("home.urls")),
|
||||
path('offboarding/', include("offboarding.urls")),
|
||||
path('veränderung/', include("veränderung.urls")),
|
||||
path('austritt/', include("austritt.urls")),
|
||||
path('veraenderung/', include("veraenderung.urls")),
|
||||
path('admin/', admin.site.urls),
|
||||
path('accounts/', include('allauth.urls')),
|
||||
|
||||
|
|
|
@ -60,23 +60,23 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Choose Your Destination</h1>
|
||||
<h1>Wählen Sie Ihren nächsten Schritt</h1>
|
||||
<div class="container-wrapper">
|
||||
<!-- the first container with image and button for onboarding -->
|
||||
<div class="container">
|
||||
<img src="{% static 'evapp/onboarding1.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/onboarding';">Eintritt</button>
|
||||
<img src="{% static 'evapp/eintritt.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/eintritt';">Eintritt</button>
|
||||
|
||||
</div>
|
||||
<!-- the second container with image and button for onboarding -->
|
||||
<div class="container">
|
||||
<img src="{% static 'evapp/veränderung.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/veränderung';">Veränderung</button>
|
||||
<img src="{% static 'evapp/veraenderung.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/veraenderung';">Veränderung</button>
|
||||
</div>
|
||||
<!-- the third container with image and button for onboarding -->
|
||||
<div class="container">
|
||||
<img src="{% static 'evapp/offboarding.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/offboarding';">Austritt</button>
|
||||
<img src="{% static 'evapp/austritt.png' %}"/>
|
||||
<button class="btn" onclick="window.location.href='/austritt';">Austritt</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -2,4 +2,4 @@ from django.apps import AppConfig
|
|||
|
||||
|
||||
class EvappConfig(AppConfig):
|
||||
name = 'veränderung'
|
||||
name = 'veraenderung'
|
|
@ -20,7 +20,7 @@ class EvaForm(ModelForm):
|
|||
'''this base class provides the required css class for all forms'''
|
||||
required_css_class = 'required'
|
||||
|
||||
TYPE_CHOICES = {'IN': 'Eintritt', 'CHANGE': 'Veränderung', 'OUT': 'Austritt'}
|
||||
TYPE_CHOICES = {'IN': 'Eintritt', 'CHANGE': 'veraenderung', 'OUT': 'Austritt'}
|
||||
|
||||
class PersonalForm(EvaForm):
|
||||
# TODO: comment this back in to use implementation of change or exit process
|
|
@ -6,7 +6,7 @@ from django.db import migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0001_initial'),
|
||||
('veraenderung', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0002_auto_20210914_1055'),
|
||||
('veraenderung', '0002_auto_20210914_1055'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0003_auto_20220208_0955'),
|
||||
('veraenderung', '0003_auto_20220208_0955'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -7,7 +7,7 @@ import multiselectfield.db.fields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
('veraenderung', '0004_alter_employee_accounts_alter_employee_department'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0005_alter_employee_accounts'),
|
||||
('veraenderung', '0005_alter_employee_accounts'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('evapp', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
('veraenderung', '0006_remove_employee_vendor_employee_framework_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
|
@ -1,6 +1,7 @@
|
|||
from django.db import models
|
||||
from multiselectfield import MultiSelectField
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from eintritt.models import Employee
|
||||
|
||||
# ATTENTION!!!
|
||||
# No key should be used twice in any of these dicts because of the
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
@ -46,7 +46,7 @@ def change_process(wizard):
|
|||
|
||||
|
||||
class EvaFormView(LoginRequiredMixin, CookieWizardView):
|
||||
template_name = 'veränderung/employee_form.html'
|
||||
template_name = 'veraenderung/employee_form.html'
|
||||
form_list = [PersonalForm, WorkingForm, ITForm, OfficeForm, ChangeForm, DummyForm]
|
||||
instance = None
|
||||
choice = 'IN'
|