Commit Graph

18 Commits

Author SHA1 Message Date
Ben Busby
ea418e801a Merge branch 'develop' of https://github.com/benbusby/whoogle-search into nord_dark_theme 2020-11-10 19:25:11 -05:00
bugbounce
1148a7fb8d
Use relative links instead of absolute (#139)
* Use relative links instead of absolute

This allows for hosting under a subpath. For example if you want to host
whoogle at example.com/whoogle, it should work better with a reverse proxy.

* Use relative link for opensearch.xml
2020-10-29 11:09:31 -04:00
Alexandar Mechev
0e6c020975
adds almsot working dark mode 2020-10-17 13:35:51 +02:00
Alexandar Mechev
eb809a1608
working nord/whoogle light mode 2020-10-14 18:53:51 +02:00
Alexandar Mechev
ab0547ad13
single theme file 2020-10-14 18:47:27 +02:00
Alexandar Mechev
de34ab9da2
un-autoformat display.html 2020-10-06 10:37:40 +02:00
Alexandar Mechev
9594fa1eee
adds theme support for reskinning cards
the theme.css file can include a .reskin selector
the filter.py file will parse the css file and replace the card color accordingly
2020-10-06 10:09:49 +02:00
Alexandar Mechev
e85bbf1bdd
adds nord-light theme
based on polar:
https://github.com/mtyn/polar
2020-10-05 17:46:51 +02:00
Alexandar Mechev
4d55a56189
adds theme to routes and Index.html 2020-10-05 17:20:06 +02:00
Ben Busby
9afe5f81bd
Updated dark theme (#121)
* Implemented new dark theme

Now uses a dedicated css file for all dark theme color changes, rather
than replacing color codes directly.

Color theme is from discussion in #60.

* Minor link color update
2020-09-14 15:29:58 -04:00
Ben Busby
5f8309d2f0 Added footer to results page 2020-06-11 13:25:23 -06:00
Ben Busby
cb18bc6ccc Updated autocomplete styling
Added dark theme specific stylesheet to use if dark mode is active
2020-05-26 10:58:37 -06:00
Ben Busby
21012f5265
Feature: autocomplete/search suggestions (#72)
Basic autocomplete/search suggestion functionality added

* Adds new GET and POST routes for '/autocomplete' that accept a string query and returns an array of suggestions

* Adds new autoscript.js file for handling queries on the main page and results view

* Updated requests class to include autocomplete method

* Updated opensearch template to handle search suggestions

* Added header template to allow for autocomplete on results view

* Updated readme to mention autocomplete feature
2020-05-24 14:03:11 -06:00
Ben Busby
d01f56ea03 Removed referrer from links, refacored routes
Added <meta name="referrer" content="no-referrer"> to all whoogle
templates

Refactored search route to use conditionally use either request.args or
request.form, depending on rest call (get vs post respectively)
2020-05-05 18:28:43 -06:00
Ben Busby
708769f682 Minor styling refactor, updated app name 2020-05-04 18:00:43 -06:00
Ben Busby
1cbe394e6f Updated tests, fixed a few bugs
Added opensearch routes test and individual tests for searching via GET
and POST separately.

Fixed incorrect assignment in gen_query.
2020-04-28 18:59:33 -06:00
Ben Busby
2411f9de8d Fixed bug in nojs config setting, updated pages to use new favicon and proper headers 2020-04-07 14:12:16 -06:00
Ben Busby
24aa4367d3 Added optional no-js functionality, added location based searching (hardcoded), updated html 2020-02-21 23:52:29 +00:00