refactor sidebar inclusion
This commit is contained in:
		| @@ -1,6 +0,0 @@ | ||||
|  | ||||
|           <form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/device') %]"> | ||||
|             <input name="tab" value="[% tab.id %]" type="hidden"/> | ||||
|             <input name="ip" value="[% params.ip %]" type="hidden"/> | ||||
|             <input name="q" value="[% params.q %]" type="hidden"/> | ||||
|           </form> | ||||
| @@ -1,6 +0,0 @@ | ||||
|  | ||||
|           <form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/device') %]"> | ||||
|             <input name="tab" value="[% tab.id %]" type="hidden"/> | ||||
|             <input name="ip" value="[% params.ip %]" type="hidden"/> | ||||
|             <input name="q" value="[% params.q %]" type="hidden"/> | ||||
|           </form> | ||||
| @@ -1,6 +0,0 @@ | ||||
|  | ||||
|           <form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/device') %]"> | ||||
|             <input name="tab" value="[% tab.id %]" type="hidden"/> | ||||
|             <input name="ip" value="[% params.ip %]" type="hidden"/> | ||||
|             <input name="q" value="[% params.q %]" type="hidden"/> | ||||
|           </form> | ||||
| @@ -1,10 +1,9 @@ | ||||
|  | ||||
|           <form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/device') %]"> | ||||
|             <input name="tab" value="[% tab.id %]" type="hidden"/> | ||||
|             <p><em>Port Filter Options</em></p> | ||||
|             <input name="ip" value="[% params.ip %]" type="hidden"/> | ||||
|             <div class="clearfix"> | ||||
|               <a class="field_clear_icon" href="#" | ||||
|                 rel="twipsy" data-placement="left" data-offset="3" title="Show all Ports"> | ||||
|                 rel="twipsy" data-placement="above" data-offset="3" title="Show all Ports"> | ||||
|                 <img src="[% uri_base %]/images/tango_sweep.png"/></a> | ||||
|               <input class="nd_port_query span3" placeholder="Port, Name or VLAN" | ||||
|                 name="q" value="[% params.q %]" type="text" | ||||
| @@ -96,10 +95,4 @@ | ||||
|                 </ul> | ||||
|               </div> | ||||
|             </div> | ||||
|             <div class="nd_search clearfix"> | ||||
|               <button id="[% tab.id %]_submit" type="submit" class="btn info">Update View</button> | ||||
|               <a id="[% tab.id %]_bookmark" href="#" | ||||
|                 rel="twipsy" data-placement="left" data-offset="5" title="Bookmark these Settings"> | ||||
|                 <img class="nd_bookmark" src="[% uri_base %]/images/glyphicons_072_bookmark.png"></a> | ||||
|             </div> | ||||
|           </form> | ||||
|             <button id="[% tab.id %]_submit" type="submit" class="btn info span3">Update View</button> | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
|  | ||||
|             <p><em>Device Search Options</em></p> | ||||
|             <input name="q" value="[% params.q %]" type="hidden"/> | ||||
|             <div class="clearfix"> | ||||
|               <input class="span3" placeholder="System Name" | ||||
|                 type="text" name="name" value="[% params.name %]" | ||||
| @@ -60,3 +61,4 @@ | ||||
|                 <span class="nd_searchcheckbox uneditable-input">Match All Options</span> | ||||
|               </label> | ||||
|             </div> | ||||
|             <button id="[% tab.id %]_submit" type="submit" class="btn info span3">Search Again</button> | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
|  | ||||
|             <p><em>Node Search Options</em></p> | ||||
|             <input name="q" value="[% params.q %]" type="hidden"/> | ||||
|             <div class="clearfix input-prepend"> | ||||
|               <label class="add-on"> | ||||
|                 <input type="checkbox" id="stamps" name="stamps"[% ' checked="checked"' IF params.stamps %]/> | ||||
| @@ -34,3 +35,4 @@ | ||||
|               </label> | ||||
|             </div> | ||||
|             [% END %] | ||||
|             <button id="[% tab.id %]_submit" type="submit" class="btn info span3">Search Again</button> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user