Merge branch 'master' into em-device-ports-json
Conflicts: Netdisco/lib/App/Netdisco/Web/Device.pm
This commit is contained in:
@@ -83,14 +83,18 @@
|
||||
<tr>
|
||||
<td>Administration</td>
|
||||
<td>
|
||||
<a href="ssh://[% d.ip | html_entity %]" target="_blank">
|
||||
<a href="ssh://[% d.ip | uri %]" target="_blank">
|
||||
<span class="label label-info"><i class="icon-keyboard"></i> SSH</span></a>
|
||||
<a href="telnet://[% d.ip | html_entity %]" target="_blank">
|
||||
<a href="telnet://[% d.ip | uri %]" target="_blank">
|
||||
<span class="label label-info"><i class="icon-keyboard"></i> Telnet</span></a>
|
||||
<a href="https://[% d.ip | html_entity %]/" target="_blank">
|
||||
<a href="https://[% d.ip | uri %]/" target="_blank">
|
||||
<span class="label label-info"><i class="icon-external-link"></i> Web</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SNMP Class</td>
|
||||
<td><a target="_blank" href="https://metacpan.org/pod/[% d.snmp_class | uri %]">[% d.snmp_class | html_entity %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Uptime</td>
|
||||
<td>[% d.uptime_age | html_entity %]</td>
|
||||
|
||||
@@ -122,6 +122,11 @@
|
||||
<button type="submit" class="btn btn-link nd_btn-link">NBTstat All</button>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
<form method="post" class="nd_inline-form" action="[% uri_for('/admin/expire') %]">
|
||||
<button type="submit" class="btn btn-link nd_btn-link">Run Expire Job</button>
|
||||
</form>
|
||||
</li>
|
||||
[% IF settings._admin_tasks.size %]
|
||||
<li class="divider"></li>
|
||||
[% FOREACH ai IN settings._admin_order %]
|
||||
|
||||
@@ -128,9 +128,10 @@
|
||||
<li>
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_mac-format" name="mac_format">
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% END %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Cisco' %]>Cisco</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Microsoft' %] value="Microsoft">IEEE</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'IEEE' %] value="IEEE">Microsoft</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Sun' %]>Sun</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
@@ -55,9 +55,10 @@
|
||||
<div class="clearfix">
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_node-mac-format" name="mac_format">
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% END %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Cisco' %]>Cisco</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Microsoft' %] value="Microsoft">IEEE</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'IEEE' %] value="IEEE">Microsoft</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Sun' %]>Sun</option>
|
||||
</select>
|
||||
</div>
|
||||
<button id="[% tab.tag %]_submit" type="submit" class="btn btn-info">
|
||||
|
||||
Reference in New Issue
Block a user