1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00
This commit is contained in:
Donald Zou 2024-11-03 19:09:15 +08:00
parent b97fc16ad9
commit c53a7ef6fe
6 changed files with 71 additions and 74 deletions

View File

@ -1 +1 @@
.dropdownIcon[data-v-626f1988]{transition:all .2s ease-in-out}.dropdownIcon.active[data-v-626f1988]{transform:rotate(180deg)}.steps{&[data-v-e5d78cfb]{transition:all .3s ease-in-out;opacity:.3}&.active[data-v-e5d78cfb]{opacity:1}} .dropdownIcon[data-v-626f1988]{transition:all .2s ease-in-out}.dropdownIcon.active[data-v-626f1988]{transform:rotate(180deg)}.steps{&[data-v-452caf5e]{transition:all .3s ease-in-out;opacity:.3}&.active[data-v-452caf5e]{opacity:1}}

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ import {createApp, markRaw} from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router/router.js'
import {DashboardConfigurationStore} from "@/stores/DashboardConfigurationStore.js"; import {DashboardConfigurationStore} from "@/stores/DashboardConfigurationStore.js";
import {fetchGet} from "@/utilities/fetch.js"; import {fetchGet} from "@/utilities/fetch.js";

View File

@ -1,4 +1,4 @@
import router from "@/router/index.js"; import router from "@/router/router.js";
import {DashboardConfigurationStore} from "@/stores/DashboardConfigurationStore.js"; import {DashboardConfigurationStore} from "@/stores/DashboardConfigurationStore.js";
const getHeaders = () => { const getHeaders = () => {

View File

@ -29,13 +29,12 @@ const selectedConfiguration = ref("")
<LocaleText t="Restore Configuration"></LocaleText> <LocaleText t="Restore Configuration"></LocaleText>
</h2> </h2>
</div> </div>
<div v-if="backups" > <Transition name="fade" appear>
<div v-if="backups">
<div class="d-flex mb-5 align-items-center steps" role="button" <div class="d-flex mb-5 align-items-center steps" role="button"
:class="{active: !confirm}" :class="{active: !confirm}"
@click="confirm = false" key="step1"> @click="confirm = false" key="step1">
<div class=" d-flex text-decoration-none text-body flex-grow-1 align-items-center gap-3" <div class=" d-flex text-decoration-none text-body flex-grow-1 align-items-center gap-3">
>
<h1 class="mb-0" <h1 class="mb-0"
style="line-height: 0"> style="line-height: 0">
<i class="bi bi-1-circle-fill"></i> <i class="bi bi-1-circle-fill"></i>
@ -103,9 +102,7 @@ const selectedConfiguration = ref("")
</div> </div>
<ConfirmBackup :selectedConfigurationBackup="selectedConfigurationBackup" v-if="confirm" key="confirm"></ConfirmBackup> <ConfirmBackup :selectedConfigurationBackup="selectedConfigurationBackup" v-if="confirm" key="confirm"></ConfirmBackup>
</div> </div>
</Transition>
</div> </div>
</div> </div>
</template> </template>