{% extends "base.html" %} {% block title %}Update Requests – WMT – {{ app_name }}{% endblock %} {% block extra_css %} {% endblock %} {% block page_title %} WMT Update Requests {% if pending_count > 0 %} {{ pending_count }} pending {% endif %} {% if unconfigured_count > 0 %} {{ unconfigured_count }} to configure {% endif %} {% endblock %} {% block content %} {% if status_filter == 'to_be_configured' and requests %}
These devices are online but have no work_place assigned yet. They are not registered in the devices table. Accept a request to create the device record and push a configuration to the client.
{% endif %} {% if requests %}
{% if status_filter in ('pending', 'to_be_configured', 'all') %} {% endif %} {% for r in requests %} {% if status_filter in ('pending', 'to_be_configured', 'all') %} {% endif %} {% if r.admin_notes %} {% endif %} {% endfor %}
# MAC Address Proposed Work Place Proposed Hostname Proposed IP Last Seen StatusActions
{{ r.id }} {{ r.mac_address or '—' }} {% if r.status == 'to_be_configured' %} not assigned {% else %} {{ r.proposed_device_name or '—' }} {% endif %} {{ r.proposed_hostname or '—' }} {{ r.proposed_device_ip or '—' }} {{ r.submitted_at | local_dt }} {{ r.status.replace('_', ' ') }} {% if r.admin_reviewed_at %}
{{ r.admin_reviewed_at | local_dt }} {% endif %}
{% if r.status in ('pending', 'to_be_configured') %}
{% else %} {% endif %}
{{ r.admin_notes }}
{% else %}

No {{ status_filter.replace('_', ' ') }} requests found.

{% endif %} {% endblock %}