whoogle-search/app/templates
Joao A. Candido Ramos 11099f7b1d
Use consistent header for all result types (#535)
Introduces a header for switching between result types (i.e. "All", "News",
etc) that is consistent between the different result types. Previously, image
results had a tab header that was formatted in a drastically different manner,
which was jarring when switching from a different result page to the Images
page.

Created a G class enum to reference class names returned in search
results. As noted in the class doc, this should only be used/updated as
a last resort, as class names change frequently. For some instances,
such as replacing the tbm tab, it's a lot easier to just replace by
header name than attempting to replace it based on how the element is
structured.

Also updated a few styles to revert the latest styling changes being
applied by Google.

Co-authored-by: jacr13 <ramos.joao@protonmail.com>
Co-authored-by: Ben Busby <contact@benbusby.com>
2022-02-07 10:47:25 -07:00
..
display.html Skip loading autocomplete.js if `WHOOGLE_AUTOCOMPLETE=0` (#611) 2022-01-18 13:39:56 -07:00
error.html Fix Sinhala translation for farside search (#594) 2022-02-04 16:16:56 -07:00
footer.html Use farside.link for frontend alternatives in results (#560) 2021-12-08 17:27:33 -07:00
header.html Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00
imageresults.html Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00
index.html Skip loading autocomplete.js if `WHOOGLE_AUTOCOMPLETE=0` (#611) 2022-01-18 13:39:56 -07:00
logo.html Import logo stylesheet before applying custom css 2021-11-24 12:38:56 -07:00
opensearch.xml Reformat view templates 2021-10-27 12:30:55 -06:00
search.html Fix rtl lang problem in search box (#399) 2021-08-30 16:10:07 -06:00