{% extends "base.html" %} {% block content %}
{{_('Worker')}} - {{ worker.displayname }} - {{ worker.blockchain }} - {{ worker.mode}}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% if category == 'message' %}
{{_('Details')}}
{% if worker.farmr_device_id is defined %} {% endif %}
{{_('IP Address')}} {{worker.hostname}}
{{_('Hostname')}} {{worker.displayname}}
{{_('Blockchain')}} {{worker.blockchain}}
{{_('Port')}} {{worker.port}}
{{_('Mode')}} {{worker.mode}}
{{_('Last Status Received At')}} {{worker.updated_at | datetimefilter}}
{{_('Local Time on Worker')}} {{worker.time_on_worker | timesecondstrimmer}}
{{_('Last Ping to Worker')}} {% if worker.latest_ping_result == 'Responding' %} {{_('Responding')}} {% elif worker.connection_status() == 'Connection Refused' %} {{_('Connection Refused')}} {% elif worker.connection_status() == 'Connection Timeout' %} {{_('Connection Timeout')}} {% elif worker.connection_status() == 'Connection Error' %} {{_('Connection Error')}} % elif worker.connection_status() == 'offline' %} {{_('Offline')}} {% else %} {{_(worker.latest_ping_result)}} {% endif %}
{{_('Last Successful Ping to Worker')}} {{worker.ping_success_at | datetimefilter}}
{{_('Version')}} {{worker.versions.machinaris}}
{{worker.farmr_device_id}}
{{_('Farmr ID')}}
{{_('Recent Warnings')}}
{% if warnings|length > 0 %} {% for warning in warnings %} {% endfor %} {% else %} {% endif %}
{{warning.title|safe}}
{{warning.message|safe}}
{{_('Yay! No issues currently.')}}
{% if mem_usage[worker.hostname] %}
Memory Usage
{% endif %} {% if plots_disk_usage[worker.hostname] %}
Plots
{% if plots_disk_usage[worker.hostname]['paths']|length >= MAX_COLUMNS_ON_CHART %}

{{_('For legibility, the chart shows only a random selection of paths when a worker has many of them.')}}

{% endif %}
{% endif %}
Plotting
{% for column in plotting.columns %} {% endfor %} {% for row in plotting.rows %} {% for column in plotting.columns %} {% endfor %} {% endfor %}
{{ column }}
{{ row[column] }}
{% endblock %} {% block scripts %} {% endblock %}