From b29d471f2aad71aa9b67a12f4dea43996565b293 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Mon, 15 Dec 2025 20:37:39 -0300 Subject: [PATCH 1/3] feat: improve error page layout and mobile responsiveness - Replace sad face icon with alert icon - Add LibreSign logo header - Use NcEmptyContent component - Add card container with shadow - Improve mobile responsiveness - Clean up CSS and remove redundant styles Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/views/DefaultPageError.vue | 122 +++++++++++++++++++-------------- 1 file changed, 72 insertions(+), 50 deletions(-) diff --git a/src/views/DefaultPageError.vue b/src/views/DefaultPageError.vue index 63abb4df52..9d01256092 100644 --- a/src/views/DefaultPageError.vue +++ b/src/views/DefaultPageError.vue @@ -4,20 +4,31 @@ --> @@ -26,16 +37,23 @@ import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' +import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent' import NcNoteCard from '@nextcloud/vue/components/NcNoteCard' +import AlertCircleOutline from 'vue-material-design-icons/AlertCircleOutline.vue' + +import logoLibreSign from '../../img/logo-gray.svg' export default { name: 'DefaultPageError', components: { + NcEmptyContent, NcNoteCard, + AlertCircleOutline, }, data() { return { + logoLibreSign, paragrath: t('libresign', 'Sorry but the page you are looking for does not exist, has been removed, moved or is temporarily unavailable.'), } }, @@ -47,7 +65,7 @@ export default { } const errorMessage = loadState('libresign', 'error', {})?.message if (errorMessage) { - return [errorMessage] + return [{ message: errorMessage }] } return [] }, @@ -57,49 +75,53 @@ export default { From 935fb4be5587ef2a17319d764a279e4a3a211ccc Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Mon, 15 Dec 2025 20:39:44 -0300 Subject: [PATCH 2/3] chore: remove unused file Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- img/sad-face-in-rounded-square.svg | 1 - 1 file changed, 1 deletion(-) delete mode 100644 img/sad-face-in-rounded-square.svg diff --git a/img/sad-face-in-rounded-square.svg b/img/sad-face-in-rounded-square.svg deleted file mode 100644 index 69903063f4..0000000000 --- a/img/sad-face-in-rounded-square.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From 7ea7db72d093ed7193d7c3802150025fdfe1cf47 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Mon, 15 Dec 2025 20:40:32 -0300 Subject: [PATCH 3/3] chore: remove unecessary comments Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/views/DefaultPageError.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/DefaultPageError.vue b/src/views/DefaultPageError.vue index 9d01256092..f096afc345 100644 --- a/src/views/DefaultPageError.vue +++ b/src/views/DefaultPageError.vue @@ -5,14 +5,12 @@