tweaking for ports sidebar layout css
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
<div class="tab-content">
|
||||
[% FOREACH tab IN vars.tabs %]
|
||||
<div id="[% tab.id %]_search" class="tab-pane [% 'active' IF params.tab == tab.id %]">
|
||||
<form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/device') %]">
|
||||
<form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked"
|
||||
method="get" action="[% uri_for('/device') %]">
|
||||
<input name="tab" value="[% tab.id %]" type="hidden"/>
|
||||
[% TRY %]
|
||||
[% INCLUDE "sidebar/device/${tab.id}.tt" %]
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<a class="field_clear_icon" href="#"
|
||||
rel="tooltip" data-placement="top" data-offset="3" title="Show all Ports">
|
||||
<img src="[% uri_base %]/images/tango_sweep.png"/></a>
|
||||
<input class="nd_port_query" placeholder="Port, Name or VLAN"
|
||||
<input id="nd_port_query" placeholder="Port, Name or VLAN"
|
||||
name="f" value="[% params.f %]" type="text"
|
||||
rel="tooltip" data-placement="left" data-offset="5" title="Filter by Port, Name or VLAN"/>
|
||||
</div>
|
||||
@@ -62,18 +62,17 @@
|
||||
Only Show Free Ports
|
||||
</label>
|
||||
</li>
|
||||
<p></p>
|
||||
<li>
|
||||
<span rel="tooltip" data-placement="left"
|
||||
data-offset="5" title="Free if Down for this period of time">
|
||||
<select class="nd_days_select" name="age_num"/>
|
||||
<select id="nd_days_select" name="age_num"/>
|
||||
[% SET count = 1 %]
|
||||
[% WHILE count < 32 %]
|
||||
<option[% ' selected="selected"' IF params.age_num == count %]>[% count %]</option>
|
||||
[% SET count = count + 1 %]
|
||||
[% END %]
|
||||
</select>
|
||||
<select class="span2" name="age_unit"/>
|
||||
<select id="nd_age_select" name="age_unit"/>
|
||||
[% FOREACH unit IN [ 'days', 'weeks', 'months', 'years' ] %]
|
||||
<option[% ' selected="selected"' IF params.age_unit == unit %]>[% unit %]</option>
|
||||
[% END %]
|
||||
|
||||
Reference in New Issue
Block a user