{% extends 'core/base.html' %} {% load i18n %} {% block content %}

{% trans "Provided Logins" %}

{% if logins %}
{% csrf_token %} {% for login in logins %} {% endfor %}
{% trans "ID" %} {% trans "Type" %} {% trans "Name" %}
{{ login.login_info_id }} {% trans login.type %} {{ login.name }}
{% if login.type == login_types.SSH %}
{% if login.key and login.data %} {% trans "Disconnect" %} {% else %} {% trans "Connect" %} {% endif %}
{% else %}
{% endif %}
{% endif %}
{% if update %}

{% trans 'Update a Login' %}

{% else %}

{% trans 'Add a Login' %}

{% endif %}
{% csrf_token %}
{% trans "Login Type" %}
{% if update %} {% else %} {% endif %}
{% trans 'Cancel' %}
{{ form.errors }}
{% endblock %} {% block script %} {% endblock %}