Explorar el Código

Merge branch 'develop'

* develop:
  change dashboard title and add new icon
ksieren hace 2 años
padre
commit
d22fd669db

+ 1 - 1
Configuration/TCA/tx_begriffmgt_domain_model_category.php

@@ -19,7 +19,7 @@ return [
             'endtime' => 'endtime',
         ],
         'searchFields' => 'title',
-        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot.svg',
+        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot-icon.svg',
     ],
     'interface' => [
         'showRecordFieldList' => 'title, terms',

+ 1 - 1
Configuration/TCA/tx_begriffmgt_domain_model_term.php

@@ -19,7 +19,7 @@ return [
         'typeicon_classes' => [
           'default' => 'begriffe_list_record_icon',
         ],
-        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/book.png'
+        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot-icon.svg'
     ],
     'interface' => [
         'showRecordFieldList' => 'type,category,term,url',

+ 1 - 1
Configuration/TCA/tx_begriffmgt_domain_model_type.php

@@ -19,7 +19,7 @@ return [
             'endtime' => 'endtime',
         ],
         'searchFields' => 'title',
-        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot.svg',
+        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot-icon.svg',
     ],
     'interface' => [
         'showRecordFieldList' => 'title, terms',

+ 1 - 1
Configuration/TCA/tx_begriffmgt_domain_model_url.php

@@ -19,7 +19,7 @@ return [
             'endtime' => 'endtime',
         ],
         'searchFields' => 'title',
-        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot.svg',
+        'iconfile' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot-icon.svg',
     ],
     'interface' => [
         'showRecordFieldList' => 'title, terms',

+ 1 - 1
Resources/Private/Templates/Dashboard/Index.html

@@ -22,7 +22,7 @@
   </f:flashMessages>
 
 
-  <h1>Dashboard</h1>
+  <h1>Pflege der Chatbot-Begriffe</h1>
 
 
   <hr style="width: 100%; border: 1px solid black; margin: 20px 0;">

+ 44 - 0
Resources/Public/Icons/chatbot-icon.svg

@@ -0,0 +1,44 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
+  <defs>
+    <style>
+      .cls-1, .cls-2 {
+        fill: none;
+        stroke: #fff;
+        stroke-width: 1.68px;
+      }
+
+      .cls-3 {
+        fill: #6495ed;
+        fill-rule: evenodd;
+      }
+
+      .cls-2 {
+        stroke-linecap: round;
+        stroke-linejoin: round;
+      }
+    </style>
+  </defs>
+  <path class="cls-3" d="m0,0h64v64H0V0Z"/>
+  <g id="bot">
+    <path id="dome" class="cls-1" d="m43.22,39.94l-.18-10.92c-1.09-5.49-5.99-9.39-11.58-9.23-5.59-.15-10.47,3.75-11.57,9.23l-.18,10.92h23.51Z"/>
+    <g id="antenna">
+      <line class="cls-1" x1="31.47" y1="15.1" x2="31.47" y2="20.14"/>
+      <path class="cls-1" d="m31.46,15.1c1.39,0,2.52-1.13,2.52-2.52,0-1.39-1.13-2.52-2.52-2.52s-2.52,1.13-2.52,2.52,1.13,2.52,2.52,2.52h0Z"/>
+    </g>
+    <path id="eye-r" class="cls-2" d="m25.24,29.02s0-1.19,1.68-1.19,1.68,1.19,1.68,1.19"/>
+    <path id="eye-l" class="cls-2" d="m34.46,29.02s0-1.19,1.67-1.19,1.68,1.19,1.68,1.19"/>
+    <path id="mouth" class="cls-2" d="m33.99,33.39s0,1.68-2.52,1.68-2.52-1.68-2.52-1.68"/>
+    <g id="arm-r">
+      <polyline class="cls-1" points="20.05 30.7 15.01 30.7 10.92 35.91"/>
+      <polyline class="cls-1" points="6.14 36.78 8.19 34.34 12.77 38.19 10.72 40.63"/>
+    </g>
+    <g id="arm-l">
+      <polyline class="cls-1" points="42.87 29.02 47.91 29.02 52 23.81"/>
+      <polyline class="cls-1" points="56.78 22.94 54.73 25.38 50.15 21.54 52.19 19.1"/>
+    </g>
+    <g id="base">
+      <path class="cls-1" d="m47.46,45.81v-4.19c.02-.91-.71-1.66-1.62-1.68-.02,0-.04,0-.06,0h-28.59c-.91-.02-1.66.71-1.68,1.62,0,.02,0,.04,0,.06v4.19c-.03.91.68,1.68,1.59,1.71.03,0,.06,0,.09,0h10.92v-1.1c-.03-1.46,1.13-2.68,2.59-2.71.04,0,.07,0,.11,0h1.31c1.46-.03,2.68,1.13,2.71,2.59,0,.04,0,.08,0,.12v1.1h10.91c.91.04,1.68-.67,1.72-1.58,0-.04,0-.09,0-.13Z"/>
+      <path class="cls-1" d="m30.11,43.72c-1.1,0-2,.9-2,2v5.26c0,1.1.9,2,2,2h2.72c1.1,0,2-.9,2-2v-5.26c0-1.1-.9-2-2-2h-2.72Z"/>
+    </g>
+  </g>
+</svg>

+ 1 - 1
ext_tables.php

@@ -16,7 +16,7 @@ call_user_func(function()
     ],
     [
       'access' => 'user,admin',
-      'icon' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot.png',
+      'icon' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot-icon.svg',
       'labels' => 'LLL:EXT:begriffmgt/Resources/Private/Language/locallang_mod.xlf:mlang_tabs_tab',
     ]