mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Add API resource for unified job stdout with HTML output of ANSI color codes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{# Copy of base.html from rest_framework with minor AWX change. #}
|
||||
{# Copy of base.html from rest_framework with minor Ansible Tower change. #}
|
||||
{% load url from future %}
|
||||
{% load rest_framework %}
|
||||
<!DOCTYPE html>
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<span href="/">
|
||||
{% block branding %}<a class='brand' href='http://django-rest-framework.org'>Django REST framework <span class="version">{{ version }}</span></a>{% endblock %}
|
||||
{% block branding %}<a class='brand' rel="nofollow" href='http://www.django-rest-framework.org'>Django REST framework <span class="version">{{ version }}</span></a>{% endblock %}
|
||||
</span>
|
||||
<ul class="nav pull-right">
|
||||
{% block userlinks %}
|
||||
@@ -119,9 +119,9 @@
|
||||
</div>
|
||||
<div class="response-info">
|
||||
<pre class="prettyprint"><div class="meta nocode"><b>HTTP {{ response.status_code }} {{ response.status_text }}</b>{% autoescape off %}
|
||||
{% for key, val in response.items %}<b>{{ key }}:</b> <span class="lit">{{ val|break_long_headers|urlize_quoted_links }}</span>
|
||||
{% for key, val in response_headers.items %}<b>{{ key }}:</b> <span class="lit">{{ val|break_long_headers|urlize_quoted_links }}</span>
|
||||
{% endfor %}
|
||||
{# Original line below had content|urlize_quoted_links; for AWX disable automatic URL creation here. #}
|
||||
{# Original line below had content|urlize_quoted_links; for Ansible Tower disable automatic URL creation here. #}
|
||||
</div>{{ content }}</pre>{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user