Grant Lanham 
							
						 
					 
					
						
						
						
						
							
						
						
							0b832f19bf 
							
						 
					 
					
						
						
							
							[fix] Removes `/>` ending tags for void HTML elements  
						
						... 
						
						
						
						Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``.
Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2].
[1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements 
[2] https://github.com/searxng/searxng/issues/3793  
						
						
					 
					
						2024-09-15 15:19:51 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							3f22dbb68a 
							
						 
					 
					
						
						
							
							[fix] products template: don't quote html tags in result.content  
						
						... 
						
						
						
						The result.content field is *safe* HTML, tags to highlight search terms are
intended.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2024-07-27 11:46:25 +02:00 
						 
				 
			
				
					
						
							
							
								Bnyro 
							
						 
					 
					
						
						
						
						
							
						
						
							e9f8412a6e 
							
						 
					 
					
						
						
							
							[perf] torrents.html, files.html: don't parse and re-format filesize  
						
						
						
						
					 
					
						2024-06-15 15:42:29 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kukula 
							
						 
					 
					
						
						
						
						
							
						
						
							cc8b537e34 
							
						 
					 
					
						
						
							
							[mod] package.html template: additional links (a python dict)  
						
						... 
						
						
						
						- Closes: https://github.com/searxng/searxng/issues/3456  
						
						
					 
					
						2024-05-15 12:50:35 +02:00 
						 
				 
			
				
					
						
							
							
								Bnyro 
							
						 
					 
					
						
						
						
						
							
						
						
							db1f9b31c9 
							
						 
					 
					
						
						
							
							[feat] images: show resolution inside the image and fix image details overflow  
						
						... 
						
						
						
						Co-authored-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2024-02-25 16:22:37 +01:00 
						 
				 
			
				
					
						
							
							
								Bnyro 
							
						 
					 
					
						
						
						
						
							
						
						
							e76ab1a4b3 
							
						 
					 
					
						
						
							
							[refactor] images: add resolution, image format and filesize fields  
						
						... 
						
						
						
						Co-authored-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2024-02-25 16:22:37 +01:00 
						 
				 
			
				
					
						
							
							
								Bnyro 
							
						 
					 
					
						
						
						
						
							
						
						
							938391b050 
							
						 
					 
					
						
						
							
							[feat] templates: add package result template  
						
						... 
						
						
						
						Co-authored-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2024-02-25 14:56:57 +01:00 
						 
				 
			
				
					
						
							
							
								Hermógenes Oliveira 
							
						 
					 
					
						
						
						
						
							
						
						
							100a150a33 
							
						 
					 
					
						
						
							
							Remove rtl exception  
						
						... 
						
						
						
						This right-to-left exception doesn't seem to be called for. 
						
						
					 
					
						2024-01-31 20:03:10 +01:00 
						 
				 
			
				
					
						
							
							
								Hermógenes Oliveira 
							
						 
					 
					
						
						
						
						
							
						
						
							f9f0c2ec03 
							
						 
					 
					
						
						
							
							Fix media exposure toggle  
						
						... 
						
						
						
						Make initially hidden and the toggle button consistent. 
						
						
					 
					
						2024-01-31 20:03:10 +01:00 
						 
				 
			
				
					
						
							
							
								Hermógenes Oliveira 
							
						 
					 
					
						
						
						
						
							
						
						
							fa7fef7d87 
							
						 
					 
					
						
						
							
							Provide template for results in file category  
						
						... 
						
						
						
						This is used, for instance, by the recoll engine. 
						
						
					 
					
						2024-01-31 20:03:10 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							935aed7ca4 
							
						 
					 
					
						
						
							
							[feature] dark theme for code highlighter in the result list  
						
						... 
						
						
						
						Closes: https://github.com/searxng/searxng/issues/1354 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2023-09-11 12:27:56 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							b424ee255e 
							
						 
					 
					
						
						
							
							[mod] paper.html: simplify template by using result_link macro  
						
						... 
						
						
						
						Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-09-24 16:13:36 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							3198c906af 
							
						 
					 
					
						
						
							
							[mod] paper.html: add links to doi resolver  
						
						... 
						
						
						
						Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-09-24 14:19:51 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							d6446be38f 
							
						 
					 
					
						
						
							
							[mod] science category: various update of about PR 1705  
						
						
						
						
					 
					
						2022-09-23 20:52:55 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre FLAMENT 
							
						 
					 
					
						
						
						
						
							
						
						
							5ba831d6a8 
							
						 
					 
					
						
						
							
							Add paper.html result template  
						
						
						
						
					 
					
						2022-09-23 20:45:58 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							7f30ac37e9 
							
						 
					 
					
						
						
							
							map.html: display the intended text for the links instead of the URL  
						
						... 
						
						
						
						For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo  
						
						
					 
					
						2022-07-02 16:51:25 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							88f62cf0df 
							
						 
					 
					
						
						
							
							[fix] clean up templates / remove import of result_footer_rtl macro  
						
						... 
						
						
						
						A macro named 'result_footer_rtl' does not exists.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-06-20 19:00:10 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre FLAMENT 
							
						 
					 
					
						
						
						
						
							
						
						
							0063427309 
							
						 
					 
					
						
						
							
							Template images.html: lazy by JS the full size image  
						
						... 
						
						
						
						Remove lazy loading by browser / width / height:
JS is required to display this HTML fragment anyway.
Simplify the HTML template. 
						
						
					 
					
						2022-05-18 07:29:31 +00:00 
						 
				 
			
				
					
						
							
							
								mrpaulblack 
							
						 
					 
					
						
						
						
						
							
						
						
							392c9c4243 
							
						 
					 
					
						
						
							
							[simple theme] add products.html template  
						
						
						
						
					 
					
						2022-05-11 00:03:21 +02:00 
						 
				 
			
				
					
						
							
							
								mrpaulblack 
							
						 
					 
					
						
						
						
						
							
						
						
							169f8d9988 
							
						 
					 
					
						
						
							
							[simple theme] add netloc to image result articles  
						
						
						
						
					 
					
						2022-04-06 15:07:05 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							16d05ca285 
							
						 
					 
					
						
						
							
							[mod] simple theme: define a '.show-content-button'  
						
						... 
						
						
						
						With LESS function '.show-content-button' all the *Show-Media* links becomes
bottons.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-02-19 15:12:50 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							7352c6bc79 
							
						 
					 
					
						
						
							
							[mod] templates: rename field for <iframe> URL to iframe_src  
						
						... 
						
						
						
						Rename result field data_src to iframe_src
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-02-18 19:00:49 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							98cab4cf75 
							
						 
					 
					
						
						
							
							[mod] result_templates/default.html replace embedded HTML by data_src audio_src  
						
						... 
						
						
						
						Embedded HTML breaks SearXNG architecture.  To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src' (and 'audio_src'), an URL for embedded content (<iframe>).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-02-13 14:20:47 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							46e131fdad 
							
						 
					 
					
						
						
							
							[mod] result_templates/videos.html: replace embedded HTML by data_src  
						
						... 
						
						
						
						Embedded HTML breaks SearXNG architecture.  To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src', an URL for embedded content (<iframe>).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2022-02-13 14:20:47 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							c416464949 
							
						 
					 
					
						
						
							
							[fix] lazy loading of <img> tags  
						
						... 
						
						
						
						Images should include dimension attributes.  Without `width` and `height`
specified, image dimensions are 0×0 pixels at first.  ...  In this case the
browser determines that all of them are visible to the user and decides to load
everything [1].
In CSS the `width` is set to a value and the `height` is unsed to scale the image
proportional in both dimensions.
[1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes 
[2] https://caniuse.com/loading-lazy-attr 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-12-15 10:39:55 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							c7bb6945d1 
							
						 
					 
					
						
						
							
							[fix] simple theme: img tile, shows duplicate information on screen  
						
						... 
						
						
						
						Remove global title attribute from img tag[1][2] .  In the image result, the
title is already shown from span class title::
    <span class="title">{{ result.title|striptags }}</span>
See commit: 8fbffb1409b
    [fix] simple-theme templates: polish HTML <img> elements
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img 
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title 
Reported-by: @dalf https://github.com/searxng/searxng/pull/545#issuecomment-980531215 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-11-29 20:47:37 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							8fbffb1409 
							
						 
					 
					
						
						
							
							[fix] simple-theme templates: polish HTML <img> elements  
						
						... 
						
						
						
						- <img> [1] element does not have an end tag, no need for a leading `/>`
- add global attribute title[2] to result_templates/images.html (result-images-source)
- in jinja macro 'macro result_header' remove duplicate of class="image"
- in jinja macro 'macro result_header' remove alt attribute (fix [3])::
    alt="{{ result.title|striptags }}"
  the result.title is already shown in::
    <h3>{{ result_link(result.url, result.title|safe) }}</h3>
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img 
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title 
[3] https://github.com/searxng/searxng/issues/523 
Closes: https://github.com/searxng/searxng/issues/523 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-11-25 12:07:57 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4caa52989 
							
						 
					 
					
						
						
							
							fix PR  #535  
						
						... 
						
						
						
						Use the "empty_element" CSS class. 
						
						
					 
					
						2021-11-23 18:59:50 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							f57a9f425d 
							
						 
					 
					
						
						
							
							[simple template] format default string 'italic'  
						
						... 
						
						
						
						Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-11-23 15:28:08 +01:00 
						 
				 
			
				
					
						
							
							
								mrpaulblack 
							
						 
					 
					
						
						
						
						
							
						
						
							047d0ac6d6 
							
						 
					 
					
						
						
							
							[simple template] return a default string if there is no description  
						
						
						
						
					 
					
						2021-11-23 14:13:36 +01:00 
						 
				 
			
				
					
						
							
							
								MrPaulBlack 
							
						 
					 
					
						
						
						
						
							
						
						
							566dfe3330 
							
						 
					 
					
						
						
							
							[simple theme] update to ion icons 5 and drop webfont  
						
						... 
						
						
						
						* update from ionicons-npm to ionicons ver.5
* drop the webfont built by grunt for icons
* built icons.html template for inlining icons with jinja2 into html
* update icon to use mostly the outline version
* add icons to categories and do not display them on mobile to save space
* remove all legacy ion icon font files from simple theme
* icons.html is added in this commit since make statc.build.restore requires git to know the file already
* cleanup error-dialog 
						
						
					 
					
						2021-11-13 10:42:07 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							3167d645e8 
							
						 
					 
					
						
						
							
							[fix] simple theme: fix open in a new tab preference  
						
						
						
						
					 
					
						2021-11-05 09:36:19 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							fd374d6322 
							
						 
					 
					
						
						
							
							[enh] simple theme: image detail  
						
						... 
						
						
						
						When an image is selected, the detail with the full size image is displayed
on the right side of the screen (or full screen on tablet and phone).
When Javascript is disabled, the thumbnail is a linked to the full size image,
as it was before.
When the image proxy is enabled, the full size image is also proxied,
in consequence this commit increases the bandwidth usage of instances.
The detail can be closed by the close button or the Esc key.
It is possible to go to the next and previous images using the j and k keys
or the button on the top right of the screen. 
						
						
					 
					
						2021-10-28 08:28:21 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							74b0830362 
							
						 
					 
					
						
						
							
							SearXNG: simple theme  
						
						
						
						
					 
					
						2021-10-01 18:06:55 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							ad528c706e 
							
						 
					 
					
						
						
							
							[fix] make result template map more CSP compliant - simple & oscar  
						
						... 
						
						
						
						Add osm-map-box in::
    searx/static/themes/__common__/less/result_templates.less
Replaced sty= in files::
    ./oscar/result_templates/map.html:64:        <div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"></div>
    ./simple/result_templates/map.html:65:    <div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" ></div></div>
Reported-by: https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-09-06 11:08:50 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							12af3b39db 
							
						 
					 
					
						
						
							
							[fix] make simple/result_templates/map.html more CSP compliant [1]  
						
						... 
						
						
						
						[1] https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-06-09 18:08:23 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							c75425655f 
							
						 
					 
					
						
						
							
							[enh] openstreetmap / map template: improve results  
						
						... 
						
						
						
						implements ideas described in #69 
* update the engine
* use wikidata
* update map.html template 
						
						
					 
					
						2021-06-09 18:08:23 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7457f3fe40 
							
						 
					 
					
						
						
							
							Merge pull request  #124  from return42/searx-merge  
						
						... 
						
						
						
						merge redis offline engine from searx 
						
						
					 
					
						2021-06-02 12:35:33 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							a89b823f8d 
							
						 
					 
					
						
						
							
							[mod] remove overpass API call  
						
						... 
						
						
						
						prepare the code the PR #90  
						
						
					 
					
						2021-06-01 17:52:49 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Tauber 
							
						 
					 
					
						
						
						
						
							
						
						
							e33858d6ef 
							
						 
					 
					
						
						
							
							[fix] correct kv template formatting and remove internal data  
						
						... 
						
						
						
						Slightly modified merge of commit [ea7ccf24] from searx.
[ea7ccf24] https://github.com/searx/searx/commit/ea7ccf24 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-06-01 10:53:37 +02:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							9299355570 
							
						 
					 
					
						
						
							
							add seedpeer again  
						
						
						
						
					 
					
						2019-11-24 22:01:44 -07:00 
						 
				 
			
				
					
						
							
							
								Noémi Ványi 
							
						 
					 
					
						
						
						
						
							
						
						
							a6f20caf32 
							
						 
					 
					
						
						
							
							add initial support for offline engines && command engine  
						
						
						
						
					 
					
						2019-10-16 15:52:48 +02:00 
						 
				 
			
				
					
						
							
							
								Alex 
							
						 
					 
					
						
						
						
						
							
						
						
							3ba0d0516e 
							
						 
					 
					
						
						
							
							simple theme update  
						
						... 
						
						
						
						- npm package update
- apply #1226 
- implement vim help dialog
- display cookies and search URL with preferences
- allow to enable / disable Open Access DOI rewrite
- add a clear text button on the left of the search button
- implement #1011  : the HTML title page is not set when using POST
- remove searx/static/themes/simple/img/loader.gif
- use full width when only there are only images as result 
						
						
					 
					
						2018-08-14 17:21:30 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							10a24bdc2c 
							
						 
					 
					
						
						
							
							[enh] add simple theme (WIP)  
						
						
						
						
					 
					
						2017-08-06 16:04:21 +02:00