akaunting 3.0 (the last dance)
This commit is contained in:
@@ -1,102 +1,65 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1 class="text-white">{{ translations.finish.title }}</h1>
|
||||
<div class="card">
|
||||
<div class="card-header wizard-header p-3">
|
||||
<el-steps :active="active" finish-status="success" align-center>
|
||||
<el-step :title="translations.company.title"></el-step>
|
||||
<el-step :title="translations.currencies.title"></el-step>
|
||||
<el-step :title="translations.taxes.title"></el-step>
|
||||
<el-step :title="translations.finish.title"></el-step>
|
||||
</el-steps>
|
||||
</div>
|
||||
<div class="card-body bg-default">
|
||||
<div class="document-loading" v-if="pageLoad">
|
||||
<div>
|
||||
<i class="fas fa-spinner fa-pulse fa-7x"></i>
|
||||
</div>
|
||||
<div class="relative bg-body z-10 rounded-lg shadow-2xl py-10 ltr:pl-10 rtl:pr-10 overflow-hidden">
|
||||
<div class="pr-10">
|
||||
<WizardSteps :active_state="active"></WizardSteps>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12 col-lg-12 col-xl-12">
|
||||
<div class="content-header">
|
||||
<h3 class="text-white">
|
||||
{{ translations.finish.recommended_apps }}
|
||||
</h3>
|
||||
|
||||
<div class="flex flex-col justify-between" style="height:565px;">
|
||||
<div v-if="pageLoad" class="absolute left-0 right-0 top-0 bottom-0 w-full h-full bg-white rounded-lg flex items-center justify-center z-50">
|
||||
<span class="material-icons form-spin text-lg animate-spin text-9xl">data_usage</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div
|
||||
v-for="(item, index) in modules"
|
||||
:key="index"
|
||||
class="col-md-3"
|
||||
>
|
||||
<div class="card">
|
||||
<div class="card-header py-2">
|
||||
<h4 class="ml--3 mb-0 float-left">
|
||||
<a :href="route_url + '/apps/' + item.slug">{{ item.name }}</a>
|
||||
</h4>
|
||||
</div>
|
||||
<a :href="route_url + '/apps/' + item.slug"
|
||||
><img
|
||||
v-for="(file, indis) in item.files"
|
||||
:key="indis"
|
||||
v-if="
|
||||
file.media_type == 'image' &&
|
||||
file.pivot.zone == 'thumbnail'
|
||||
"
|
||||
:src="file.path_string"
|
||||
:alt="item.name"
|
||||
class="card-img-top border-radius-none"
|
||||
/></a>
|
||||
<div class="card-footer py-2">
|
||||
<div class="float-left ml--3 mt--1">
|
||||
<i
|
||||
v-for="(stars, indis) in item.vote"
|
||||
:key="indis"
|
||||
class="fa fa-star text-xs text-yellow"
|
||||
></i>
|
||||
<small class="text-xs"> {{ item.total_review }} </small>
|
||||
|
||||
<div class="flex mt-6">
|
||||
<div class="w-full lg:w-1/2 ltr:pr-10 rtl:pl-10 mt-3">
|
||||
<div class="grid sm:grid-cols-6">
|
||||
<h1 class="sm:col-span-6 text-black-300 mb-2">
|
||||
{{ translations.finish.recommended_apps }}
|
||||
</h1>
|
||||
<div v-for="(item, index) in modules" :key="index" class="sm:col-span-6 mb-6">
|
||||
<a :href="route_url + '/apps/' + item.slug" class="flex items-center">
|
||||
<div class="w-1/4">
|
||||
<img v-for="(file, indis) in item.files" :key="indis" v-if="file.media_type == 'image' && file.pivot.zone == 'thumbnail'"
|
||||
:src="file.path_string"
|
||||
:alt="item.name"
|
||||
class="rounded-lg object-cover"
|
||||
/>
|
||||
</div>
|
||||
<div class="w-3/4 lg:ltr:pl-8 lg:rtl:pr-8">
|
||||
<span class="font-medium">{{ item.name }}</span>
|
||||
<div class="text-black-300 text-sm my-2" style="overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;"
|
||||
v-html="item.description"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="float-right mr--3">
|
||||
<small
|
||||
><strong> {{ item.price }} </strong></small
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative w-1/2 right-0 ltr:pl-10 rtl:pr-10 mt-3 hidden: lg:flex lg:flex-col">
|
||||
<div class="bg-purple rounded-tl-lg rounded-bl-lg p-6">
|
||||
<div class="w-48 text-white rtl:float-left rtl:text-left text-2xl font-semibold leading-9">
|
||||
{{ translations.finish.apps_managing }}
|
||||
</div>
|
||||
<div style="width:372px; height:372px;"></div>
|
||||
<img :src="image_src" class="absolute top-0 right-2 top-12" alt="" />
|
||||
</div>
|
||||
<base-button class="flex items-center justify-center text-base rounded-lg disabled:opacity-50 relative m-auto bottom-40 bg-white hover:bg-gray-100 text-purple rounded-md py-3 px-5 font-semibold btn-default" @click="finish()">
|
||||
{{ translations.finish.go_to_dashboard }}
|
||||
</base-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12"><ul></ul></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-12 d-flex justify-content-between">
|
||||
<base-button type="white" native-type="submit" @click="prev()">{{
|
||||
translations.finish.previous
|
||||
}}</base-button>
|
||||
<base-button
|
||||
type="success"
|
||||
native-type="submit"
|
||||
@click="finish()"
|
||||
>{{ translations.finish.go_to_dashboard }}</base-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Step, Steps } from "element-ui";
|
||||
import WizardSteps from "./Steps.vue";
|
||||
|
||||
export default {
|
||||
name: "Finish",
|
||||
|
||||
components: {
|
||||
[Step.name]: Step,
|
||||
[Steps.name]: Steps,
|
||||
WizardSteps
|
||||
},
|
||||
|
||||
props: {
|
||||
@@ -117,6 +80,7 @@ export default {
|
||||
return {
|
||||
active: 3,
|
||||
route_url: url,
|
||||
image_src: app_url + "/public/img/wizard-modules.png",
|
||||
};
|
||||
},
|
||||
|
||||
@@ -131,7 +95,7 @@ export default {
|
||||
this.$notify({
|
||||
message: this.translations.finish.error_message,
|
||||
timeout: 1000,
|
||||
icon: "fas fa-bell",
|
||||
icon: "",
|
||||
type: 0
|
||||
});
|
||||
|
||||
@@ -151,4 +115,4 @@ export default {
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
</script>
|
Reference in New Issue
Block a user