This commit is contained in:
Troy Dai 2018-05-16 15:54:08 -07:00
Родитель 485d219ef5
Коммит e269453080
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 9608535492BEDAC8
2 изменённых файлов: 24 добавлений и 12 удалений

Просмотреть файл

@ -46,14 +46,16 @@
</div> </div>
{% endif %} {% endif %}
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" {% block scripts %}
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
crossorigin="anonymous"></script> integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" crossorigin="anonymous"></script>
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
crossorigin="anonymous"></script> integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"
crossorigin="anonymous"></script> integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
crossorigin="anonymous"></script>
{% endblock %}
</body> </body>
</html> </html>

Просмотреть файл

@ -1,4 +1,9 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% block head %}
{{ super() }}
<link rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
{% endblock %}
{% block body %} {% block body %}
<div class="jumbotron jumbotron-fluid mb-0"> <div class="jumbotron jumbotron-fluid mb-0">
<div class="container"> <div class="container">
@ -31,7 +36,7 @@
</div> </div>
<div class="container-fluid"> <div class="container-fluid">
{% if log %} {% if log %}
<div class="row log"> <div class="row">
<div class="col"> <div class="col">
<div class="container"> <div class="container">
<h1 class="display-4 mt-3 mb-3">Automation Log</h1> <h1 class="display-4 mt-3 mb-3">Automation Log</h1>
@ -41,14 +46,19 @@
</div> </div>
{% endif %} {% endif %}
{% if record %} {% if record %}
<div class="row rec"> <div class="row">
<div class="col"> <div class="col">
<div class="container"> <div class="container">
<h1 class="display-4 mt-3 mb-3">Automation HTTP Record</h1> <h1 class="display-4 mt-3 mb-3">Automation HTTP Record</h1>
<pre><code>{{ record }}</code></pre> <pre><code class="yml">{{ record }}</code></pre>
</div> </div>
</div> </div>
</div> </div>
{% endif %} {% endif %}
</div> </div>
{% endblock %} {% endblock %}
{% block scripts %}
{{ super() }}
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}