summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-12-03 18:33:05 +0100
committerasciimoo <asciimoo@gmail.com>2013-12-03 18:33:05 +0100
commitf1f0d978cb9e85e5975409e116e74fb3e69ce716 (patch)
tree66daaf846e589b037b05280e04d8f16bd22fbf4f
parentce544c30c15cdbe8a57c9f8c57f8e848db138ee9 (diff)
downloadsearxng-f1f0d978cb9e85e5975409e116e74fb3e69ce716.tar.gz
searxng-f1f0d978cb9e85e5975409e116e74fb3e69ce716.zip
[enh] w3c compatibility ++ ui mods
-rw-r--r--searx/static/css/style.css4
-rw-r--r--searx/templates/base.html1
-rw-r--r--searx/templates/index.html2
-rw-r--r--searx/templates/search.html2
4 files changed, 5 insertions, 4 deletions
diff --git a/searx/static/css/style.css b/searx/static/css/style.css
index e2d8486e7..0b87444e9 100644
--- 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
index c98418fc9..c7b55bed7 100644
--- 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
index af9fc0942..4d13b77e7 100644
--- 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
index 1b0103926..aaff3c95d 100644
--- 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>