relocate repo files so ND2 is the only code
This commit is contained in:
4
share/views/sidebar/report/generic_report.tt
Normal file
4
share/views/sidebar/report/generic_report.tt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[% FOREACH k IN report.rconfig.bind_params %]
|
||||
<input name="[% k %]" value="[% params.$k | html_entity %]" type="hidden"/>
|
||||
[% END %]
|
||||
60
share/views/sidebar/report/ipinventory.tt
Normal file
60
share/views/sidebar/report/ipinventory.tt
Normal file
@@ -0,0 +1,60 @@
|
||||
|
||||
<div class="clearfix">
|
||||
<input id="nd_ipinventory-subnet" class="nd_sidebar-topinput nd_colored-input"
|
||||
placeholder="CIDR Prefix/Subnet" required="required"
|
||||
name="subnet" value="[% params.subnet | html_entity %]" type="text" autocomplete="off"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Prefix/Subnet in CIDR Format"/>
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Date Range</strong></em></label>
|
||||
</legend>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="age_invert"
|
||||
name="age_invert"[% ' checked="checked"' IF params.age_invert %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="age_invert">
|
||||
<span class="nd_searchcheckbox uneditable-input">Not within...</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<input class="nd_side-input" id="daterange" required="required"
|
||||
type="text" name="daterange" value="[%
|
||||
(params.exists('daterange') ? params.daterange : to_daterange('30 days')) | html_entity %]"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Options</strong></em></label>
|
||||
</legend>
|
||||
<div class="clearfix">
|
||||
<ul class="unstyled">
|
||||
<li>
|
||||
<em class="muted">Oldest records limit:</em><br/>
|
||||
<select id="nd_mac-format" class="nd_side-select" name="limit">
|
||||
[% FOREACH size IN [ '32', '64', '128', '256', '512', '1024', '2048', '4096', '8192' ] %]
|
||||
<option[% ' selected="selected"' IF (params.limit == size OR (NOT params.limit AND size == 2048)) %]>
|
||||
[% size %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix input-prepend"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Applies to IPv4 Only">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="never"
|
||||
name="never"[% ' checked="checked"' IF params.never %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="never">
|
||||
<span class="nd_searchcheckbox uneditable-input">List IP's Never Seen</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search IPs</button>
|
||||
|
||||
78
share/views/sidebar/report/moduleinventory.tt
Normal file
78
share/views/sidebar/report/moduleinventory.tt
Normal file
@@ -0,0 +1,78 @@
|
||||
|
||||
<p class="nd_sidebar-title"><em>Module Search</em></p>
|
||||
<div class="clearfix">
|
||||
<i id="device_clear_btn" data-btn-for="device"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Device"
|
||||
type="text" name="device" value="[% params.dns | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Device IP, DNS, Description, Name, Location, Serial, or Contact"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<i id="description_clear_btn" data-btn-for="description"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Module Description"
|
||||
type="text" name="description" value="[% params.description | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Description"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<i id="name_clear_btn" data-btn-for="name"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Module Name"
|
||||
type="text" name="name" value="[% params.name | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Name"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<i id="type_clear_btn" data-btn-for="type"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Module Type"
|
||||
type="text" name="type" value="[% params.type | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Type"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<i id="model_clear_btn" data-btn-for="model"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Module Model"
|
||||
type="text" name="model" value="[% params.model | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Model"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<i id="serial_clear_btn" data-btn-for="serial"
|
||||
class="nd_field-clear-icon icon-trash icon-large"></i>
|
||||
<input class="nd_side-input nd_colored-input" placeholder="Module Serial"
|
||||
type="text" name="serial" value="[% params.serial | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Serial"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<select class="nd_side-select nd_colored-input" size="[% class_list.size > 5 ? 5 : class_list.size %]"
|
||||
multiple="on" name="class"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Module Class"/>
|
||||
[% FOREACH opt IN class_list %]
|
||||
<option[% ' selected="selected"' IF class_lkp.exists(opt) %]>[% opt | html_entity %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Options</strong></em></label>
|
||||
</legend>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="fruonly"
|
||||
name="fruonly"[% ' checked="checked"' IF params.fruonly %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="fruonly">
|
||||
<span class="nd_searchcheckbox uneditable-input">FRU Only</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="matchall"
|
||||
name="matchall"[% ' checked="checked"' IF params.matchall %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="matchall">
|
||||
<span class="nd_searchcheckbox uneditable-input">Match All Options</span>
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<button id="[% tab.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Modules</button>
|
||||
19
share/views/sidebar/report/netbios.tt
Normal file
19
share/views/sidebar/report/netbios.tt
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
<p class="nd_sidebar-title"><em>NetBIOS Domain</em></p>
|
||||
<div class="clearfix">
|
||||
<select class="nd_side-select nd_colored-input" size="[% domain_list.size > 8 ? 8 : domain_list.size %]"
|
||||
multiple="on" name="domain"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Domain"/>
|
||||
[% FOREACH opt IN domain_list %]
|
||||
[% UNLESS opt == '' %]
|
||||
<option[% ' selected="selected"' IF domain_lkp.exists(opt) %]>[% opt | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="blank"[% ' selected="selected"' IF domain_lkp.exists('blank') %]>[% '(Blank Domain)' | html_entity %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search NetBIOS</button>
|
||||
|
||||
52
share/views/sidebar/report/nodesdiscovered.tt
Normal file
52
share/views/sidebar/report/nodesdiscovered.tt
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
<p class="nd_sidebar-title"><em>Node Search Options</em></p>
|
||||
<input name="q" value="[% params.q | html_entity %]" type="hidden"/>
|
||||
<div class="clearfix">
|
||||
<input class="nd_side-input" placeholder="Remote ID (host name)"
|
||||
type="text" name="remote_id" value="[% params.name | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Remote ID"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<input class="nd_side-input" placeholder="Remote Type (platform)"
|
||||
type="text" name="remote_type" value="[% params.name | html_entity %]"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Remote Type"/>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<select class="nd_side-select nd_colored-input" size="[% type_list.size > 8 ? 8 : type_list.size %]"
|
||||
multiple="on" name="remote_type"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Remote Type"/>
|
||||
[% FOREACH opt IN type_list %]
|
||||
<option[% ' selected="selected"' IF type_lkp.exists(opt) %]>[% opt | html_entity %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="phones"
|
||||
name="phones"[% ' checked="checked"' IF params.phones %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="phones">
|
||||
<span class="nd_searchcheckbox uneditable-input"><i class="icon-li icon-phone"></i> IP Phones</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="aps"
|
||||
name="aps"[% ' checked="checked"' IF params.aps %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="aps">
|
||||
<span class="nd_searchcheckbox uneditable-input"><i class="icon-li icon-signal"></i>  Wireless APs</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="clearfix"><p></p></div>
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="matchall"
|
||||
name="matchall"[% ' checked="checked"' IF params.matchall %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="matchall">
|
||||
<span class="nd_searchcheckbox uneditable-input">Match All Options</span>
|
||||
</label>
|
||||
</div>
|
||||
<button id="[% tab.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Nodes</button>
|
||||
40
share/views/sidebar/report/nodevendor.tt
Normal file
40
share/views/sidebar/report/nodevendor.tt
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
<p class="nd_sidebar-title"><em>Node Vendor Search</em></p>
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Vendor</strong></em></label>
|
||||
</legend>
|
||||
<div class="clearfix">
|
||||
<select class="nd_side-select nd_colored-input" size="[% vendor_list.size > 8 ? 8 : vendor_list.size %]"
|
||||
multiple="on" name="vendor"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Vendor"/>
|
||||
[% FOREACH opt IN vendor_list %]
|
||||
[% UNLESS opt == '' %]
|
||||
<option[% ' selected="selected"' IF vendor_lkp.exists(opt) %]>[% opt | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="blank"[% ' selected="selected"' IF vendor_lkp.exists('blank') %]>[% '(Unknown Vendor)' | html_entity %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Options</strong></em></label>
|
||||
</legend>
|
||||
<div class="clearfix input-prepend"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Include Archived Data">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="archived"
|
||||
name="archived"[% ' checked="checked"' IF params.archived %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="archived">
|
||||
<span class="nd_searchcheckbox uneditable-input">Archived Data</span>
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Vendors</button>
|
||||
|
||||
5
share/views/sidebar/report/portlog.tt
Normal file
5
share/views/sidebar/report/portlog.tt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
<input name="q" value="[% params.q | html_entity %]" type="hidden"/>
|
||||
<input name="f" value="[% params.f | html_entity %]" type="hidden"/>
|
||||
<script type="text/javascript">has_sidebar["portlog"] = 0;</script>
|
||||
10
share/views/sidebar/report/portmultinodes.tt
Normal file
10
share/views/sidebar/report/portmultinodes.tt
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
<div class="clearfix nd_netmap-sidebar">
|
||||
<em class="muted nd_sidebar-label">Filter by VLAN:</em><br/>
|
||||
<input id="nd_port-query" placeholder="" type="number"
|
||||
name="vlan" value="[% params.vlan | html_entity %]" type="text"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="VLAN"/>
|
||||
</div>
|
||||
<button id="[% tab.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Ports</button>
|
||||
|
||||
15
share/views/sidebar/report/portssid.tt
Normal file
15
share/views/sidebar/report/portssid.tt
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
<p class="nd_sidebar-title"><em>Details by SSID</em></p>
|
||||
<div class="clearfix">
|
||||
<select class="nd_side-select nd_colored-input" size="[% ssid_list.size > 8 ? 8 : ssid_list.size %]"
|
||||
multiple="on" name="ssid"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="SSID"/>
|
||||
[% FOREACH opt IN ssid_list %]
|
||||
<option[% ' selected="selected"' IF ssid_lkp.exists(opt) %]>[% opt | html_entity %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search SSID</button>
|
||||
|
||||
32
share/views/sidebar/report/subnets.tt
Normal file
32
share/views/sidebar/report/subnets.tt
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
<div class="clearfix">
|
||||
<input id="nd_ipinventory-subnet" class="nd_sidebar-topinput nd_colored-input"
|
||||
placeholder="CIDR Prefix/Subnet" required="required"
|
||||
name="subnet" value="[% params.subnet | html_entity %]" type="text" autocomplete="off"
|
||||
rel="tooltip" data-placement="left" data-offset="5" data-title="Prefix/Subnet in CIDR Format"/>
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
<legend class="nd_sidebar-legend">
|
||||
<label><em><strong>Date Range</strong></em></label>
|
||||
</legend>
|
||||
<!--
|
||||
<div class="clearfix input-prepend">
|
||||
<label class="add-on">
|
||||
<input type="checkbox" id="age_invert"
|
||||
name="age_invert"[% ' checked="checked"' IF params.age_invert %]/>
|
||||
</label>
|
||||
<label class="nd_checkboxlabel" for="age_invert">
|
||||
<span class="nd_searchcheckbox uneditable-input">Not within...</span>
|
||||
</label>
|
||||
</div>
|
||||
-->
|
||||
<div class="clearfix">
|
||||
<input class="nd_side-input" id="daterange" required="required"
|
||||
type="text" name="daterange" value="[%
|
||||
(params.exists('daterange') ? params.daterange : to_daterange('30 days')) | html_entity %]"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
|
||||
<i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Subnets</button>
|
||||
Reference in New Issue
Block a user