[enh] ui mods

This commit is contained in:
asciimoo 2013-11-01 19:04:48 +01:00
parent bb9dcf6e57
commit 94b824dc57
2 changed files with 4 additions and 4 deletions

View File

@ -126,4 +126,4 @@ tr:hover td { background: #DDDDDD; }
} }
#search_submit { position: absolute; top: 6px; right: 3px; border: 0; padding: 6px; background: url('/static/img/search-icon.png'); background-size: 30px 30px; width: 30px; height: 30px; } #search_submit { position: absolute; top: 6px; right: 3px; border: 0; padding: 6px; background: url('/static/img/search-icon.png'); background-size: 30px 30px; width: 30px; height: 30px; }
#results { margin-left: 10px; } #results { margin-left: 10px; margin-top: 10px; }

View File

@ -1,13 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block head %} {% endblock %} {% block head %} {% endblock %}
{% block content %} {% block content %}
<div class="right">
<a href="/" title="searx" class="site_link">searx</a> | Number of results: {{ number_of_results }}
</div>
<div class="small"> <div class="small">
{% include 'search.html' %} {% include 'search.html' %}
</div> </div>
<div id="results"> <div id="results">
<div>
Number of results: {{ number_of_results }}
</div>
{% for result in results %} {% for result in results %}
{% if result['template'] %} {% if result['template'] %}
{% include 'result_templates/'+result['template'] %} {% include 'result_templates/'+result['template'] %}