Experiments with UI.
This commit is contained in:
@@ -1,3 +1,17 @@
|
|||||||
{% load i18n sizeformat %}
|
{% load i18n %}
|
||||||
|
|
||||||
<h3>{% trans "Service " %} {{ service_name }}</h3>
|
<div class="clearfix">
|
||||||
|
<h3 class="pull-left">{% trans "Service Logs" %}</h3>
|
||||||
|
|
||||||
|
<form id="tail_length" action="{% url horizon:project:instances:console instance.id %}" class="form-inline pull-right">
|
||||||
|
<label for="tail_length_select">{% trans "Log Length" %}</label>
|
||||||
|
<input class="span1" type="text" name="length" value="35" />
|
||||||
|
<button class="btn btn-small btn-primary" type="submit">{% trans "Go" %}</button>
|
||||||
|
{% url horizon:project:instances:console instance.id as console_url %}
|
||||||
|
<a class="btn btn-small" target="_blank" href="{{ console_url }}">{% trans "View Full Log" %}</a>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<pre class="logs">
|
||||||
|
{{ service.operation }}
|
||||||
|
</pre>
|
||||||
Reference in New Issue
Block a user