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:
parent
d9c70b3463
commit
a3fa3f58b9
@ -44,7 +44,7 @@ $(function() {
|
||||
});
|
||||
importType.change();
|
||||
|
||||
$('#upload_package_modal .close').on('click', function() {
|
||||
$('#upload_package_modal .cancel').on('click', function() {
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user