## -*- coding: utf-8; -*-
<%inherit file="/page.mako" />
<%def name="title()">TempMon Appliances » Dashboard%def>
<%def name="content_title()">Dashboard%def>
<%def name="extra_javascript()">
${parent.extra_javascript()}
%def>
<%def name="render_this_page()">
${h.form(request.current_route_url(), ref='applianceForm')}
${h.csrf_token(request)}
% if appliance:
% endif
${h.end_form()}
% if appliance and appliance.probes:
% for probe in appliance.probes:
Probe: ${h.link_to(probe.description, url('tempmon.probes.graph', uuid=probe.uuid))}
(status: ${enum.TEMPMON_PROBE_STATUS[probe.status]})
% if probe.enabled:
% else:
This probe is not enabled.
% endif
% endfor
% elif appliance:
This appliance has no probes configured!
% else:
Please choose an appliance.
% endif
%def>
<%def name="modify_this_page_vars()">
${parent.modify_this_page_vars()}
%def>
${parent.body()}