Fixed alignment issues in create firewall

In create firewall form, add router tab has
alignment issue between the router list and helptext.

Similarly in create policy form, add rule tab has same
alignment issue.

This patch fixing both the alignment issues.

Change-Id: I88d456f917fa000e81214330e150c39bce4a8cc9
Closes-Bug: #1481697
This commit is contained in:
Masco Kaliyamoorthy 2015-08-05 16:19:36 +05:30
parent 2356655ef5
commit 33174f84d3
2 changed files with 42 additions and 62 deletions

View File

@ -1,38 +1,28 @@
{% load i18n %}
<noscript><h3>{{ step }}</h3></noscript>
<table class="table-fixed" id="routerListSortContainer">
<tbody>
<tr>
<td class="actions">
<h4 id="selected_router_h4">{% trans "Selected Routers" %}</h4>
<ul id="selected_router" class="routerlist">
</ul>
<h4>{% trans "Available Routers" %}</h4>
<ul id="available_router" class="routerlist">
</ul>
</td>
<td class="help_text">
{% include "project/firewalls/_update_router_help.html" %}
</td>
</tr>
</tbody>
</table>
<div id="routerListSortContainer">
<div class="col-sm-6">
<h4 id="selected_router_h4">{% trans "Selected Routers" %}</h4>
<ul id="selected_router" class="routerlist"></ul>
<h4>{% trans "Available Routers" %}</h4>
<ul id="available_router" class="routerlist"></ul>
</div>
<div class="col-sm-6">
{% include "project/firewalls/_update_router_help.html" %}
</div>
</div>
<table class="table-fixed" id="routerListIdContainer">
<tbody>
<tr>
<td class="actions">
<div id="routerListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</td>
<td class="help_text">
{{ step.get_help_text }}
</td>
</tr>
</tbody>
</table>
<div id="routerListIdContainer">
<div class="actions">
<div id="routerListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</div>
<div class="help_text">
{{ step.get_help_text }}
</div>
</div>
<script>
if (typeof $ !== 'undefined') {

View File

@ -1,38 +1,28 @@
{% load i18n %}
<noscript><h3>{{ step }}</h3></noscript>
<table class="table-fixed" id="ruleListSortContainer">
<tbody>
<tr>
<td class="actions">
<h4 id="selected_rule_h4">{% trans "Selected Rules" %}</h4>
<ul id="selected_rule" class="rulelist">
</ul>
<h4>{% trans "Available Rules" %}</h4>
<ul id="available_rule" class="rulelist">
</ul>
</td>
<td class="help_text">
{% include "project/firewalls/_update_rule_help.html" %}
</td>
</tr>
</tbody>
</table>
<div id="ruleListSortContainer">
<div class="col-sm-6">
<h4 id="selected_rule_h4">{% trans "Selected Rules" %}</h4>
<ul id="selected_rule" class="rulelist"></ul>
<h4>{% trans "Available Rules" %}</h4>
<ul id="available_rule" class="rulelist"></ul>
</div>
<div class="col-sm-6">
{% include "project/firewalls/_update_rule_help.html" %}
</div>
</div>
<table class="table-fixed" id="ruleListIdContainer">
<tbody>
<tr>
<td class="actions">
<div id="ruleListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</td>
<td class="help_text">
{{ step.get_help_text }}
</td>
</tr>
</tbody>
</table>
<div id="ruleListIdContainer">
<div class="actions">
<div id="ruleListId">
{% include "horizon/common/_form_fields.html" %}
</div>
</div>
<div class="help_text">
{{ step.get_help_text }}
<div>
</div>
<script>
if (typeof $ !== 'undefined') {