Fix Flavor Detail tbl in legacy Launch Instance

This patch fixes the misaligned rows of the Flavour Details table, on
the first tab of the legacy Launch Instance workflow.

Patch also changes the markup for the Networks tab, which relied on CSS
that this patch removes.

Change-Id: Ie2fcedb5a7a7f5b3d9ffffd4f245f7ec5ff5470d
Closes-Bug: 1443322
This commit is contained in:
Rob Cresswell 2015-04-13 09:40:58 +00:00
parent 4a6458366c
commit 7fa56dbfd4
2 changed files with 21 additions and 35 deletions

View File

@ -1,38 +1,28 @@
{% load i18n %}
<noscript><h3>{{ step }}</h3></noscript>
<table class="table-fixed" id="networkListSortContainer">
<tbody>
<tr>
<td class="col-sm-6">
<label id="selected_network_label">{% trans "Selected networks" %}</label>
<ul id="selected_network" class="networklist">
</ul>
<label>{% trans "Available networks" %}</label>
<ul id="available_network" class="networklist">
</ul>
</td>
<td class="col-sm-6">
{% include "project/instances/_launch_network_help.html" %}
</td>
</tr>
</tbody>
</table>
<div id="networkListSortContainer">
<div class="col-sm-6">
<label id="selected_network_label">{% trans "Selected networks" %}</label>
<ul id="selected_network" class="networklist"></ul>
<label>{% trans "Available networks" %}</label>
<ul id="available_network" class="networklist"></ul>
</div>
<div class="col-sm-6">
{% include "project/instances/_launch_network_help.html" %}
</div>
</div>
<table class="table-fixed" id="networkListIdContainer">
<tbody>
<tr>
<td class="actions">
<div id="networkListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</td>
<td class="help_text">
{{ step.get_help_text }}
</td>
</tr>
</tbody>
</table>
<div id="networkListIdContainer">
<div class="actions">
<div id="networkListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</div>
<div class="help_text">
{{ step.get_help_text }}
</div>
</div>
<script>

View File

@ -6,10 +6,6 @@
padding-top: 10px;
}
td {
vertical-align: top;
}
fieldset > table {
margin-bottom: 0;
}