Make the proxyauth login visually distinctive from oidc login

This commit is contained in:
Johannes Zellner
2025-07-16 18:07:13 +02:00
parent 7214ce2ede
commit 3754021ae8
3 changed files with 21 additions and 7 deletions
+21 -5
View File
@@ -1,23 +1,39 @@
<script setup>
import Button from '@cloudron/pankow/components/Button.vue';
import PublicPageLayout from '../components/PublicPageLayout.vue';
// coming from proxyauth.html template
const name = window.cloudron.name;
const iconUrl = window.cloudron.iconUrl;
const footer = window.cloudron.footer;
const loginUrl = window.cloudron.loginUrl;
</script>
<template>
<PublicPageLayout :footerHtml="footer" :icon-url="iconUrl">
<div class="main">
<div>
<img :src="iconUrl" /><br/>
<small>{{ $t('login.loginTo') }}</small>
<h1>{{ name }}</h1>
<br/>
<Button style="margin-right: 6px" id="loginProceedButton" :href="loginUrl">{{ $t('login.signInAction') }}</Button>
<Button id="loginProceedButton" :href="loginUrl">{{ $t('login.signInAction') }}</Button>
</div>
</PublicPageLayout>
</div>
</template>
<style scoped>
.main {
text-align: center;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
img {
width: 128px;
margin-bottom: 20px;
}
</style>