diff --git a/Netdisco/public/css/style.css b/Netdisco/public/css/style.css index ae60bb21..d599e08c 100644 --- a/Netdisco/public/css/style.css +++ b/Netdisco/public/css/style.css @@ -134,11 +134,32 @@ form .clearfix.success input { border-top: 8px solid #F89406; } +/* draw little up arrow to the right of a label for collapsed list */ +.cell-arrow-up { + float: left; + margin-top: 4px; + margin-right: 6px; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 8px solid #F89406; +} + +/* draw little down arrow to the right of a label for collapsed list */ +.cell-arrow-down { + float: left; + margin-top: 4px; + margin-right: 6px; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-top: 8px solid #F89406; +} + /* nudge the port name/vlan filter over a little */ .nd_port_query { margin-left: -2px !important; } +/* for ports table to center cell content */ .center_cell { text-align: center; } diff --git a/Netdisco/views/ajax/device/ports.tt b/Netdisco/views/ajax/device/ports.tt index e45de8d7..4a9d77b0 100644 --- a/Netdisco/views/ajax/device/ports.tt +++ b/Netdisco/views/ajax/device/ports.tt @@ -9,8 +9,10 @@ + [% SET rownum = 0 %] [% FOREACH row in results %] [% NEXT IF params.free AND NOT row.is_free(params.age_num, params.age_unit) %] + [% SET rownum = rownum + 1 %]