{% extends "base.html" %} {% block comments %} {% endblock %} {% load url from future %} {% block title %}App Framework: Edit Devices{% endblock %} {% block header_row %}

Edit Devices

Update IP addresses and Username/Password for each device

{% endblock %} {% block content %}
{% if invalid %}

Ensure all enabled devices have valid credentials

{% endif %}
{% csrf_token %} {{ formset.management_form }} {% if not tabledata %} {% endif %} {% for form, device in tabledata %} {% if device.auth == auth.BASIC and not device.password %} {% elif device.auth == auth.OAUTH and not device.access_code %} {% else %} {% for field in form.visible_fields %} {% endfor %} {% endif %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% if device.auth == auth.NONE %} {% elif device.auth == auth.BASIC %} {% elif device.auth == auth.OAUTH %} {% endif %} {% endfor %}
Enabled Name Module Host Port Auth Method
No devices defined yet.
{{ field }} {{ device.name }} {% if device.auth == auth.BASIC and not device.password %}
(missing password) {% elif device.auth == auth.OAUTH and not device.access_code %}
(missing access code) {% endif %}
{{ device.module }} {{ device.host }} {{ device.port }}NoneUsername/PasswordOAuth2
{% endblock %}