From 12d35aea14835806daa4d019576ea327f7cefa97 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 f123b77be50e078b6ba5bbc444be9cbc4bb99a37 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 2b84f069bbbc78eccb6f023bb02c434457846e88 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 @@