diff options
author | Alexandre Flament <alex@al-f.net> | 2022-07-02 10:56:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 10:56:16 +0200 |
commit | da416511b56b6174025656d8431951eb46b1a73b (patch) | |
tree | 3552167df75322afed29b66a615dab831f151f4b /searx | |
parent | 5672f5ad2a535b25b38cc73ad4d00e71c0d443c9 (diff) | |
parent | bcded7686ecdf2179d4f2b6ddab998ee03d606a5 (diff) | |
download | searxng-da416511b56b6174025656d8431951eb46b1a73b.tar.gz searxng-da416511b56b6174025656d8431951eb46b1a73b.zip |
Merge pull request #1402 from dalf/update-top-links
Update top links
Diffstat (limited to 'searx')
-rw-r--r-- | searx/static/themes/simple/gruntfile.js | 2 | ||||
-rw-r--r-- | searx/static/themes/simple/src/svg/help-circle-outline.svg | 5 | ||||
-rw-r--r-- | searx/static/themes/simple/src/svg/information-circle-outline.svg | 6 | ||||
-rw-r--r-- | searx/templates/simple/base.html | 4 | ||||
-rw-r--r-- | searx/templates/simple/icons.html | 2 |
5 files changed, 10 insertions, 9 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index e9aadee92..630cac212 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -190,7 +190,7 @@ module.exports = function (grunt) { 'file-tray-full-outline': 'node_modules/ionicons/dist/svg/file-tray-full-outline.svg', 'people-outline': 'node_modules/ionicons/dist/svg/people-outline.svg', 'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg', - 'help-circle-outline': 'src/svg/help-circle-outline.svg', + 'information-circle-outline': 'src/svg/information-circle-outline.svg', }, dest: '../../../templates/simple/icons.html', }, diff --git a/searx/static/themes/simple/src/svg/help-circle-outline.svg b/searx/static/themes/simple/src/svg/help-circle-outline.svg deleted file mode 100644 index df36289d3..000000000 --- a/searx/static/themes/simple/src/svg/help-circle-outline.svg +++ /dev/null @@ -1,5 +0,0 @@ -<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"> - <path d="M256 80a176 176 0 10176 176A176 176 0 00256 80z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/> - <path d="M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="28"/> - <circle cx="250" cy="348" r="20" stroke="currentColor" stroke-width="16" fill="currentColor" /> -</svg>
\ No newline at end of file diff --git a/searx/static/themes/simple/src/svg/information-circle-outline.svg b/searx/static/themes/simple/src/svg/information-circle-outline.svg new file mode 100644 index 000000000..b7c300094 --- /dev/null +++ b/searx/static/themes/simple/src/svg/information-circle-outline.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"> + <title>Information Circle</title> + <path d="M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M220 220h32v116"/> + <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M208 340h88"/> + <path fill="currentColor" stroke="currentColor" stroke-linecap="round" d="M248 130a26 26 0 1026 26 26 26 0 00-26-26z"/> +</svg>
\ No newline at end of file diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 05662e1d2..fbb60cc26 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -43,13 +43,13 @@ <nav id="links_on_top"> {%- from 'simple/icons.html' import icon_big -%} {%- block linkto_about -%} - <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('help-circle-outline') }}<span>{{ _('About') }}</span></a> + <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a> {%- endblock -%} {%- block linkto_donate -%} <a href="{{ url_for('info', pagename='donate') }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a> {%- endblock -%} {%- block linkto_preferences -%} - <a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}</a> + <a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a> {%- endblock -%} </nav> {% block header %} diff --git a/searx/templates/simple/icons.html b/searx/templates/simple/icons.html index c01c70542..7ff4dfc16 100644 --- a/searx/templates/simple/icons.html +++ b/searx/templates/simple/icons.html @@ -20,7 +20,7 @@ 'file-tray-full-outline':'<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"><path d="M384 80H128c-26 0-43 14-48 40L48 272v112a48.14 48.14 0 0048 48h320a48.14 48.14 0 0048-48V272l-32-152c-5-27-23-40-48-40z" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 272h144M320 272h144M192 272a64 64 0 00128 0M144 144h224M128 208h256"/></svg>', 'people-outline':'<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"><path d="M402 168c-2.93 40.67-33.1 72-66 72s-63.12-31.32-66-72c-3-42.31 26.37-72 66-72s69 30.46 66 72z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M336 304c-65.17 0-127.84 32.37-143.54 95.41-2.08 8.34 3.15 16.59 11.72 16.59h263.65c8.57 0 13.77-8.25 11.72-16.59C463.85 335.36 401.18 304 336 304z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path d="M200 185.94c-2.34 32.48-26.72 58.06-53 58.06s-50.7-25.57-53-58.06C91.61 152.15 115.34 128 147 128s55.39 24.77 53 57.94z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M206 306c-18.05-8.27-37.93-11.45-59-11.45-52 0-102.1 25.85-114.65 76.2-1.65 6.66 2.53 13.25 9.37 13.25H154" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/></svg>', 'heart-outline':'<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"><path d="M352.92 80C288 80 256 144 256 144s-32-64-96.92-64c-52.76 0-94.54 44.14-95.08 96.81-1.1 109.33 86.73 187.08 183 252.42a16 16 0 0018 0c96.26-65.34 184.09-143.09 183-252.42-.54-52.67-42.32-96.81-95.08-96.81z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>', - 'help-circle-outline':'<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"><path d="M256 80a176 176 0 10176 176A176 176 0 00256 80z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path d="M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="28"/><circle cx="250" cy="348" r="20" stroke="currentColor" stroke-width="16" fill="currentColor"/></svg>', + 'information-circle-outline':'<svg class="ionicon" viewBox="0 0 512 512" aria-hidden="true"><path d="M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M220 220h32v116"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M208 340h88"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" d="M248 130a26 26 0 1026 26 26 26 0 00-26-26z"/></svg>', } -%} |