{% extends "layout.html" %} {% block content %} {% set status_class = { 'success': 'bg-success text-white text-center', 'failed': 'bg-danger text-white text-center', }[data.status] %}

{{ data.status }}

{{data.result.stdout|ansi2html|safe}}
{% for k,v in data.items() %} {% if k not in ["result", "status"] %} {% endif %} {% endfor %}
Predicate Object
{{ k }} {{ v }}
{% endblock %}