Use a shared public view layout component

This commit is contained in:
Johannes Zellner
2025-03-31 11:18:09 +02:00
parent cbba373d7d
commit 15269713cc
11 changed files with 176 additions and 238 deletions
+23
View File
@@ -0,0 +1,23 @@
<script setup>
import { Button } from 'pankow';
import PublicPageLayout from '../components/PublicPageLayout.vue';
// coming from oidc_error.html server-side rendered
const name = window.cloudron.name;
const iconUrl = window.cloudron.iconUrl;
const errorMessage = window.cloudron.errorMessage;
const footer = window.cloudron.footer;
</script>
<template>
<PublicPageLayout :footerHtml="footer">
<div style="max-width: 300px;">
<h2>{{ name }} OpenID Error</h2>
<div>{{ errorMessage }}</div>
<br/>
<Button href="/">{{ $t('passwordReset.backToLoginAction') }}</Button>
</div>
</PublicPageLayout>
</template>