From 203f968045350d7cfb0ae46562c66c913b6ad87a Mon Sep 17 00:00:00 2001 From: Craig Heydenburg Date: Wed, 6 Dec 2023 11:11:24 -0500 Subject: [PATCH] Update icon to Symfony 6 style (#1417) --- templates/Collector/ICON_LICENSE.txt | 26 ++++++ templates/Collector/icon.html.twig | 46 ----------- templates/Collector/icon.svg | 6 ++ templates/Collector/icon_grey.html.twig | 79 ------------------- templates/Collector/icon_white.html.twig | 55 ------------- .../Collector/mapping_collector.html.twig | 4 +- 6 files changed, 34 insertions(+), 182 deletions(-) create mode 100644 templates/Collector/ICON_LICENSE.txt delete mode 100644 templates/Collector/icon.html.twig create mode 100644 templates/Collector/icon.svg delete mode 100644 templates/Collector/icon_grey.html.twig delete mode 100644 templates/Collector/icon_white.html.twig diff --git a/templates/Collector/ICON_LICENSE.txt b/templates/Collector/ICON_LICENSE.txt new file mode 100644 index 00000000..c3b6e47d --- /dev/null +++ b/templates/Collector/ICON_LICENSE.txt @@ -0,0 +1,26 @@ +Icons are from "Tabler Icons" (https://github.com/tabler/tabler-icons), a set of +free MIT-licensed high-quality SVG icons. + +----- + +MIT License + +Copyright (c) 2020-2022 Paweł Kuna + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/Collector/icon.html.twig b/templates/Collector/icon.html.twig deleted file mode 100644 index 14684eab..00000000 --- a/templates/Collector/icon.html.twig +++ /dev/null @@ -1,46 +0,0 @@ -{# iCon by oNlineWebFonts.Com #} - \ No newline at end of file diff --git a/templates/Collector/icon.svg b/templates/Collector/icon.svg new file mode 100644 index 00000000..a6a1710a --- /dev/null +++ b/templates/Collector/icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/Collector/icon_grey.html.twig b/templates/Collector/icon_grey.html.twig deleted file mode 100644 index 9b745ad2..00000000 --- a/templates/Collector/icon_grey.html.twig +++ /dev/null @@ -1,79 +0,0 @@ - - - - - Svg Vector Icons : http://www.onlinewebfonts.com/icon image/svg+xml - - \ No newline at end of file diff --git a/templates/Collector/icon_white.html.twig b/templates/Collector/icon_white.html.twig deleted file mode 100644 index 0f169591..00000000 --- a/templates/Collector/icon_white.html.twig +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Svg Vector Icons : http://www.onlinewebfonts.com/icon - - - image/svg+xml - - - - - - - - - diff --git a/templates/Collector/mapping_collector.html.twig b/templates/Collector/mapping_collector.html.twig index c7863255..4b9ef284 100644 --- a/templates/Collector/mapping_collector.html.twig +++ b/templates/Collector/mapping_collector.html.twig @@ -2,7 +2,7 @@ {% block toolbar %} {% set icon %} - {% include '@VichUploader/Collector/icon_grey.html.twig' %} + {{ source('@VichUploader/Collector/icon.svg') }} {{ collector.mappingsCount }} {% endset %} @@ -20,7 +20,7 @@ {# This left-hand menu appears when using the full-screen profiler. #} - {% include '@VichUploader/Collector/icon_white.html.twig' %} + {{ source('@VichUploader/Collector/icon.svg') }} VichUploader