From c21a907cacbbfa8ce8a135362067086063a805f6 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Mon, 22 Sep 2014 22:42:29 +0200 Subject: initial commit of the new template 'oscar' * base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js --- searx/webapp.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'searx/webapp.py') diff --git a/searx/webapp.py b/searx/webapp.py index 74f8fad7e..90451bf2a 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -174,6 +174,8 @@ def render(template_name, override_theme=None, **kwargs): kwargs['url_for'] = url_for_theme kwargs['theme'] = get_current_theme_name(override=override_theme) + + kwargs['template_name'] = template_name return render_template( '{}/{}'.format(kwargs['theme'], template_name), **kwargs) -- cgit v1.2.3 From 517e57b996aaeceda08afd0e80bfd30ad6192971 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 3 Oct 2014 13:16:30 +0200 Subject: oscar template: improve result icons --- searx/webapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/webapp.py') diff --git a/searx/webapp.py b/searx/webapp.py index 90451bf2a..c6cd78dc5 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -69,8 +69,8 @@ app.secret_key = settings['server']['secret_key'] babel = Babel(app) #TODO configurable via settings.yml -favicons = ['wikipedia', 'youtube', 'vimeo', 'soundcloud', - 'twitter', 'stackoverflow', 'github'] +favicons = ['wikipedia', 'youtube', 'vimeo', 'dailymotion', 'soundcloud', + 'twitter', 'stackoverflow', 'github', 'deviantart'] cookie_max_age = 60 * 60 * 24 * 365 * 23 # 23 years -- cgit v1.2.3