From bfc1abedaf7b691ad896c727590025a6d4fe49f9 Mon Sep 17 00:00:00 2001 From: Benjamin Klix Date: Tue, 3 Dec 2024 12:32:21 +0100 Subject: [PATCH] chore: Improve stylings and html markup --- Resources/Private/Layouts/Default.html | 16 ++----- .../Templates/DatabaseStorage/DeleteAll.html | 5 ++- .../Templates/DatabaseStorage/Index.html | 38 +++++++++++----- .../Templates/DatabaseStorage/Show.html | 44 +++++++++++++------ 4 files changed, 65 insertions(+), 38 deletions(-) diff --git a/Resources/Private/Layouts/Default.html b/Resources/Private/Layouts/Default.html index 43a500f..0fa9017 100644 --- a/Resources/Private/Layouts/Default.html +++ b/Resources/Private/Layouts/Default.html @@ -1,14 +1,4 @@ - - - - - <f:render section="Title" /> + - - - - -

- - - + + diff --git a/Resources/Private/Templates/DatabaseStorage/DeleteAll.html b/Resources/Private/Templates/DatabaseStorage/DeleteAll.html index 2a3a8d6..ebcba01 100644 --- a/Resources/Private/Templates/DatabaseStorage/DeleteAll.html +++ b/Resources/Private/Templates/DatabaseStorage/DeleteAll.html @@ -1,9 +1,12 @@ {namespace neos=Neos\Neos\ViewHelpers} -{neos:backend.translate(id: 'storage.databaseStorage')} - {neos:backend.translate(id: 'storage.deleteAll.deleteEntries')} +

{neos:backend.translate(id: 'storage.databaseStorage')} - {neos:backend.translate(id: 'storage.deleteAll.deleteEntries')}

+

{neos:backend.translate(id: 'storage.deleteAll.successTitle')}

{neos:backend.translate(id: 'storage.deleteAll.successTitle', arguments: {0: count, 1: identifier})}

diff --git a/Resources/Private/Templates/DatabaseStorage/Index.html b/Resources/Private/Templates/DatabaseStorage/Index.html index 27a334b..a2cc682 100644 --- a/Resources/Private/Templates/DatabaseStorage/Index.html +++ b/Resources/Private/Templates/DatabaseStorage/Index.html @@ -1,11 +1,24 @@ {namespace neos=Neos\Neos\ViewHelpers} -{neos:backend.translate(id: 'storage.databaseStorage')} +

{neos:backend.translate(id: 'storage.databaseStorage')}

@@ -71,16 +84,21 @@
diff --git a/Resources/Private/Templates/DatabaseStorage/Show.html b/Resources/Private/Templates/DatabaseStorage/Show.html index f7e49e6..db211c5 100644 --- a/Resources/Private/Templates/DatabaseStorage/Show.html +++ b/Resources/Private/Templates/DatabaseStorage/Show.html @@ -4,21 +4,32 @@

{neos:backend.translate(id: 'storage.backToIdentifiers')}

-
- - {neos:backend.translate(id: 'storage.databaseStorage')} - [{f:if(condition: '{entries -> f:count()} > 0', then: '{entries -> f:count()}')}] {neos:backend.translate(id: 'storage.entriesForX', arguments: {0: identifier})} - -
+

+ {neos:backend.translate(id: 'storage.databaseStorage')} - [{f:if(condition: '{entries -> f:count()} > 0', then: '{entries -> f:count()}')}] {neos:backend.translate(id: 'storage.entriesForX', arguments: {0: identifier})} +

@@ -55,15 +66,20 @@