Package table form 'Cancel' button consistent with others

Now Package table forms 'Cancel' button style is different from others,
This patch make it consistent with others.

Change-Id: I9bcc37e1ba1f9643f603c62ec8658ec2b89eb659
Closes-Bug: #1596186
This commit is contained in:
zhurong 2016-06-25 11:51:22 +00:00
parent d9c70b3463
commit a3fa3f58b9
4 changed files with 9 additions and 9 deletions

View File

@ -44,7 +44,7 @@ $(function() {
});
importType.change();
$('#upload_package_modal .close').on('click', function() {
$('#upload_package_modal .cancel').on('click', function() {
location.reload();
});
}

View File

@ -43,10 +43,10 @@
{% endblock %}
{% block modal-footer %}
<a href='{% url 'horizon:murano:packages:index' %}' class='btn btn-default cancel'>{% trans 'Cancel' %}</a>
{% if wizard.steps.next %}
<input type='submit' class='btn btn-primary pull-right' value='{% trans 'Next' %}'/>
<input type='submit' class='btn btn-primary' value='{% trans 'Next' %}'/>
{% else %}
<input type='submit' class='btn btn-primary pull-right' value='{% trans 'Create' %}'/>
<input type='submit' class='btn btn-primary' value='{% trans 'Create' %}'/>
{% endif %}
<a href='{% url 'horizon:murano:packages:index' %}' class='btn btn-default secondary cancel close'>{% trans 'Cancel' %}</a>
{% endblock %}

View File

@ -15,6 +15,6 @@
{% endblock %}
{% block modal-footer %}
<input type='submit' class='btn btn-primary pull-right' value='{% trans "Update" %}' />
<a href="{% url 'horizon:murano:packages:index' %}" class="btn btn-default secondary cancel close">{% trans "Cancel" %}</a>
<a href="{% url 'horizon:murano:packages:index' %}" class="btn btn-default cancel">{% trans "Cancel" %}</a>
<input type='submit' class='btn btn-primary' value='{% trans "Update" %}' />
{% endblock %}

View File

@ -61,10 +61,10 @@
{% endblock %}
{% block modal-footer %}
<a href='{% url 'horizon:murano:packages:index' %}' class='btn btn-default cancel'>{% trans 'Cancel' %}</a>
{% if wizard.steps.next %}
<input type='submit' class='btn btn-primary pull-right' value='{% trans 'Next' %}'/>
<input type='submit' class='btn btn-primary' value='{% trans 'Next' %}'/>
{% else %}
<input type='submit' class='btn btn-primary pull-right' value='{% trans 'Create' %}'/>
<input type='submit' class='btn btn-primary' value='{% trans 'Create' %}'/>
{% endif %}
<a href='{% url 'horizon:murano:packages:index' %}' class='btn btn-default secondary cancel close'>{% trans 'Cancel' %}</a>
{% endblock %}