From d49d37693cffb6eef528cda90d492dca5ce043e6 Mon Sep 17 00:00:00 2001 From: trendschau Date: Sat, 18 Jan 2025 11:36:27 +0100 Subject: [PATCH] Finish responsive and v2.13 --- system/typemill/author/js/vue-publisher.js | 18 ++++++++++++------ system/typemill/author/partials/mainNavi.twig | 14 ++++++++++++-- system/typemill/author/partials/symbols.twig | 17 +++++++++++++++++ system/typemill/settings/defaults.yaml | 2 +- system/typemill/settings/mainnavi.yaml | 7 ++++++- 5 files changed, 48 insertions(+), 10 deletions(-) diff --git a/system/typemill/author/js/vue-publisher.js b/system/typemill/author/js/vue-publisher.js index 19357b0..4ca4020 100644 --- a/system/typemill/author/js/vue-publisher.js +++ b/system/typemill/author/js/vue-publisher.js @@ -23,7 +23,8 @@ const publisher = Vue.createApp({ class="cursor-pointer ml-1 lg:w-24 lg:px-4 px-2 py-2 border dark:border-0 border-stone-200 text-white disabled:bg-stone-200 disabled:text-stone-900 disabled:dark:bg-stone-600 disabled:dark:text-stone-200 disabled:cursor-not-allowed transition" :class="publishClass" > - {{ $filters.translate('publish') }} + {{ $filters.translate('pub') }} +
@@ -72,7 +77,8 @@ const publisher = Vue.createApp({ class="px-4 py-2 border border-stone-200 bg-stone-50 hover:bg-stone-700 hover:text-white transition ml-1" @click.prevent="checkChanges(visualUrl)" > - {{ $filters.translate('visual') }} + {{ $filters.translate('vis') }} + - {{ translate(navitem.title)|capitalize }} + + + + + + {% else %}
  • - {{ translate(navitem.title)|capitalize }} + + + + + +
  • {% endif %} {% endfor %} diff --git a/system/typemill/author/partials/symbols.twig b/system/typemill/author/partials/symbols.twig index 39f410f..db15087 100644 --- a/system/typemill/author/partials/symbols.twig +++ b/system/typemill/author/partials/symbols.twig @@ -1,5 +1,22 @@ + + + {{ translate('EDITOR') }} + + + + {{ translate('ACCOUNT') }} + + + + {{ translate('SYSTEM') }} + + + + {{ translate('LOGOUT') }} + + {{ translate('EXTERNAL_LINK') }} diff --git a/system/typemill/settings/defaults.yaml b/system/typemill/settings/defaults.yaml index 3bf23a2..e20aa22 100644 --- a/system/typemill/settings/defaults.yaml +++ b/system/typemill/settings/defaults.yaml @@ -1,4 +1,4 @@ -version: '2.12.0' +version: '2.13.0' title: 'Typemill' author: 'Unknown' copyright: false diff --git a/system/typemill/settings/mainnavi.yaml b/system/typemill/settings/mainnavi.yaml index 999d693..081cf60 100644 --- a/system/typemill/settings/mainnavi.yaml +++ b/system/typemill/settings/mainnavi.yaml @@ -1,25 +1,30 @@ 'content': 'title': 'Content' + 'icon': 'icon-pencil' 'routename': 'content.visual' 'aclresource': 'content' 'aclprivilege': 'read' 'system': 'title': 'System' + 'icon': 'icon-cog' 'routename': 'settings.show' 'aclresource': 'system' 'aclprivilege': 'read' 'account': 'title': 'Account' + 'icon': 'icon-user1' 'routename': 'user.account' 'aclresource': 'account' 'aclprivilege': 'read' 'frontend': 'title': 'Frontend' + 'icon': 'icon-external-link' 'routename': 'home' 'aclresource': 'account' 'aclprivilege': 'read' 'logout': - 'title': 'Logout' + 'title': 'Logout' + 'icon': 'icon-switch' 'routename': 'auth.logout' 'aclresource': 'account' 'aclprivilege': 'read' \ No newline at end of file