mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 13:21:04 +00:00
little enhancement of oscar template
* improve site-titles * add message which tell you if no data is availabe yet
This commit is contained in:
parent
c21a907cac
commit
a88ce4bd33
3 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{% extends "oscar/base.html" %}
|
||||
{% block site_alert_warning_nojs %} {% endblock %}
|
||||
{% block title %}{{ _('about') }} - {% endblock %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>About <a href="{{ url_for('index') }}">searx</a></h1>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "oscar/base.html" %}
|
||||
{% block title %}{{ _('preferences') }} - {% endblock %}
|
||||
{% block content %}
|
||||
<div>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "oscar/base.html" %}
|
||||
{% block title %}{{ _('stats') }} - {% endblock %}
|
||||
{% block content %}
|
||||
<div class="container-fluid">
|
||||
<h1>{{ _('Engine stats') }}</h1>
|
||||
|
@ -19,6 +20,14 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% if not stat_category %}
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="alert alert-info" role="alert">
|
||||
<strong>{{ _('Heads up!') }}</strong>
|
||||
{{ _('There is currently no data available.') }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue