From 5bfaabeb6bb50844fd7389770eb5c8a64e63f13e Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Thu, 15 Jan 2015 15:48:50 +0100 Subject: [enh] add nojs support into oscar-template --- searx/templates/oscar/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searx/templates/oscar/base.html') diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 466756b6f..c0393a66d 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -36,7 +36,8 @@ -- cgit v1.2.3 From 525833bea7ea41f4794899dc0e8f6b3d05e21a85 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Thu, 15 Jan 2015 15:55:39 +0100 Subject: [enh] disable js-based links if no js is available --- searx/templates/oscar/base.html | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/templates/oscar/base.html') diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index c0393a66d..bddeecb64 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -39,6 +39,7 @@ .tab-content > .active_if_nojs, .active_if_nojs {display: block;} .margin_top_if_nojs {margin-top: 20px;} .hide_if_nojs {display: none !important;overflow:none !important;} + .disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;} -- cgit v1.2.3 From de6064994ef4854ccfb960947398f7b0cd565030 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Thu, 15 Jan 2015 16:03:30 +0100 Subject: [enh] show text "Start search" instead of icon, if javascript is disabled --- searx/templates/oscar/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates/oscar/base.html') diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index bddeecb64..42cd4e9a7 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -36,7 +36,7 @@