Merge "Remove unnecessary files on Create Network"

This commit is contained in:
Jenkins 2016-04-25 04:28:39 +00:00 committed by Gerrit Code Review
commit f7bed78008
3 changed files with 0 additions and 36 deletions

View File

@ -1,19 +0,0 @@
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% block form_id %}create_network_form{% endblock %}
{% block form_action %}{% url 'horizon:project:networks:create' %}{% endblock %}
{% block modal-header %}{% trans "Create Network" %}{% endblock %}
{% block modal-body %}
<div class="left">
<fieldset>
{% include "horizon/common/_form_fields.html" %}
</fieldset>
</div>
<div class="right">
<h3>{% trans "Description:" %}</h3>
<p>{% trans "Select a name for your network."%}</p>
</div>
{% endblock %}

View File

@ -1,16 +0,0 @@
{% extends 'horizon/common/_workflow.html' %}
{% load i18n %}
{% block modal-footer %}
{% if workflow.wizard %}
<div class="row footer-row">
<a class="btn btn-default cancel">{% trans "Cancel" %}</a>
<button type="button" class="btn btn-default button-previous">{% trans "&laquo;&nbsp;Back" %}</button>
<button type="button" class="btn btn-primary button-next">{% trans "Next&nbsp;&raquo;" %}</button>
<button type="submit" class="btn btn-primary button-final">{{ workflow.finalize_button_name }}</button>
</div>
{% else %}
{% if modal %}<a class="btn btn-default cancel">{% trans "Cancel" %}</a>{% endif %}
<input class="btn btn-primary" type="submit" value="{{ workflow.finalize_button_name }}" />
{% endif %}
{% endblock %}

View File

@ -59,7 +59,6 @@ class IndexView(tables.DataTableView):
class CreateView(workflows.WorkflowView): class CreateView(workflows.WorkflowView):
workflow_class = project_workflows.CreateNetwork workflow_class = project_workflows.CreateNetwork
ajax_template_name = 'project/networks/create.html'
class UpdateView(forms.ModalFormView): class UpdateView(forms.ModalFormView):