Cleans up instance log page, form, HTML/styles...
Change-Id: If72a2057218b09fd48e41a02e3818c79523a22c4
This commit is contained in:
parent
0f0838017a
commit
fc31aa71a0
@ -1,16 +1,14 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<h3 class="pull-left">Instance Console Log</h3>
|
<h3 class="pull-left">{% trans "Instance Console Log" %}</h3>
|
||||||
<p class="pull-right">
|
|
||||||
|
<form id="tail_length" action="{% url horizon:nova: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:nova:instances:console instance.id as console_url %}
|
{% url horizon:nova:instances:console instance.id as console_url %}
|
||||||
<a class="btn btn-small" target="_blank" href="{{ console_url }}">{% trans "View Full Log" %}</a>
|
<a class="btn btn-small" target="_blank" href="{{ console_url }}">{% trans "View Full Log" %}</a>
|
||||||
</p>
|
|
||||||
|
|
||||||
<form id="tail_length" action="{% url horizon:nova:instances:console instance.id %}" class="span3 pull-right">
|
|
||||||
<label class="pull-left log-length" for="tail_length_select">Log Length</label>
|
|
||||||
<input class="span1" type="text" name="length" value="35" />
|
|
||||||
<input value="Go" class="btn-small btn-primary" type="submit" />
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -806,6 +806,9 @@ form.horizontal fieldset {
|
|||||||
|
|
||||||
.form-inline {
|
.form-inline {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
input, button, a.btn {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td.select {
|
td.select {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user