diff --git a/README.md b/README.md index bb74f7a2e..98a953392 100644 --- a/README.md +++ b/README.md @@ -144,9 +144,7 @@ a bad idea. ### Icons -An icon can be included in a page by calling the `icon` macro from `templates/macros/icons.html`. That file contains a mapping of icon names to file paths. - -For user interface icons we use [Bootstrap Icons](https://icons.getbootstrap.com/). A new icon can be added to Liberapay by simply copying its SVG file from Bootstrap Icons into the `www/assets/bootstrap-icons/` directory (and not forgetting to `git add` it, of course). +For user interface icons we use [Bootstrap Icons](https://icons.getbootstrap.com/). An icon can be included in a page by calling the `icon` macro from `templates/macros/icons.html`, e.g. `{{ icon('liberapay') }}`. The icons are stored in the `www/assets/icons.svg` file. To add a new icon in that file, the root `` element of the icon being added must be turned into a `` element, preserving only its `viewBox` attribute and adding an `id` attribute. If you don't find any icon in Bootstrap Icons that fits your use case, you can try to search online catalogs like [Flaticon](https://www.flaticon.com/search?type=uicon), [Icons8](https://icons8.com/icons), [Pictogrammers](https://pictogrammers.com/), [SVG Repo](https://www.svgrepo.com/) and [The Noun Project](https://thenounproject.com/). For brand icons, [Simple Icons](https://simpleicons.org/) is a good resource. diff --git a/liberapay/wireup.py b/liberapay/wireup.py index 3f8690a77..89f3f5f82 100644 --- a/liberapay/wireup.py +++ b/liberapay/wireup.py @@ -7,6 +7,7 @@ import socket from sys import intern import traceback +import xml.etree.ElementTree as ET import babel from babel.messages.pofile import read_po @@ -795,7 +796,7 @@ def compute_percentage(it, total): def asset_url_generator(env, asset_url, tell_sentry, www_root): - def asset(*paths): + def asset(*paths, domain=True): for path in paths: fspath = www_root+'/assets/'+path etag = '' @@ -812,10 +813,33 @@ def asset(*paths): continue except Exception as e: tell_sentry(e) - return asset_url+path+(etag and '?etag='+etag) + if domain: + return asset_url+path+(etag and '?etag='+etag) + else: + return '/assets/'+path+(etag and '?etag='+etag) return {'asset': asset} +def icon_names(www_root): + icons_file_path = f'{www_root}/assets/icons.svg' + svg = ET.parse(icons_file_path).getroot() + icon_identifiers = set() + for el in svg: + if el.tag != '{http://www.w3.org/2000/svg}symbol': + raise AssertionError( + f"{icons_file_path} contains unknown element <{el.tag.split('}')[1]}>" + ) + icon_id = el.get('id') + if not icon_id: + raise AssertionError(f"{icons_file_path} contains a without an id") + if icon_id in icon_identifiers: + raise AssertionError( + f'{icons_file_path} contains multiple symbols with id="{icon_id}"' + ) + icon_identifiers.add(icon_id) + return {'icon_names': icon_identifiers} + + def load_scss_variables(project_root): """Build a dict representing the `style/variables.scss` file. """ @@ -865,6 +889,7 @@ def currency_exchange_rates(db): username_restrictions, load_i18n, asset_url_generator, + icon_names, accounts_elsewhere, load_scss_variables, s3, diff --git a/style/base/base.scss b/style/base/base.scss index 422aaed7b..656663190 100644 --- a/style/base/base.scss +++ b/style/base/base.scss @@ -119,21 +119,28 @@ input.amount { } div.account { - .auth-button { - display: inline-block; - } - & > .account-link { - display: inline-block; - margin-bottom: 0.3em; - padding: 0.1em 0; - text-decoration: none; - } - & > form { - margin-bottom: 0.9em; + line-height: 32px; +} +@media (max-width: $screen-xs-min - 1) { + div.account { + margin: .5em 0 2em 0; + & > * { + display: block; + text-align: center; + } + & > a.account-link { + margin: 0 0 .5em; + } } } -.account-username { - margin-left: 0.5ex; +@media (min-width: $screen-xs-min) { + div.account { + margin: .5em 0 .5em 0; + & > a.account-link { + display: inline-block; + margin: 0 2ex 0 .5ex; + } + } } a.account-link[href="#not-available"] { @@ -724,10 +731,6 @@ p.event { margin-bottom: 0.5em; } -.icon + span { - margin-left: 2px; -} - span.help-title { border-bottom: 1px dotted; cursor: help; @@ -779,6 +782,7 @@ span.help-title { .card-brands > svg { margin: 0 2ex .3em 0; + vertical-align: top; } @media (max-width: $screen-sm-min - 1) { diff --git a/style/base/icons.scss b/style/base/icons.scss index 5e3eb9a3c..5e725128f 100644 --- a/style/base/icons.scss +++ b/style/base/icons.scss @@ -1,22 +1,17 @@ -svg { +.icon { + display: inline-block; + fill: currentColor; vertical-align: top; } .icon + span { margin-left: 2px; } -span.icon-16 { - display: inline-block; - line-height: 16px; - & > svg { - height: 16px; - width: 16px; - } +.icon-16 { + height: 16px; + margin-top: calc((1lh - 16px) / 2); + width: 16px; } -span.icon-32 { - display: inline-block; - line-height: 32px; - & > svg { - height: 32px; - width: 32px; - } +.icon-32 { + height: 32px; + width: 32px; } diff --git a/templates/macros/elsewhere.html b/templates/macros/elsewhere.html index d0c601451..8bf9a489b 100644 --- a/templates/macros/elsewhere.html +++ b/templates/macros/elsewhere.html @@ -3,13 +3,12 @@ % macro account_elsewhere(account, edit=False) % set platform = account.platform_data
+ - {{ platform_icon_large(platform) }} {{ platform.display_name }}: % if edit -    
@@ -43,11 +42,11 @@ % endmacro % macro platform_icon_small(platform) - {{ platform.display_name }} + {{ platform.display_name }} % endmacro % macro platform_icon_large(platform) - {{ platform.display_name }} + {{ platform.display_name }} % endmacro % macro user_lookup_form() diff --git a/templates/macros/icons.html b/templates/macros/icons.html index cfbc46dec..aac072f32 100644 --- a/templates/macros/icons.html +++ b/templates/macros/icons.html @@ -1,60 +1,57 @@ -% set icons = { - 'advertise': 'bootstrap-icons/broadcast.svg', - 'bank-account': 'bootstrap-icons/bank2.svg', - 'change-image': 'bootstrap-icons/images.svg', - 'create-profile': 'bootstrap-icons/file-person.svg', - 'direct-debit': 'bootstrap-icons/bank2.svg', - 'disconnect': 'bootstrap-icons/x-lg.svg', - 'discontinue': 'bootstrap-icons/stop-fill.svg', - 'donations': 'bootstrap-icons/gift.svg', - 'enter': 'bootstrap-icons/box-arrow-in-right.svg', - 'external-link': 'bootstrap-icons/box-arrow-up-right.svg', - 'exclamation-sign': 'bootstrap-icons/exclamation-circle-fill.svg', - 'exit': 'bootstrap-icons/box-arrow-right.svg', - 'explore': 'bootstrap-icons/globe2.svg', - 'feed': 'bootstrap-icons/rss.svg', - 'homepage': 'bootstrap-icons/house.svg', - 'index': 'bootstrap-icons/list.svg', - 'info-sign': 'bootstrap-icons/info-circle.svg', - 'integrate': 'bootstrap-icons/gear.svg', - 'liberapay': 'liberapay/icon-v2_black.svg', - 'locale': 'bootstrap-icons/translate.svg', - 'manual': 'bootstrap-icons/hand-index.svg', - 'mark-as-read': 'bootstrap-icons/eye-fill.svg', - 'markdown': 'bootstrap-icons/markdown-fill.svg', - 'mastodon': 'bootstrap-icons/mastodon.svg', - 'ok': 'bootstrap-icons/check-circle.svg', - 'payment-card': 'bootstrap-icons/credit-card.svg', - 'pledge': 'bootstrap-icons/balloon-heart.svg', - 'private': 'bootstrap-icons/eye-slash.svg', - 'public': 'bootstrap-icons/globe2.svg', - 'ok-sign': 'bootstrap-icons/check-circle.svg', - 'pay': 'bootstrap-icons/cash.svg', - 'print': 'bootstrap-icons/printer.svg', - 'question-sign': 'bootstrap-icons/question-circle.svg', - 'refresh': 'bootstrap-icons/arrow-clockwise.svg', - 'remove': 'bootstrap-icons/x-lg.svg', - 'secret': 'bootstrap-icons/incognito.svg', - 'secure': 'bootstrap-icons/shield-check.svg', - 'set-up': 'bootstrap-icons/sliders.svg', - 'smile': 'bootstrap-icons/emoji-smile.svg', - 'stats': 'bootstrap-icons/bar-chart.svg', - 'team': 'bootstrap-icons/people.svg', - 'text-prompt': 'bootstrap-icons/input-cursor-text.svg', - 'twitter': 'bootstrap-icons/twitter-x.svg', - 'users': 'bootstrap-icons/person-add.svg', - 'warning-sign': 'bootstrap-icons/exclamation-triangle-fill.svg', +% set icon_aliases = { + 'advertise': 'broadcast', + 'bank-account': 'bank2', + 'change-image': 'images', + 'create-profile': 'file-person', + 'direct-debit': 'bank2', + 'disconnect': 'x-lg', + 'discontinue': 'stop-fill', + 'donations': 'gift', + 'enter': 'box-arrow-in-right', + 'external-link': 'box-arrow-up-right', + 'exclamation-sign': 'exclamation-circle-fill', + 'exit': 'box-arrow-right', + 'explore': 'globe2', + 'feed': 'rss', + 'homepage': 'house', + 'index': 'list', + 'info-sign': 'info-circle', + 'integrate': 'gear', + 'locale': 'translate', + 'manual': 'hand-index', + 'mark-as-read': 'eye-fill', + 'markdown': 'markdown-fill', + 'mastodon': 'mastodon', + 'ok': 'check-circle', + 'payment-card': 'credit-card', + 'pledge': 'balloon-heart', + 'private': 'eye-slash', + 'public': 'globe2', + 'ok-sign': 'check-circle', + 'pay': 'cash', + 'print': 'printer', + 'question-sign': 'question-circle', + 'refresh': 'arrow-clockwise', + 'remove': 'x-lg', + 'secret': 'incognito', + 'secure': 'shield-check', + 'set-up': 'sliders', + 'smile': 'emoji-smile', + 'stats': 'bar-chart', + 'team': 'people', + 'text-prompt': 'input-cursor-text', + 'twitter': 'twitter-x', + 'users': 'person-add', + 'warning-sign': 'exclamation-triangle-fill', } % macro icon(name, sr='', size=16) - % set svg_path = icons.get(name) or 'bootstrap-icons/' + name + '.svg' - % set svg = website.read_asset(svg_path)|safe - % if svg - + % set name = icon_aliases.get(name, name) + % if soft_assert(name in website.icon_names, "unknown icon name %r" % name) + % else - + % endif % if sr {{ sr }} diff --git a/www/admin/users.spt b/www/admin/users.spt index d346c2042..1d5fb9db7 100644 --- a/www/admin/users.spt +++ b/www/admin/users.spt @@ -237,6 +237,7 @@ title = "Users Admin" [---] text/html % from 'templates/macros/admin.html' import admin_form with context % from 'templates/macros/avatar-url.html' import avatar_img with context +% from 'templates/macros/elsewhere.html' import platform_icon_small with context % from 'templates/macros/icons.html' import icon with context % from 'templates/macros/nav.html' import querystring_nav with context % from "templates/macros/payment-methods.html" import payment_method_icon with context @@ -275,19 +276,19 @@ title = "Users Admin" % if p.status == 'stub' % for account in elsewhere + % if account.description +
{{ + account.get_excerpt(500) + }}
+ % else + (no description) + % endif % else (ghost stub account) % endfor @@ -322,8 +323,8 @@ title = "Users Admin" % if elsewhere
% for account in elsewhere - + {{ platform_icon_small(account.platform_data) }} {{ account.friendly_name_long }}
diff --git a/www/assets/bootstrap-icons/arrow-clockwise.svg b/www/assets/bootstrap-icons/arrow-clockwise.svg deleted file mode 100644 index 324d5af1a..000000000 --- a/www/assets/bootstrap-icons/arrow-clockwise.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/arrow-left-right.svg b/www/assets/bootstrap-icons/arrow-left-right.svg deleted file mode 100644 index 89c40034e..000000000 --- a/www/assets/bootstrap-icons/arrow-left-right.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/balloon-heart.svg b/www/assets/bootstrap-icons/balloon-heart.svg deleted file mode 100644 index 0e056cb0e..000000000 --- a/www/assets/bootstrap-icons/balloon-heart.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/bank2.svg b/www/assets/bootstrap-icons/bank2.svg deleted file mode 100644 index acc8ef9a8..000000000 --- a/www/assets/bootstrap-icons/bank2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/bar-chart.svg b/www/assets/bootstrap-icons/bar-chart.svg deleted file mode 100644 index 8e57c801d..000000000 --- a/www/assets/bootstrap-icons/bar-chart.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/box-arrow-in-right.svg b/www/assets/bootstrap-icons/box-arrow-in-right.svg deleted file mode 100644 index 5d78def3c..000000000 --- a/www/assets/bootstrap-icons/box-arrow-in-right.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/box-arrow-right.svg b/www/assets/bootstrap-icons/box-arrow-right.svg deleted file mode 100644 index 682e03357..000000000 --- a/www/assets/bootstrap-icons/box-arrow-right.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/box-arrow-up-right.svg b/www/assets/bootstrap-icons/box-arrow-up-right.svg deleted file mode 100644 index 03f68d558..000000000 --- a/www/assets/bootstrap-icons/box-arrow-up-right.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/broadcast.svg b/www/assets/bootstrap-icons/broadcast.svg deleted file mode 100644 index b420a0b5e..000000000 --- a/www/assets/bootstrap-icons/broadcast.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/cash.svg b/www/assets/bootstrap-icons/cash.svg deleted file mode 100644 index 18cbff3a4..000000000 --- a/www/assets/bootstrap-icons/cash.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/check-circle.svg b/www/assets/bootstrap-icons/check-circle.svg deleted file mode 100644 index 016f6072a..000000000 --- a/www/assets/bootstrap-icons/check-circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/check-lg.svg b/www/assets/bootstrap-icons/check-lg.svg deleted file mode 100644 index 63a8a3df9..000000000 --- a/www/assets/bootstrap-icons/check-lg.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/credit-card.svg b/www/assets/bootstrap-icons/credit-card.svg deleted file mode 100644 index 406233dd5..000000000 --- a/www/assets/bootstrap-icons/credit-card.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/download.svg b/www/assets/bootstrap-icons/download.svg deleted file mode 100644 index 90a34a3b4..000000000 --- a/www/assets/bootstrap-icons/download.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/emoji-smile.svg b/www/assets/bootstrap-icons/emoji-smile.svg deleted file mode 100644 index bba78dabd..000000000 --- a/www/assets/bootstrap-icons/emoji-smile.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/exclamation-circle-fill.svg b/www/assets/bootstrap-icons/exclamation-circle-fill.svg deleted file mode 100644 index 13ce7ab6b..000000000 --- a/www/assets/bootstrap-icons/exclamation-circle-fill.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/exclamation-circle.svg b/www/assets/bootstrap-icons/exclamation-circle.svg deleted file mode 100644 index f3befe03d..000000000 --- a/www/assets/bootstrap-icons/exclamation-circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/exclamation-triangle-fill.svg b/www/assets/bootstrap-icons/exclamation-triangle-fill.svg deleted file mode 100644 index 52fd50886..000000000 --- a/www/assets/bootstrap-icons/exclamation-triangle-fill.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/exclamation-triangle.svg b/www/assets/bootstrap-icons/exclamation-triangle.svg deleted file mode 100644 index 506b7774a..000000000 --- a/www/assets/bootstrap-icons/exclamation-triangle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/eye-fill.svg b/www/assets/bootstrap-icons/eye-fill.svg deleted file mode 100644 index 92b17ad95..000000000 --- a/www/assets/bootstrap-icons/eye-fill.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/www/assets/bootstrap-icons/eye-slash.svg b/www/assets/bootstrap-icons/eye-slash.svg deleted file mode 100644 index 359c270fb..000000000 --- a/www/assets/bootstrap-icons/eye-slash.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/facebook.svg b/www/assets/bootstrap-icons/facebook.svg deleted file mode 100644 index 5fc7cec17..000000000 --- a/www/assets/bootstrap-icons/facebook.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/file-person.svg b/www/assets/bootstrap-icons/file-person.svg deleted file mode 100644 index e102abf67..000000000 --- a/www/assets/bootstrap-icons/file-person.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/gear.svg b/www/assets/bootstrap-icons/gear.svg deleted file mode 100644 index 30cfaa386..000000000 --- a/www/assets/bootstrap-icons/gear.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/gift.svg b/www/assets/bootstrap-icons/gift.svg deleted file mode 100644 index 592150779..000000000 --- a/www/assets/bootstrap-icons/gift.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/github.svg b/www/assets/bootstrap-icons/github.svg deleted file mode 100644 index 013e02532..000000000 --- a/www/assets/bootstrap-icons/github.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/globe2.svg b/www/assets/bootstrap-icons/globe2.svg deleted file mode 100644 index b30206376..000000000 --- a/www/assets/bootstrap-icons/globe2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/hand-index.svg b/www/assets/bootstrap-icons/hand-index.svg deleted file mode 100644 index 725757bfd..000000000 --- a/www/assets/bootstrap-icons/hand-index.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/house.svg b/www/assets/bootstrap-icons/house.svg deleted file mode 100644 index cb57f687a..000000000 --- a/www/assets/bootstrap-icons/house.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/images.svg b/www/assets/bootstrap-icons/images.svg deleted file mode 100644 index adc7abfae..000000000 --- a/www/assets/bootstrap-icons/images.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/incognito.svg b/www/assets/bootstrap-icons/incognito.svg deleted file mode 100644 index f2c8f9d2f..000000000 --- a/www/assets/bootstrap-icons/incognito.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/info-circle.svg b/www/assets/bootstrap-icons/info-circle.svg deleted file mode 100644 index e2b50eb5f..000000000 --- a/www/assets/bootstrap-icons/info-circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/input-cursor-text.svg b/www/assets/bootstrap-icons/input-cursor-text.svg deleted file mode 100644 index fc910f3b5..000000000 --- a/www/assets/bootstrap-icons/input-cursor-text.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/link.svg b/www/assets/bootstrap-icons/link.svg deleted file mode 100644 index 823e4cd69..000000000 --- a/www/assets/bootstrap-icons/link.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/list.svg b/www/assets/bootstrap-icons/list.svg deleted file mode 100644 index 4e7c0badd..000000000 --- a/www/assets/bootstrap-icons/list.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/www/assets/bootstrap-icons/markdown-fill.svg b/www/assets/bootstrap-icons/markdown-fill.svg deleted file mode 100644 index a932fbb0e..000000000 --- a/www/assets/bootstrap-icons/markdown-fill.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/mastodon.svg b/www/assets/bootstrap-icons/mastodon.svg deleted file mode 100644 index a8c2a26cc..000000000 --- a/www/assets/bootstrap-icons/mastodon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/medium.svg b/www/assets/bootstrap-icons/medium.svg deleted file mode 100644 index 065ace11f..000000000 --- a/www/assets/bootstrap-icons/medium.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/paypal.svg b/www/assets/bootstrap-icons/paypal.svg deleted file mode 100644 index b2cec8842..000000000 --- a/www/assets/bootstrap-icons/paypal.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/pen.svg b/www/assets/bootstrap-icons/pen.svg deleted file mode 100644 index a63b25057..000000000 --- a/www/assets/bootstrap-icons/pen.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/people.svg b/www/assets/bootstrap-icons/people.svg deleted file mode 100644 index 341861a40..000000000 --- a/www/assets/bootstrap-icons/people.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/person-add.svg b/www/assets/bootstrap-icons/person-add.svg deleted file mode 100644 index 66e250869..000000000 --- a/www/assets/bootstrap-icons/person-add.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/printer.svg b/www/assets/bootstrap-icons/printer.svg deleted file mode 100644 index 0886a570a..000000000 --- a/www/assets/bootstrap-icons/printer.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/question-circle.svg b/www/assets/bootstrap-icons/question-circle.svg deleted file mode 100644 index 283e6536e..000000000 --- a/www/assets/bootstrap-icons/question-circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/repeat.svg b/www/assets/bootstrap-icons/repeat.svg deleted file mode 100644 index 51765c9f4..000000000 --- a/www/assets/bootstrap-icons/repeat.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/rss.svg b/www/assets/bootstrap-icons/rss.svg deleted file mode 100644 index 18dc9f1be..000000000 --- a/www/assets/bootstrap-icons/rss.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/save.svg b/www/assets/bootstrap-icons/save.svg deleted file mode 100644 index 9dd7b2fcb..000000000 --- a/www/assets/bootstrap-icons/save.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/search.svg b/www/assets/bootstrap-icons/search.svg deleted file mode 100644 index 331805416..000000000 --- a/www/assets/bootstrap-icons/search.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/shield-check.svg b/www/assets/bootstrap-icons/shield-check.svg deleted file mode 100644 index 3908fca3d..000000000 --- a/www/assets/bootstrap-icons/shield-check.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/sliders.svg b/www/assets/bootstrap-icons/sliders.svg deleted file mode 100644 index c64a06cac..000000000 --- a/www/assets/bootstrap-icons/sliders.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/star.svg b/www/assets/bootstrap-icons/star.svg deleted file mode 100644 index fcdcb1cf3..000000000 --- a/www/assets/bootstrap-icons/star.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/stop-fill.svg b/www/assets/bootstrap-icons/stop-fill.svg deleted file mode 100644 index 5fdc2feb3..000000000 --- a/www/assets/bootstrap-icons/stop-fill.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/www/assets/bootstrap-icons/stripe.svg b/www/assets/bootstrap-icons/stripe.svg deleted file mode 100644 index ba961a06b..000000000 --- a/www/assets/bootstrap-icons/stripe.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/translate.svg b/www/assets/bootstrap-icons/translate.svg deleted file mode 100644 index 2e0754e69..000000000 --- a/www/assets/bootstrap-icons/translate.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/twitter-x.svg b/www/assets/bootstrap-icons/twitter-x.svg deleted file mode 100644 index 2fafcc2df..000000000 --- a/www/assets/bootstrap-icons/twitter-x.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/www/assets/bootstrap-icons/x-lg.svg b/www/assets/bootstrap-icons/x-lg.svg deleted file mode 100644 index 657f06b49..000000000 --- a/www/assets/bootstrap-icons/x-lg.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/www/assets/icons.svg b/www/assets/icons.svg new file mode 100644 index 000000000..cca492de2 --- /dev/null +++ b/www/assets/icons.svg @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +