{% block head %} GateKeeper {% endblock %} {% include "navbar.html" %} {% block options %}
{{ form.csrf_token }} {{ form.USER_ID(class_="form-control typeahead", placeholder="Enter LDAP user name", size=40) }}
{% with messages = get_flashed_messages() %} {% if messages %}
    {% for message in messages %}

    {{ message }}

    {% endfor %}
{% endif %} {% endwith %}
{{ form.csrf_token }}


Google Directory

{% for field in form if field.name in google_admin_actions %} {{ field(class_="checkbox") }} {{ field.label }}
{% endfor %}

Google Gmail

{% for field in form if field.name in google_gmail_actions %} {% if field.name == "SET_OOO_MSG" %}
{{ form.OOO_MSG_TEXT.label }}
{{ form.OOO_MSG_TEXT(class_="form-control", rows="4", cols="40", placeholder="Out Of Office Response") }}
{% else %} {{ field(class_="checkbox") }} {{ field.label }} {% endif %}
{% endfor %}

Google Calendar

{% for field in form if field.name in google_calendar_actions %} {% if field.name == "CHANGE_EVENTS_OWNERSHIP" %}
{{ form.GCAL_NEW_OWNER.label }} {{ form.GCAL_NEW_OWNER(class_="form-control typeahead", size=20) }}
{% else %} {{ field(class_="checkbox") }} {{ field.label }} {% endif %}
{% endfor %}

PagerDuty

{% for field in form if field.name in pagerduty_actions %} {{ field(class_="checkbox") }} {{ field.label }}
{% endfor %}

DUO Secure

{% for field in form if field.name in duo_actions %} {{ field(class_="checkbox") }} {{ field.label }}
{% endfor %}
{% if user_info %}
Name:
{{ user_info[ldap_fields['full_name']] }}
Role:
{{ user_info[ldap_fields['role']] }}
Team:
{{ user_info[ldap_fields['team']] }}
Org:
{{ user_info[ldap_fields['org']] }}
Location:
{{ user_info[ldap_fields['location']] }}
Start date:
{{ user_info[ldap_fields['start_date']] }}
LDAP UID:
{{ user_info[ldap_fields['uid_number']] }}
LDAP groups:
{% for group in user_info[ldap_fields['groups']] %}{{ group }} {% endfor %}
Status:
{% if user_info['active'] == true %} ACTIVE {% else %} INACTIVE {% endif %}
{% if user_info[ldap_fields['photo_url']] %}
{% endif %}


Click to submit changes for {{ user_info[ldap_fields['first_name']][0] }}.
{% endif %}
{% endblock %}