#1038 ability to set "partial" default "on" in device ports sidebar
This commit is contained in:
@@ -113,6 +113,8 @@ sidebar_defaults:
|
|||||||
search_device:
|
search_device:
|
||||||
matchall: { default: checked }
|
matchall: { default: checked }
|
||||||
device_ports:
|
device_ports:
|
||||||
|
partial: { default: checked }
|
||||||
|
invert: { default: null }
|
||||||
c_admin: { label: 'Port Control and Editing', default: null, idx: 0 }
|
c_admin: { label: 'Port Control and Editing', default: null, idx: 0 }
|
||||||
c_port: { label: 'Port', default: checked, idx: 1 }
|
c_port: { label: 'Port', default: checked, idx: 1 }
|
||||||
c_descr: { label: 'Description', default: null, idx: 2 }
|
c_descr: { label: 'Description', default: null, idx: 2 }
|
||||||
|
|||||||
@@ -11,14 +11,14 @@
|
|||||||
<div class="clearfix input-prepend nd_port-partial">
|
<div class="clearfix input-prepend nd_port-partial">
|
||||||
<label class="add-on nd_port-partial-label">
|
<label class="add-on nd_port-partial-label">
|
||||||
<input type="checkbox" id="partial"
|
<input type="checkbox" id="partial"
|
||||||
name="partial"[% ' checked="checked"' IF params.partial %]/>
|
name="partial"[% ' checked="checked"' IF vars.sidebar_defaults.device_ports.partial %]/>
|
||||||
</label>
|
</label>
|
||||||
<label class="nd_checkboxlabel" for="partial">
|
<label class="nd_checkboxlabel" for="partial">
|
||||||
<span class="nd_port-partial-checkbox uneditable-input">Partial Match</span>
|
<span class="nd_port-partial-checkbox uneditable-input">Partial Match</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="add-on nd_port-invert-label">
|
<label class="add-on nd_port-invert-label">
|
||||||
<input type="checkbox" id="invert"
|
<input type="checkbox" id="invert"
|
||||||
name="invert"[% ' checked="checked"' IF params.invert %]/>
|
name="invert"[% ' checked="checked"' IF vars.sidebar_defaults.device_ports.invert %]/>
|
||||||
</label>
|
</label>
|
||||||
<label class="nd_checkboxlabel" for="invert">
|
<label class="nd_checkboxlabel" for="invert">
|
||||||
<span class="nd_port-invert-checkbox uneditable-input">Not</span>
|
<span class="nd_port-invert-checkbox uneditable-input">Not</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user