logo

searx

My custom branche(s) on searx, a meta-search engine
commit: f1f0d978cb9e85e5975409e116e74fb3e69ce716
parent: ce544c30c15cdbe8a57c9f8c57f8e848db138ee9
Author: asciimoo <asciimoo@gmail.com>
Date:   Tue,  3 Dec 2013 18:33:05 +0100

[enh] w3c compatibility ++ ui mods

Diffstat:

Msearx/static/css/style.css4++--
Msearx/templates/base.html1+
Msearx/templates/index.html2+-
Msearx/templates/search.html2+-
4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/searx/static/css/style.css b/searx/static/css/style.css @@ -19,8 +19,8 @@ html { h1 { font-size: 5em; } -h1.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; } -h1.title div { visibility: hidden; } +div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; } +div.title h1 { visibility: hidden; } input[type="submit"] { border: 1px solid #666666; color: #444444; padding: 4px; background-color: #FFFFFF; margin-left: 8px; } diff --git a/searx/templates/base.html b/searx/templates/base.html @@ -1,6 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> + <meta charset="UTF-8" /> <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" /> <meta name="keywords" content="searx, search, search engine, metasearch, meta search" /> <title>{% block title %}{% endblock %}searx</title> diff --git a/searx/templates/index.html b/searx/templates/index.html @@ -2,7 +2,7 @@ {% block content %} {% include 'github_ribbon.html' %} <div class="center"> - <h1 class="title"><div>searx</div></h1> + <div class="title"><h1>searx</h1></div> {% include 'search.html' %} <p class="top_margin"> <a href="/about" class="hmarg">about</a> diff --git a/searx/templates/search.html b/searx/templates/search.html @@ -6,7 +6,7 @@ <div> {% for category in categories %} <div class="checkbox_container"> - <input type="checkbox" id="checkbox_{{ category }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label> + <input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label> </div> {% endfor %} </div>