diff --git a/Netdisco/public/css/style.css b/Netdisco/public/css/style.css index d599e08c..7e48bad8 100644 --- a/Netdisco/public/css/style.css +++ b/Netdisco/public/css/style.css @@ -137,7 +137,7 @@ form .clearfix.success input { /* draw little up arrow to the right of a label for collapsed list */ .cell-arrow-up { float: left; - margin-top: 4px; + margin-top: 5px; margin-right: 6px; border-left: 7px solid transparent; border-right: 7px solid transparent; @@ -147,7 +147,7 @@ form .clearfix.success input { /* draw little down arrow to the right of a label for collapsed list */ .cell-arrow-down { float: left; - margin-top: 4px; + margin-top: 5px; margin-right: 6px; border-left: 7px solid transparent; border-right: 7px solid transparent; diff --git a/Netdisco/views/ajax/device/ports.tt b/Netdisco/views/ajax/device/ports.tt index 4a9d77b0..08a9a388 100644 --- a/Netdisco/views/ajax/device/ports.tt +++ b/Netdisco/views/ajax/device/ports.tt @@ -77,7 +77,7 @@ [% SET count = count + 1 %] [% END %] [% IF count > 10 %] - [% SET output = '' + [% SET output = '
(' _ count _ ')
' _ 'Show VLANs
' _ output %] [% SET output = output _ '
' %] [% END %] diff --git a/Netdisco/views/inc/js/device.js b/Netdisco/views/inc/js/device.js index 30f8d5e0..4ea9c90a 100644 --- a/Netdisco/views/inc/js/device.js +++ b/Netdisco/views/inc/js/device.js @@ -69,11 +69,11 @@ // enable collapser on any large vlan lists $('.nd_collapse_vlans').collapser({ - target: 'siblings', + target: 'next', effect: 'slide', changeText: true, - expandHtml: '
Show VLANs
', - collapseHtml: '
Hide VLANs
', + expandHtml: '
Show VLANs
', + collapseHtml: '
Hide VLANs
', }); } );