Merge "Remove unnecessary files on Create Network"
This commit is contained in:
commit
f7bed78008
@ -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 %}
|
|
@ -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 "« Back" %}</button>
|
|
||||||
<button type="button" class="btn btn-primary button-next">{% trans "Next »" %}</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 %}
|
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user