add whirpool to restore view

This commit is contained in:
Girish Ramakrishnan
2025-10-06 20:25:46 +02:00
parent e6cdd1ed7a
commit 7fae0751b9
3 changed files with 130 additions and 136 deletions
+2 -122
View File
@@ -7,6 +7,7 @@ import { redirectIfNeeded } from '../utils.js';
import DomainsModel from '../models/DomainsModel.js';
import ProvisionModel from '../models/ProvisionModel.js';
import DomainProviderForm from '../components/DomainProviderForm.vue';
import Whirlpool from '../components/Whirlpool.vue';
const provisionModel = ProvisionModel.create();
@@ -173,17 +174,7 @@ onMounted(async () => {
<Transition name="fade-scale" mode="out-in">
<div class="view" v-if="waitingForDnsSetup" style="max-width: unset; height: 100%;">
<div style="display: flex; flex-direction: column; height: 100%; align-items: center;">
<div class="whirlpool" v-if="waitingForDnsSetup">
<div class="ring ring1"></div>
<div class="ring ring2"></div>
<div class="ring ring3"></div>
<div class="ring ring4"></div>
<div class="ring ring5"></div>
<div class="ring ring6"></div>
<div class="ring ring7"></div>
<div class="ring ring8"></div>
<div class="ring ring9"></div>
</div>
<Whirlpool v-if="waitingForDnsSetup"/>
<h1>Please wait while Cloudron is setting up the dashboard ...</h1>
<h4 style="margin-top: 0">{{ progressMessage }}</h4>
<small>You can follow the logs on the server at <code @click="onCopyToClipboard('/home/yellowtent/platformdata/logs/box.log')">/home/yellowtent/platformdata/logs/box.log</code></small>
@@ -281,115 +272,4 @@ onMounted(async () => {
font-size: 0.9em;
}
.whirlpool {
width: 100px;
height: 100px;
margin: 100px auto;
position: relative;
}
.ring:before
{
content: '';
border-radius: 50%;
border: 1px solid #096dbd;
height: 30px;
width: 100px;
position: absolute;
}
.ring1:before
{
left: 40px;
width: 20px;
top: 12px;
height: 6px;
animation: 2.5s ease 0s infinite spinner;
}
.ring2:before
{
left: 35px;
width: 30px;
top: 10.5px;
height: 9px;
animation: 2.5s ease 0.1s infinite spinner;
}
.ring3:before
{
left: 30px;
width: 40px;
top: 9px;
height: 12px;
animation: 2.5s ease 0.2s infinite spinner;
}
.ring4:before
{
left: 25px;
width: 50px;
top: 7.5px;
height: 15px;
animation: 2.5s ease 0.3s infinite spinner;
}
.ring5:before
{
left: 20px;
width: 60px;
top: 6px;
height: 18px;
animation: 2.5s ease 0.4s infinite spinner;
}
.ring6:before
{
left: 15px;
width: 70px;
top: 4.5px;
height: 21px;
animation: 2.5s ease 0.5s infinite spinner;
}
.ring7:before
{
left: 10px;
width: 80px;
top: 3px;
height: 24px;
animation: 2.5s ease 0.6s infinite spinner;
}
.ring8:before
{
left: 5px;
width: 90px;
top: 1.5px;
height: 27px;
animation: 2.5s ease 0.7s infinite spinner;
}
.ring9:before
{
width: 100px;
height: 30px;
animation: 2.5s ease 0.8s infinite spinner;
}
@keyframes spinner {
0% {
transform: translateY(10px);
animation-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
50% {
transform: translateY(60px);
animation-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
100% {
transform: translateY(10px);
animation-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
}
</style>