web app, initial working emane option configuration
This commit is contained in:
parent
ddfa0ddfa4
commit
a55cd6a524
6 changed files with 262 additions and 3 deletions
22
webapp/templates/config_modal.html
Normal file
22
webapp/templates/config_modal.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div id="config-modal" class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header bg-dark text-white">
|
||||
<h5 class="modal-title"></h5>
|
||||
<button type="button" class="close text-white" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body h-80">
|
||||
<ul class="nav nav-tabs"></ul>
|
||||
<form>
|
||||
<div class="tab-content p-1"></div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="config-button" type="button" class="btn btn-primary">Save</button>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -118,6 +118,7 @@
|
|||
{% include 'linkedit_modal.html' %}
|
||||
{% include 'service_modal.html' %}
|
||||
{% include 'services_modal.html' %}
|
||||
{% include 'config_modal.html' %}
|
||||
|
||||
<div id="node-context" class="list-group context d-none">
|
||||
<button type="button" class="list-group-item list-group-item-action" data-option="edit">Edit Node</button>
|
||||
|
@ -186,6 +187,7 @@
|
|||
const edgeEditModal = new EdgeEditModal(coreNetwork, coreRest);
|
||||
const edgeContext = new EdgeContext(coreNetwork, edgeEditModal);
|
||||
const infoPanel = new InfoPanel(coreNetwork);
|
||||
const configModal = new ConfigModel(coreRest);
|
||||
|
||||
coreNetwork.initialSession()
|
||||
.then(function (session) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue