diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-06-05 09:07:59 +0200 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-06-05 09:07:59 +0200 |
commit | a8b75ca47b14b9df13017f7409367993afb3fb7c (patch) | |
tree | dc1d47d341a535c3a52095f4243660adaee9df0b /searx/templates/oscar/preferences.html | |
parent | 0978f108879324a0367bc6d362f896532d6fc04f (diff) | |
download | searxng-a8b75ca47b14b9df13017f7409367993afb3fb7c.tar.gz searxng-a8b75ca47b14b9df13017f7409367993afb3fb7c.zip |
[enh] oscar template: using table instead of container-fluid to show cookies
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r-- | searx/templates/oscar/preferences.html | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 6adb43523..ea36a14b9 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -213,21 +213,23 @@ {{ _('This is the list of cookies and their values searx is storing on your computer.') }}<br /> {{ _('With that list, you can assess searx transparency.') }}<br /> </p> - <div class="container-fluid"> - <fieldset> - <div class="row"> - <div class="col-xs-6 col-sm-4 col-md-4 text-muted"><label>{{ _('Cookie name') }}</label></div> - <div class="col-xs-6 col-sm-4 col-md-4 text-muted"><label>{{ _('Value') }}</label></div> - </div> + {% if cookies %} + <table class="table table-striped"> + <tr> + <th class="text-muted" style="padding-right:40px;">{{ _('Cookie name') }}</th> + <th class="text-muted">{{ _('Value') }}</th> + </tr> {% for cookie in cookies %} - <div class="row"> - <div class="col-xs-6 col-sm-4 col-md-4 text-muted">{{ cookie }}</div> - <div class="col-xs-6 col-sm-4 col-md-4 text-muted">{{ cookies[cookie] }}</div> - </div> + <tr> + <td class="text-muted" style="padding-right:40px;">{{ cookie }}</td> + <td class="text-muted">{{ cookies[cookie] }}</td> + </tr> {% endfor %} - </fieldset> - </div> + </table> + {% else %} + {% include 'oscar/messages/no_cookies.html' %} + {% endif %} </div> </div> <p class="text-muted" style="margin:20px 0;">{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} |