{% extends "base.html" %} {% block title %}Add widget - {{ dashboard.name }} - MikroMon{% endblock %} {% block content %}

Add widget

Dashboard: {{ dashboard.name }}
Back
{{ form.hidden_tag() }}
{{ form.title(class_="form-control") }}
{{ form.preset_key(class_="form-select", id="presetSelect") }}
E.g. interface / queue (depends on preset).
{{ form.refresh_seconds(class_="form-control", type="number", min="1") }}
{{ form.query_json(class_="form-control font-monospace", rows="6", placeholder='{"connector":"rest","endpoint":"/...","params":{}}') }}
Cancel
Wizard mode
If the preset requires selecting an item (e.g. interface), the list will load automatically after choosing a device. If you fill the JSON manually, the JSON will be used.
{% endblock %} {% block scripts %} {% endblock %}