Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Nov 1, 2019
1 parent d9ad60f commit 21415f9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion eNMS/controller/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
from eNMS.properties.table import filtering_properties, table_properties
from eNMS.properties.objects import (
device_properties,
device_icons,
pool_device_properties,
)
from eNMS.controller.syslog import SyslogServer
Expand Down
1 change: 0 additions & 1 deletion eNMS/models/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from netmiko import ConnectHandler
from os import environ
from paramiko import SFTPClient
from pathlib import Path
from ruamel import yaml
from re import compile, search
from requests import post
Expand Down
3 changes: 0 additions & 3 deletions eNMS/static/inventory.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
global
action: false
alertify: false
call: false
config: true
Expand All @@ -9,8 +8,6 @@ fCall: false
initSelect: false
initTable: false
openUrl: false
showPanel: false
showTypePanel: false
tables: false
*/

Expand Down
6 changes: 4 additions & 2 deletions eNMS/static/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ call: false
config: true
L: false
serializeForm: false
showDeviceConfiguration: false
showFilteringPanel: false
showPanel: false
showPoolView: false
showTypePanel: false
viewType: false
Expand Down Expand Up @@ -95,7 +97,7 @@ function createNode(node, nodeType) {
});
if (clustered) {
markers.addLayer(marker);
} else {
} else {
marker.addTo(map);
}
}
Expand Down Expand Up @@ -225,7 +227,7 @@ function showViewFilteringPanel(type) {
}

Object.assign(action, {
"Properties": (o) => showTypePanel(o.icon ? "device" : "link", o.id),
Properties: (o) => showTypePanel(o.icon ? "device" : "link", o.id),
Connect: (d) => showPanel("device_connection", d.id),
Configuration: (d) => showDeviceConfiguration(d),
});
Expand Down
4 changes: 2 additions & 2 deletions eNMS/templates/forms/filtering_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
}}
</td>
<td>
{{ form[property + "_filter"](id=id + "_filter",
class="form-control no-search") }}
{{ form[property + "_filter"](id=id + "_filter", class="form-control
no-search") }}
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 21415f9

Please sign in to comment.