Fixes align issue for database networking workflow

The networking workflow in the database launch instance workflow
doesn't align well, this patch fixes the issue.

Change-Id: I137536e83c0d637ca096e378c72e53ccf256d2ff
Closes-bug: #1455356
This commit is contained in:
liyingjun 2015-08-12 22:17:48 +08:00
parent e5f21f4425
commit 59625f4016
1 changed files with 21 additions and 31 deletions

View File

@ -1,38 +1,28 @@
{% load i18n %}
<noscript><h3>{{ step }}</h3></noscript>
<table class="table-fixed" id="networkListSortContainer">
<tbody>
<tr>
<td class="actions">
<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="help_text">
{% include "project/databases/_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/databases/_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>