[enh] prettier search url display
This commit is contained in:
		
							parent
							
								
									b09aaf126e
								
							
						
					
					
						commit
						01bebc0c30
					
				| @ -10,7 +10,7 @@ | |||||||
|     <div id="sidebar"> |     <div id="sidebar"> | ||||||
|         <div id="search_url"> |         <div id="search_url"> | ||||||
|             {{ _('Search URL') }}: |             {{ _('Search URL') }}: | ||||||
|             <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly /> |             <input type="text" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&pageno={{ pageno }}{% endif %}" readonly /> | ||||||
|         </div> |         </div> | ||||||
|         <div id="apis"> |         <div id="apis"> | ||||||
|             {{ _('Download results') }}<br /> |             {{ _('Download results') }}<br /> | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ | |||||||
| 
 | 
 | ||||||
|         <div id="search_url"> |         <div id="search_url"> | ||||||
|             {{ _('Search URL') }}: |             {{ _('Search URL') }}: | ||||||
|             <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly /> |             <input type="text" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&pageno={{ pageno }}{% endif %}" readonly /> | ||||||
|         </div> |         </div> | ||||||
|         <div id="apis"> |         <div id="apis"> | ||||||
|         {{ _('Download results') }} |         {{ _('Download results') }} | ||||||
|  | |||||||
| @ -108,7 +108,7 @@ | |||||||
|                     <form role="form"> |                     <form role="form"> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="search_url">{{ _('Search URL') }}</label> |                             <label for="search_url">{{ _('Search URL') }}</label> | ||||||
|                             <input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly> |                             <input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&pageno={{ pageno }}{% endif %}" readonly> | ||||||
|                         </div> |                         </div> | ||||||
|                     </form> |                     </form> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adam Tauber
						Adam Tauber