feat(web-ui): add logout (#5121)
This commit is contained in:
41
src_assets/common/assets/web/logout.html
Normal file
41
src_assets/common/assets/web/logout.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="auto">
|
||||
|
||||
<head>
|
||||
<%- header %>
|
||||
</head>
|
||||
|
||||
<body id="app" v-cloak>
|
||||
<div class="container py-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-body text-center">
|
||||
<img src="/images/logo-sunshine-45.png" height="45" alt="Sunshine" class="mb-3">
|
||||
<h1 class="h3 mb-3">{{ $t('logout.logged_out') }}</h1>
|
||||
<p class="text-muted mb-4">{{ $t('logout.logged_out_desc') }}</p>
|
||||
<a class="btn btn-primary" href="./">
|
||||
<log-in :size="18" class="icon"></log-in>
|
||||
{{ $t('logout.login') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="module">
|
||||
import { createApp } from 'vue'
|
||||
import { initApp } from './init'
|
||||
import { LogIn } from 'lucide-vue-next'
|
||||
|
||||
const app = createApp({
|
||||
components: {
|
||||
LogIn,
|
||||
},
|
||||
});
|
||||
|
||||
initApp(app);
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user