Files
cloudron-box/dashboard/src/views/ProxyAuthView.vue
T

39 lines
725 B
Vue
Raw Normal View History

2025-07-16 16:16:06 +02:00
<script setup>
import Button from '@cloudron/pankow/components/Button.vue';
2025-07-16 16:16:06 +02:00
// coming from proxyauth.html template
const name = window.cloudron.name;
const iconUrl = window.cloudron.iconUrl;
const loginUrl = window.cloudron.loginUrl;
</script>
<template>
<div class="main">
2025-07-16 16:16:06 +02:00
<div>
<img :src="iconUrl" /><br/>
2025-07-16 16:16:06 +02:00
<small>{{ $t('login.loginTo') }}</small>
<h1>{{ name }}</h1>
<br/>
<Button id="loginProceedButton" :href="loginUrl">{{ $t('login.signInAction') }}</Button>
2025-07-16 16:16:06 +02:00
</div>
</div>
2025-07-16 16:16:06 +02:00
</template>
<style scoped>
.main {
text-align: center;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
img {
width: 128px;
margin-bottom: 20px;
}
</style>