diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-04-26 20:14:40 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-04-26 20:14:40 +0200 |
commit | 41e00e65a5ca8125fa3a06991109a671021d5c57 (patch) | |
tree | e2734c38a651df6b41cf27ffb2a560005a336080 /searx/templates | |
parent | 5c5ff19ec116062dc8c31e51af3f26fca041a445 (diff) | |
parent | 6ee35145caccab29a12e32e815bfd838579b35db (diff) | |
download | searxng-41e00e65a5ca8125fa3a06991109a671021d5c57.tar.gz searxng-41e00e65a5ca8125fa3a06991109a671021d5c57.zip |
Merge branch 'oscar-cookies' of https://github.com/Cqoicebordel/searx into Cqoicebordel-oscar-cookies
Conflicts:
searx/templates/oscar/preferences.html
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/preferences.html | 48 |
1 files changed, 37 insertions, 11 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 56e67e815..693167807 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -17,6 +17,7 @@ <li class="active"><a href="#tab_general" role="tab" data-toggle="tab">{{ _('General') }}</a></li> <li><a href="#tab_engine" role="tab" data-toggle="tab">{{ _('Engines') }}</a></li> <li><a href="#tab_plugins" role="tab" data-toggle="tab">{{ _('Plugins') }}</a></li> + <li><a href="#tab_cookies" role="tab" data-toggle="tab">{{ _('Cookies') }}</a></li> </ul> <!-- Tab panes --> @@ -159,22 +160,47 @@ <h3>{{ _('Plugins') }}</h3> </noscript> <fieldset> - <div class="container-fluid"> - {% for plugin in plugins %} - <div class="panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title">{{ plugin.name }}</h3> - </div> - <div class="panel-body"> - <div class="col-xs-6 col-sm-4 col-md-6">{{ plugin.description }}</div> - <div class="col-xs-6 col-sm-4 col-md-6"> - {{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }} + <div class="container-fluid"> + {% for plugin in plugins %} + <div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title">{{ plugin.name }}</h3> + </div> + <div class="panel-body"> + <div class="col-xs-6 col-sm-4 col-md-6">{{ plugin.description }}</div> + <div class="col-xs-6 col-sm-4 col-md-6"> + {{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }} + </div> </div> </div> + {% endfor %} </div> + </fieldset> + </div> + + <div class="tab-pane active_if_nojs" id="tab_cookies"> + <noscript> + <h3>{{ _('Cookies') }}</h3> + </noscript> + <p class="text-muted" style="margin:20px 0;"> + {{ _('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> + + {% 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> {% endfor %} + </fieldset> </div> - </fieldset> </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.') }} |