fix bug in netmap sidebar and better hiding for too_many_devices

This commit is contained in:
Oliver Gorwits
2023-11-12 07:30:23 +00:00
parent ac54635628
commit 0867417430
2 changed files with 6 additions and 2 deletions

View File

@@ -60,7 +60,9 @@
<hr class="nd_sidebar-hr"/>
[% IF device_count < (vars.sidebar_defaults.device_netmap.too_many_devices || 1000) %]
[% IF device_count > (vars.sidebar_defaults.device_netmap.too_many_devices || 1000) %]
<span class="nd_disabled-feature">
[% END %]
<div class="radio radio-success">
<input type="radio" name="mapshow" id="nd_mapshow-all"
[% 'checked' IF vars.sidebar_defaults.device_netmap.mapshow == 'all' %] value="all">
@@ -79,6 +81,8 @@
value="[% params.depth || vars.sidebar_defaults.device_netmap.hops || 1 | html_entity %]"/>
</label>
</div>
[% IF device_count > (vars.sidebar_defaults.device_netmap.too_many_devices || 1000) %]
</span>
[% END %]
<label><span id="nd_vlan-label-text">Carrying VLAN: </span>