{% extends "layout-remote.html" %} {% set active_page = "input" %} {% block title %} - Remote Admin - Inputs{% endblock %} {% block head %} {% endblock %} {%- block body %}
{% include 'flash_messages.html' %}
Remote Inputs
Note: This is currently a work-in-progress. It is highly unpolished and should only be thought of as a proof-of-concept.
{% for each_host in remote_hosts %}
{{each_host.host}}
{% if host_inputs[each_host.host] %} {% else %} {% endif %}
{% if host_inputs[each_host.host] %} {% for each_input in host_inputs[each_host.host] %}
Input ID: {{each_input}}
Name: {{host_inputs[each_host.host][each_input]['name']}}
Device: {{host_inputs[each_host.host][each_input]['device']}}
Activated: {{host_inputs[each_host.host][each_input]['is_activated']}}
{% endfor %} {% else %} Error: No Data to Display (maybe too many requests too fast) {% endif %}
{% endfor %}
{% endblock -%}