summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2014-01-07 00:21:08 +0100
committerDalf <alex@al-f.net>2014-01-07 00:21:08 +0100
commit843342115633c93b2d90c4e1cec2e7cf6d4c0c6b (patch)
tree9f2b38f69fa01471ade836dcfed5807cc3950597 /searx/templates
parent289a5707ed41ea143a5f0f7adf42b863a59efe35 (diff)
downloadsearxng-843342115633c93b2d90c4e1cec2e7cf6d4c0c6b.tar.gz
searxng-843342115633c93b2d90c4e1cec2e7cf6d4c0c6b.zip
[mod] more web page modification
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/result_templates/default.html3
-rw-r--r--searx/templates/results.html4
2 files changed, 4 insertions, 3 deletions
diff --git a/searx/templates/result_templates/default.html b/searx/templates/result_templates/default.html
index 3b1c448e4..27cf57528 100644
--- a/searx/templates/result_templates/default.html
+++ b/searx/templates/result_templates/default.html
@@ -1,4 +1,5 @@
<div class="result">
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
- <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}<span class="url">{{ result.pretty_url }}</span></p>
+ <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
+ <p class="url">{{ result.pretty_url }}</p>
</div>
diff --git a/searx/templates/results.html b/searx/templates/results.html
index 1f3153624..b134c8cf0 100644
--- a/searx/templates/results.html
+++ b/searx/templates/results.html
@@ -7,9 +7,9 @@
</div>
<div id="results">
{% if suggestions %}
- <div id="suggestions">Suggestions: {% for suggestion in suggestions %}<form method="post" action="/"><input type="hidden" name="q" value="{{suggestion}}"><input type="submit" value="{{ suggestion }}" /></form>{% endfor %}</div>
+ <div id="suggestions"><span>Suggestions: </span>{% for suggestion in suggestions %}<form method="post" action="/"><input type="hidden" name="q" value="{{suggestion}}"><input type="submit" value="{{ suggestion }}" /></form>{% endfor %}</div>
{% endif %}
- <div>
+ <div id ="result_count">
Number of results: {{ number_of_results }}
</div>
{% for result in results %}