[TASK] Add unified spinner icon 76/42876/5
authorBenjamin Kott <benjamin.kott@outlook.com>
Tue, 25 Aug 2015 20:50:20 +0000 (22:50 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 11 Sep 2015 09:27:00 +0000 (11:27 +0200)
Releases: master
Resolves: #66558
Change-Id: I15d8815009e22146faf9280c8b70247e4a0be035
Reviewed-on: http://review.typo3.org/42876
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/Gruntfile.js
Build/Resources/Private/Icons/Spinner/spinner-circle-dark.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Spinner/spinner-circle-light.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php

index b10c48b..4500779 100644 (file)
@@ -201,7 +201,9 @@ module.exports = function(grunt) {
                                        '<%= paths.sysext %>tstemplate/Resources/Public/Icons/module-tstemplate.svg': '<%= paths.icons %>Module/module-tstemplate.svg',
                                        '<%= paths.sysext %>version/Resources/Public/Icons/module-version.svg': '<%= paths.icons %>Module/module-version.svg',
                                        '<%= paths.sysext %>viewpage/Resources/Public/Icons/module-viewpage.svg': '<%= paths.icons %>Module/module-viewpage.svg',
-                                       '<%= paths.sysext %>workspaces/Resources/Public/Icons/module-workspaces.svg': '<%= paths.icons %>Module/module-workspaces.svg'
+                                       '<%= paths.sysext %>workspaces/Resources/Public/Icons/module-workspaces.svg': '<%= paths.icons %>Module/module-workspaces.svg',
+                                       '<%= paths.sysext %>backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg': '<%= paths.icons %>Spinner/spinner-circle-dark.svg',
+                                       '<%= paths.sysext %>backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg': '<%= paths.icons %>Spinner/spinner-circle-light.svg'
                                }
                        }
                }
diff --git a/Build/Resources/Private/Icons/Spinner/spinner-circle-dark.svg b/Build/Resources/Private/Icons/Spinner/spinner-circle-dark.svg
new file mode 100644 (file)
index 0000000..febcc65
--- /dev/null
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16" x="0px" y="0px">
+       <g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2">
+               <circle stroke="#333333" stroke-opacity=".3" cx="7" cy="7" r="6"/>
+               <path stroke="#333333" stroke-linecap="round" d="M7,1c3.3,0,6,2.7,6,6"/>
+       </g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Spinner/spinner-circle-light.svg b/Build/Resources/Private/Icons/Spinner/spinner-circle-light.svg
new file mode 100644 (file)
index 0000000..c60f97b
--- /dev/null
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16" x="0px" y="0px">
+       <g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2">
+               <circle stroke="#ffffff" stroke-opacity=".3" cx="7" cy="7" r="6"/>
+               <path stroke="#ffffff" stroke-linecap="round" d="M7,1c3.3,0,6,2.7,6,6"/>
+       </g>
+</svg>
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg b/typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg
new file mode 100644 (file)
index 0000000..50e128e
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2" stroke="#333"><circle stroke-opacity=".3" cx="7" cy="7" r="6"/><path stroke-linecap="round" d="M7 1c3.3 0 6 2.7 6 6"/></g></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg b/typo3/sysext/backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg
new file mode 100644 (file)
index 0000000..f239a81
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2" stroke="#fff"><circle stroke-opacity=".3" cx="7" cy="7" r="6"/><path stroke-linecap="round" d="M7 1c3.3 0 6 2.7 6 6"/></g></svg>
\ No newline at end of file
index cb0848f..61a6d26 100644 (file)
@@ -709,6 +709,22 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                        )
                ),
 
+               // Spinner
+               'spinner-circle-dark' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg',
+                               'spinning' => TRUE
+                       )
+               ),
+               'spinner-circle-light' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg',
+                               'spinning' => TRUE
+                       )
+               ),
+
                // Overlays
                'overlay-read-only' => array(
                        'provider' => FontawesomeIconProvider::class,