{% extends 'generic/object.html' %} {% load helpers %} {% load validity %} {% load django_bootstrap5 %} {% block head %} {% endblock %} {% block title %}{{ object }}: Serialized State{% endblock %} {% block subtitle %} {% endblock %} {% block content %}
Metainfo
Data Source {{ object.data_source | linkify | placeholder }}
Poller {{ object.poller | linkify | placeholder }}
Serializer {{ state_item.serializer | linkify | placeholder }}
Command {{ state_item.command | linkify | placeholder }}
Data File {% include "validity/inc/path_with_link.html" with data_file=state_item.data_file web_url=object.data_source.web_url only %}
Local copy last modified {{ state_item.data_file.last_updated | date:"Y-m-d G:i:s" | placeholder}}
State
{% bootstrap_form state_form layout="inline" %}
{% bootstrap_button button_type="submit" content="Show" %}
{% if not error %}
{{ state_item.verbose_name }}
{% include 'validity/inc/configcontext_format.html' %}
{% include 'extras/inc/configcontext_data.html' with data=state_item.serialized format=format %}
{% else %}
{{ error }}
{% endif %}
{% endblock %}