eva/evapp/templates/evapp/employee_form.html

108 lines
3.3 KiB
HTML
Raw Normal View History

{% load i18n %}
2021-01-04 11:02:25 +00:00
{% load static %}
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
{{ form.media }}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
{% load socialaccount %}
{% if user.is_authenticated %}
{% block content %}
2022-01-25 10:21:57 +00:00
{% get_current_language as LANGUAGE_CODE %}
<!-- Current language: {{ LANGUAGE_CODE }} -->
2021-01-04 11:02:25 +00:00
<center>
<style>
ul > li {
list-style-type: none;
}
ul {
padding-left: 10;
}
label.required::after {
content: ' *';
color: red;
}
</style>
<img src="{% static 'evapp/logo.png' %}" />
2021-09-14 07:58:41 +00:00
{% if TESTMODE %}
2022-01-26 12:29:21 +00:00
<h1 style="background-color:red;color:white">{% translate "WARNUNG! Test-MODUS aktiviert. Es werden keine Mails verschickt!" %}</h1>
2021-09-14 07:58:41 +00:00
{% endif %}
2021-01-04 11:02:25 +00:00
<h1>
2021-03-25 11:45:58 +00:00
E (V A) - Eintritt, (Veränderung, Austritt)<p>
2022-01-25 10:21:57 +00:00
</h1>{% translate "Du bist eingeloggt als" %} {{ user.email }}
2021-01-13 12:30:25 +00:00
<h2>
2022-01-26 12:29:21 +00:00
<p>Schritt {{ wizard.steps.step1 }} {% translate "von" %} {{ wizard.steps.count }}</p>
2021-01-13 12:30:25 +00:00
<p>{% if wizard.steps.step1 == 1 %}
2022-01-26 12:29:21 +00:00
{% translate "Angaben zur Person" %} {% endif %}
2021-02-04 08:24:54 +00:00
{% if choice == 'IN' %}
{% if wizard.steps.step1 == 2 %}
2022-01-26 12:29:21 +00:00
{% translate "Angaben zum neuen Arbeitsverhältnis" %}
2021-02-04 08:24:54 +00:00
{% elif wizard.steps.step1 == 3 %}
2022-01-26 12:29:21 +00:00
{% translate "IT-relevante Angaben" %}
2021-02-04 08:24:54 +00:00
{% elif wizard.steps.step1 == 4 %}
2022-01-26 12:29:21 +00:00
{% translate "Office-relevante Angaben" %}
2021-02-04 08:24:54 +00:00
{% endif %}
{% else %}
{% if wizard.steps.step1 == 2 %}
Veränderungsrelevante Angaben
2021-01-13 12:30:25 +00:00
{% endif %}
2021-02-04 11:59:23 +00:00
{% endif %}
{% if datatable == True %}
2022-01-26 12:29:21 +00:00
{% translate "Bestätigungsschritt" %}
2021-02-04 08:24:54 +00:00
{% endif %}
2021-01-13 12:30:25 +00:00
</p>
</h2>
2021-02-04 11:59:23 +00:00
{% if datatable == True %}
<table>
2021-01-14 11:44:04 +00:00
{% for key, value in data.items %}
<tr><th>{{ key }}</th><th>{{ value }}</th></tr>
2021-01-14 11:44:04 +00:00
{% endfor %}
</table>
2021-01-14 11:44:04 +00:00
{% endif %}
2021-01-04 11:02:25 +00:00
<form action="" method="post">
{% csrf_token %}
<table>
2021-03-02 09:54:35 +00:00
{% comment %}
comment this back in if you want to use CHANGE and EXIT process
{% if wizard.steps.step1 > 1 %}
Du hast den Prozess "{{choice_string}}" ausgewählt.
{% endif %}
{% endcomment %}
{{ wizard.management_form }}
{% if wizard.form.forms %}
{{ wizard.form.management_form }}
{% for form in wizard.form.forms %}
{{ form }}
{% endfor %}
{% else %}
{{ wizard.form }}
{% endif %}
2021-01-04 11:02:25 +00:00
</table>
<p>
2022-01-26 12:29:21 +00:00
<span style="color: red">*</span> {% translate "Pflichtfeld" %}
<p>
{% if wizard.steps.prev %}
2022-01-26 12:29:21 +00:00
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% translate "Zurück" %}</button>
{% endif %}
{% if datatable == True %}
2022-01-26 12:29:21 +00:00
<button type="submit" value="{% trans "Weiter" %}">{% translate "Abschicken" %}</button>
{% else %}
2022-01-26 12:29:21 +00:00
<button type="submit" value="{% trans "Weiter" %}">{% translate "Weiter" %}</button>
{% endif %}
2021-01-04 11:02:25 +00:00
</form>
<p>
2022-01-26 12:29:21 +00:00
<a href="{% url 'account_logout' %}">{% translate "logout" %}</a>
</center>
{% endblock %}
{% else %}
2022-01-26 12:29:21 +00:00
<a href="{% provider_login_url 'nextcloud' %}">{% translate "Bitte einloggen!" %}</a>
{% endif %}