Selaa lähdekoodia

[enh][mod] ui changes

asciimoo 11 vuotta sitten
vanhempi
commit
565db911a4
3 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 0
    2
      searx/static/css/style.css
  2. 3
    1
      searx/templates/base.html
  3. 1
    0
      searx/templates/results.html

+ 0
- 2
searx/static/css/style.css Näytä tiedosto

@@ -12,8 +12,6 @@ input { border: 2px solid #666666; color: #444444;  padding: 8px; background-col
12 12
 
13 13
 a { text-decoration: none; }
14 14
 
15
-#container { position: relative;}
16
-
17 15
 .result_title { margin-bottom: 0; }
18 16
 
19 17
 .result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 50em; }

+ 3
- 1
searx/templates/base.html Näytä tiedosto

@@ -5,11 +5,13 @@
5 5
     <meta http-equiv="content-language" content="en" />
6 6
     <meta name="description" content="Searx - a hackable metasearch engine respecting privacy" />
7 7
     <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
8
-    <link title="searx" type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml"/>
9 8
     <title>searx {% block title %}{% endblock %}</title>
10 9
     <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" charset="utf-8" />
11 10
     {% block styles %}
12 11
     {% endblock %}
12
+    {% block head %}
13
+    <link title="searx" type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml"/>
14
+    {% endblock %}
13 15
 </head>
14 16
 <body>
15 17
 <div id="container">

+ 1
- 0
searx/templates/results.html Näytä tiedosto

@@ -1,4 +1,5 @@
1 1
 {% extends "base.html" %}
2
+{% block head %} {% endblock %}
2 3
 {% block content %}
3 4
 <div class="right">
4 5
     <a href="/" title="searx" class="site_link">searx</a> | Number of results: {{ number_of_results }}