* none is not a valid value for min-width, so set it to zero * these 2 "checked" if statements need a space in front of them, else they will attach to the previous element id="nd_showspeed"checked="checked" * multiple tag has no options according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select also, don't close select before we've gotten to the option tags * multiple tag has no options according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select also, don't close select before we've gotten to the option tags * just to be sure put a space in front of these optional tags as well, * $a is technically allowed but is considered not best practice
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
|             <p class="nd_sidebar-title"><em>Node Vendor Search</em></p>
 | |
|             <fieldset>
 | |
|               <legend class="nd_sidebar-legend">
 | |
|                 <label><em><strong>Vendor</strong></em></label>
 | |
|               </legend>
 | |
|               <div class="clearfix">
 | |
|                 <select class="nd_side-select nd_colored-input" size="[% vendor_list.size > 8 ? 8 : vendor_list.size %]"
 | |
|                   multiple name="vendor"
 | |
|                   rel="tooltip" data-placement="left" data-offset="5" data-title="Vendor">
 | |
|                   [% FOREACH opt IN vendor_list %]
 | |
|                     [% UNLESS opt == '' %]
 | |
|                       <option[% ' selected="selected"' IF vendor_lkp.exists(opt) %]>[% opt | html_entity %]</option>
 | |
|                     [% ELSE %]
 | |
|                       <option value="blank"[% ' selected="selected"' IF vendor_lkp.exists('blank') %]>[% '(Unknown Vendor)' | html_entity %]</option>     
 | |
|                     [% END %]
 | |
|                   [% END %]
 | |
|                 </select>
 | |
|               </div>
 | |
|             </fieldset>
 | |
| 
 | |
|             <fieldset>
 | |
|               <legend class="nd_sidebar-legend">
 | |
|                 <label><em><strong>Options</strong></em></label>
 | |
|               </legend>
 | |
|                 <div class="clearfix input-prepend"
 | |
|                     rel="tooltip" data-placement="left" data-offset="5" data-title="Include Archived Data">
 | |
|                   <label class="add-on">
 | |
|                   <input type="checkbox" id="archived"
 | |
|                     name="archived"[% ' checked="checked"' IF params.archived %]/>
 | |
|                   </label>
 | |
|                   <label class="nd_checkboxlabel" for="archived">
 | |
|                     <span class="nd_searchcheckbox uneditable-input">Archived Data</span>
 | |
|                   </label>
 | |
|                 </div>
 | |
|             </fieldset>
 | |
| 
 | |
|             <button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
 | |
|              <i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search Vendors</button>
 | |
| 
 |