diff options
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/simple/preferences/answerers.html | 22 | ||||
| -rw-r--r-- | searx/templates/simple/preferences/engines.html | 8 |
2 files changed, 16 insertions, 14 deletions
diff --git a/searx/templates/simple/preferences/answerers.html b/searx/templates/simple/preferences/answerers.html index b2770c2f5..98ae61830 100644 --- a/searx/templates/simple/preferences/answerers.html +++ b/searx/templates/simple/preferences/answerers.html @@ -8,14 +8,15 @@ <th>{{ _('Examples') }}</th>{{- '' -}} </tr>{{- '' -}} - <td></td>{{- '' -}} - <th scope="colgroup" colspan="4"> - {{- _("This is the list of SearXNG's instant answering modules.") -}} - </th> + <tr class="pref-group" >{{- '' -}} + <th scope="colgroup" colspan="5"> + {{- _("This is the list of SearXNG's instant answering modules.") -}} + </th>{{- '' -}} + </tr> {%- for answerer in answerers -%} <tr>{{- '' -}} - <td></td>{{- '' -}} + <td class="checkbox-col"></td>{{- '' -}} <td>{{ answerer.keywords|join(', ') }}</td>{{- '' -}} <td>{{ answerer.info.name }}</td>{{- '' -}} <td>{{ answerer.info.description }}</td>{{- '' -}} @@ -23,15 +24,16 @@ </tr> {%- endfor -%} - <td></td>{{- '' -}} - <th scope="colgroup" colspan="4"> - {{- _('This is the list of plugins.') -}} - </th>{{- '' -}} + <tr class="pref-group" >{{- '' -}} + <th scope="colgroup" colspan="5"> + {{- _('This is the list of plugins.') -}} + </th>{{- '' -}} + </th> {%- for plugin in plugins -%} {%- if plugin.preference_section == 'query' -%} <tr>{{- '' -}} - <td>{{- checkbox_onoff_reversed('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}</td>{{- '' -}} + <td class="checkbox-col">{{- checkbox_onoff_reversed('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}</td>{{- '' -}} <td>{{ plugin.query_keywords|join(', ') }}</td>{{- '' -}} <td>{{ _(plugin.name) }}</td>{{- '' -}} <td>{{ _(plugin.description) }}</td>{{- '' -}} diff --git a/searx/templates/simple/preferences/engines.html b/searx/templates/simple/preferences/engines.html index 0dd74a0bb..ae71e1c97 100644 --- a/searx/templates/simple/preferences/engines.html +++ b/searx/templates/simple/preferences/engines.html @@ -14,7 +14,7 @@ <table class="striped table_engines">{{- '' -}} <tr>{{- '' -}} - <th class="engine_checkbox">{{- _("Allow") -}}</th>{{- '' -}} + <th class="checkbox-col">{{- _("Allow") -}}</th>{{- '' -}} <th class="name">{{- _("Engine name") -}}</th>{{- '' -}} <th class="shortcut">{{ _("!bang") -}}</th>{{- '' -}} <th>{{- _("Supports selected language") -}}</th>{{- '' -}} @@ -33,9 +33,9 @@ {%- for group, group_bang, engines in engines_by_category[categ] | group_engines_in_tab -%} {%- if loop.length > 1 -%} - <tr>{{- '' -}} - <th class="engine-group" colspan="2">{{- _(group) -}}</th>{{- '' -}} - <th class="engine-group" colspan="8"> + <tr class="pref-group" >{{- '' -}} + <th colspan="2">{{- _(group) -}}</th>{{- '' -}} + <th colspan="8"> {%- if group_bang -%} <span class="bang">{{- group_bang -}}</span> {%- endif -%}</th>{{- '' -}} |