Use a shared public view layout component
This commit is contained in:
22
dashboard/src/views/OidcInteractionAbortView.vue
Normal file
22
dashboard/src/views/OidcInteractionAbortView.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<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 submitUrl = window.cloudron.submitUrl;
|
||||
const footer = window.cloudron.footer;
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PublicPageLayout :footerHtml="footer">
|
||||
<div style="max-width: 300px;">
|
||||
<h2>You do not have access to {{ name }}</h2>
|
||||
<br/>
|
||||
<Button :href="submitUrl">Continue</Button>
|
||||
</div>
|
||||
</PublicPageLayout>
|
||||
</template>
|
||||
Reference in New Issue
Block a user