add floaty right total vlans number
This commit is contained in:
@@ -137,7 +137,7 @@ form .clearfix.success input {
|
|||||||
/* draw little up arrow to the right of a label for collapsed list */
|
/* draw little up arrow to the right of a label for collapsed list */
|
||||||
.cell-arrow-up {
|
.cell-arrow-up {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 4px;
|
margin-top: 5px;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
border-left: 7px solid transparent;
|
border-left: 7px solid transparent;
|
||||||
border-right: 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 */
|
/* draw little down arrow to the right of a label for collapsed list */
|
||||||
.cell-arrow-down {
|
.cell-arrow-down {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 4px;
|
margin-top: 5px;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
border-left: 7px solid transparent;
|
border-left: 7px solid transparent;
|
||||||
border-right: 7px solid transparent;
|
border-right: 7px solid transparent;
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
[% SET count = count + 1 %]
|
[% SET count = count + 1 %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF count > 10 %]
|
[% IF count > 10 %]
|
||||||
[% SET output = '<a href="#" class="nd_linkcell nd_collapse_vlans">'
|
[% SET output = '<div style="float: right">(' _ count _ ')</div><a href="#" class="nd_linkcell nd_collapse_vlans">'
|
||||||
_ 'Show VLANs</a><div class="nd_collapse_pre_hidden">' _ output %]
|
_ 'Show VLANs</a><div class="nd_collapse_pre_hidden">' _ output %]
|
||||||
[% SET output = output _ '</div>' %]
|
[% SET output = output _ '</div>' %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|||||||
@@ -69,11 +69,11 @@
|
|||||||
|
|
||||||
// enable collapser on any large vlan lists
|
// enable collapser on any large vlan lists
|
||||||
$('.nd_collapse_vlans').collapser({
|
$('.nd_collapse_vlans').collapser({
|
||||||
target: 'siblings',
|
target: 'next',
|
||||||
effect: 'slide',
|
effect: 'slide',
|
||||||
changeText: true,
|
changeText: true,
|
||||||
expandHtml: '<div class="nd_collapser">Show VLANs<div class="cell-arrow-up"></div></div>',
|
expandHtml: '<div class="cell-arrow-up"></div><div class="nd_collapser">Show VLANs</div>',
|
||||||
collapseHtml: '<div class="nd_collapser">Hide VLANs<div class="cell-arrow-down"></div></div>',
|
collapseHtml: '<div class="cell-arrow-down"></div><div class="nd_collapser">Hide VLANs</div>',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user