aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base/resource/steps/pod_definition.html
diff options
context:
space:
mode:
authorGergely Csatari <gergely.csatari@nokia.com>2023-10-26 10:33:28 +0300
committerGergely Csatari <gergely.csatari@nokia.com>2023-10-26 10:34:28 +0300
commit2ec0d7b9f5c1354977b821c6b06c24a3ffa13142 (patch)
tree6e449d92ddfc880ed007e9d8a8f25bda8fc7cb0f /src/templates/base/resource/steps/pod_definition.html
parent0d3dd290aa6e7f39e7b0b3cbe448b6622f924240 (diff)
Removing project content and adding a noteHEADmaster
that the development continues in GitHub Change-Id: I25c58a679dbf92b2367d826429b7cda936bf9f0e Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Diffstat (limited to 'src/templates/base/resource/steps/pod_definition.html')
-rw-r--r--src/templates/base/resource/steps/pod_definition.html72
1 files changed, 0 insertions, 72 deletions
diff --git a/src/templates/base/resource/steps/pod_definition.html b/src/templates/base/resource/steps/pod_definition.html
deleted file mode 100644
index 233d995..0000000
--- a/src/templates/base/resource/steps/pod_definition.html
+++ /dev/null
@@ -1,72 +0,0 @@
-{% extends "workflow/viewport-element.html" %}
-{% block extrahead %}
-<title>Pod Definition Prototype</title>
-
-<!-- Loads and initializes the library -->
-<script>
- var mxLoadStylesheets = false;
-</script>
-{% endblock extrahead %}
-
-<!-- Calls the main function after the page has loaded. Container is dynamically created. -->
-{% block content %}
-<div class="h-100 w-100 position-relative">
- <div class="h-100 w-100 position-absolute overflow-hidden">
- <div class="row h-100">
- <div id="graphParent" class="col h-100">
- <div class="d-flex bg-light border align-items-center">
- <div id="toolbarContainer"></div>
- <div class="ml-4 text-info">Hold right click to drag</div>
- </div>
- <!-- Creates a container for the sidebar -->
- <div id="graphContainer" class="border h-100"></div>
- </div>
-
- <div id="network_select" class="col-2">
- <!-- Creates a container for the outline -->
- <div id="outlineContainer" class="border mb-2"></div>
- <button id="btn_add_network" type="button" class="btn btn-primary w-100 mb-2" onclick="network_step.newNetworkWindow();">Add Network</button>
- <ul id="network_list" class="list-group">
- </ul>
- <button type="button" class="d-none" onclick="network_step.submitForm();">Submit</button>
- </div>
- </div>
- </div>
-</div>
-<form id="step_form" method="post">
- {% csrf_token %}
- <input type="hidden" id="hidden_xml_input" name="xml">
-</form>
-<script>
- //gather context data
- try {
- let debug = false;
- {% if debug %}
- debug = true;
- {% endif %}
-
- const False = false;
- const True = true;
-
- let resources = {{resources|safe}};
- let networks = {{networks|safe}};
-
- network_step = new NetworkStep(
- debug,
- resources,
- networks,
- document.getElementById('graphContainer'),
- document.getElementById('outlineContainer'),
- document.getElementById('toolbarContainer'),
- document.getElementById('sidebarContainer')
- );
- form_submission_callbacks.push(() => network_step.prepareForm());
- } catch (e) {
- console.log(e)
- }
-
-</script>
-{% endblock content %}
-{% block onleave %}
-network_step.submitForm();
-{% endblock %}