Merge branch 'master' into og-autoload
This commit is contained in:
@@ -4,8 +4,8 @@ use Dancer qw/:moose :syntax :script/;
|
||||
use Dancer::Plugin::DBIC 'schema';
|
||||
|
||||
use Net::Domain 'hostfqdn';
|
||||
use Module::Load ();
|
||||
use Try::Tiny;
|
||||
use MCE ();
|
||||
|
||||
use base 'Exporter';
|
||||
our @EXPORT = ();
|
||||
@@ -105,6 +105,7 @@ sub jq_userlog {
|
||||
# MCE ->do() method.
|
||||
sub jq_take {
|
||||
my ($wid, $type) = @_;
|
||||
Module::Load::load 'MCE';
|
||||
|
||||
# be polite to SQLite database (that is, local CPU)
|
||||
debug "$type ($wid): sleeping now...";
|
||||
|
||||
@@ -103,7 +103,8 @@
|
||||
[% END %]
|
||||
</td>
|
||||
<td>Switch Port</td>
|
||||
<td><a class="nd_linkcell nd_center-cell"
|
||||
<td class="nd_center-cell">
|
||||
<a class="nd_linkcell"
|
||||
href="[% device_ports %]&q=[% node.switch | uri %]&f=[% node.port | uri %]&c_nodes=on&c_neighbors=on">
|
||||
[% node.switch | html_entity %] - [% node.port | html_entity %]
|
||||
[% ' <i class="icon-book text-warning"></i>' IF NOT node.active %]</a>
|
||||
|
||||
Reference in New Issue
Block a user