{% extends "base.html" %} {% block title %}Edit device - {{ device.name }} - MikroMon{% endblock %} {% block content %}

Edit device

{{ device.name }} ({{ device.host }})
Back
{{ form.hidden_tag() }}
{{ form.name(class_="form-control") }}
{{ form.host(class_="form-control") }}
{{ form.rest_scheme(class_="form-select", id="restScheme") }}
{{ form.rest_port(class_="form-control", id="restPort") }}
{{ form.rest_base_path(class_="form-control") }}
{{ form.username(class_="form-control") }}
{{ form.password(class_="form-control", placeholder="Leave blank to keep unchanged") }}
Leave blank to keep the current password.
{{ form.allow_insecure_tls(class_="form-check-input") }}

Notes
  • Changing credentials updates the encrypted secret stored in the database.
  • For HTTP, TLS options are ignored.
{% endblock %}