Add icons for extension

* Add Icons for extension itself.
* Add Icons for custom records.

Relates: #40
This commit is contained in:
Daniel Siepmann 2020-09-23 09:43:35 +02:00
parent 93353630b0
commit 6dccb84987
5 changed files with 35 additions and 2 deletions

View file

@ -12,7 +12,7 @@ return [
'languageField' => 'sys_language_uid', 'languageField' => 'sys_language_uid',
'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview', 'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview',
'searchFields' => 'uid, url', 'searchFields' => 'uid, url',
'iconfile' => 'EXT:core/Resources/Public/Icons/T3Icons/apps/apps-pagetree-page-default.svg', 'iconfile' => 'EXT:tracking/Resources/Public/Icons/Record/Pageview.svg',
], ],
'types' => [ 'types' => [
'0' => [ '0' => [

View file

@ -12,7 +12,7 @@ return [
'languageField' => 'sys_language_uid', 'languageField' => 'sys_language_uid',
'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.recordview', 'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.recordview',
'searchFields' => 'uid, url', 'searchFields' => 'uid, url',
'iconfile' => 'EXT:core/Resources/Public/Icons/T3Icons/apps/apps-pagetree-page-default.svg', 'iconfile' => 'EXT:tracking/Resources/Public/Icons/Record/Recordview.svg',
], ],
'types' => [ 'types' => [
'0' => [ '0' => [

View file

@ -0,0 +1,7 @@
<svg id="tracking1" data-name="tracking1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.96197 16">
<g>
<path d="M14.05714,10.95863,7.9827,7.6253,1.90825,4.292a6.92892,6.92892,0,1,1,12.14889,6.66666Z" fill="#59f"/>
<path d="M7.97928,7.62907,4.648,13.70466A6.92893,6.92893,0,0,1,1.90369,4.29782Z" fill="#79a548"/>
<path d="M7.98624,7.63424l6.07442,3.33337a6.92891,6.92891,0,0,1-9.40779,2.74106Z" fill="#ffc857"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 444 B

View file

@ -0,0 +1,13 @@
<svg id="pageview" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 16.00004">
<g opacity="0.5">
<path d="M2,0V16H14V4L10,0Z" transform="translate(-2 0.00004)" fill="#efefef"/>
<path d="M10,4V0l4,4Z" transform="translate(-2 0.00004)" fill="#fff" opacity="0.65" style="isolation: isolate"/>
<path d="M13,5v5L9,5Z" transform="translate(-2 0.00004)" opacity="0.2" style="isolation: isolate"/>
</g>
<path d="M2,.06V16H14V4h0L10,0H2Zm1,1H9V5h4V15H3Zm7,.41L12.59,4H10Z" transform="translate(-2 0.00004)" fill="#999"/>
<g>
<path d="M7.37,11.19H9.92V15H7.37Z" transform="translate(-2 0.00004)" fill="#59f"/>
<path d="M9.92,6.1h2.54V15H9.92Z" transform="translate(-2 0.00004)" fill="#ffc857"/>
<path d="M12.46,8.65H15V15H12.46Z" transform="translate(-2 0.00004)" fill="#79a548"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 819 B

View file

@ -0,0 +1,13 @@
<svg id="recordview" data-name="recordview" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<g>
<path d="M1,1H15V15H1Z" fill="#fff"/>
<path d="M1,1V15H15V1ZM2,2H14V14H2Z" fill="#999"/>
<path d="M3,3H13V5H3Z" fill="#666"/>
<path d="M3,6H13V7H3ZM3,8H13V9H3Zm0,2H13v1H3Zm0,2H13v1H3Z" fill="#b9b9b9"/>
<g>
<path d="M7.19,10.64H9.73v3.81H7.19Z" fill="#59f"/>
<path d="M9.73,5.55h2.54v8.9H9.73Z" fill="#ffc857"/>
<path d="M12.27,8.09h2.54v6.36H12.27Z" fill="#79a548"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 534 B