make hyperlink over all of vlans cell
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
[% END %]
|
[% END %]
|
||||||
[% IF row.tagged_vlans_count > 10 %] [%# FIXME make this a settable variable %]
|
[% IF row.tagged_vlans_count > 10 %] [%# FIXME make this a settable variable %]
|
||||||
[% SET output = '<div class="vlan_total">(' _ row.tagged_vlans_count
|
[% SET output = '<div class="vlan_total">(' _ row.tagged_vlans_count
|
||||||
_ ')</div><div class="cell-arrow-up"></div><a href="#" class="nd_linkcell nd_collapse_vlans">'
|
_ ')</div><a href="#" class="nd_linkcell nd_collapse_vlans"><div class="cell-arrow-up"></div>'
|
||||||
_ 'Show VLANs</a><div class="nd_collapsing nd_collapse_pre_hidden">' _ output %]
|
_ 'Show VLANs</a><div class="nd_collapsing nd_collapse_pre_hidden">' _ output %]
|
||||||
[% SET output = output _ '</div>' %]
|
[% SET output = output _ '</div>' %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
event.preventDefault(); // prevent jump to top of page
|
event.preventDefault(); // prevent jump to top of page
|
||||||
$(this).siblings('.nd_collapsing').toggle('fast');
|
$(this).siblings('.nd_collapsing').toggle('fast');
|
||||||
$(this).siblings('.cell-arrow-up').toggleClass('cell-arrow-down cell-arrow-up');
|
$(this).siblings('.cell-arrow-up').toggleClass('cell-arrow-down cell-arrow-up');
|
||||||
$(this).text('Hide VLANs');
|
$(this).html('<div class="cell-arrow-down"></div>Hide VLANs');
|
||||||
}, function() {
|
}, function() {
|
||||||
event.preventDefault(); // prevent jump to top of page
|
event.preventDefault(); // prevent jump to top of page
|
||||||
$(this).siblings('.nd_collapsing').toggle('fast');
|
$(this).siblings('.nd_collapsing').toggle('fast');
|
||||||
$(this).siblings('.cell-arrow-down').toggleClass('cell-arrow-down cell-arrow-up');
|
$(this).siblings('.cell-arrow-down').toggleClass('cell-arrow-down cell-arrow-up');
|
||||||
$(this).text('Show VLANs');
|
$(this).html('<div class="cell-arrow-up"></div>Show VLANs');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user