wizard file update..
This commit is contained in:
parent
189f4f3827
commit
066927599a
@ -15,23 +15,28 @@
|
|||||||
<h1 class="sm:col-span-6 text-black-300 mb-2">
|
<h1 class="sm:col-span-6 text-black-300 mb-2">
|
||||||
{{ translations.finish.recommended_apps }}
|
{{ translations.finish.recommended_apps }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div v-for="(item, index) in modules" :key="index" class="sm:col-span-6 mb-6">
|
<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">
|
<a :href="route_url + '/apps/' + item.slug" class="flex items-center">
|
||||||
<div class="w-1/4">
|
<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'"
|
<img v-for="(file, indis) in item.files" :key="indis" v-if="file.media_type == 'image' && file.pivot.zone == 'thumbnail'"
|
||||||
:src="file.path_string"
|
:src="file.path_string"
|
||||||
:alt="item.name"
|
:alt="item.name"
|
||||||
class="rounded-lg object-cover"
|
class="rounded-lg object-cover"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-3/4 ltr:pl-8 rtl:pr-8">
|
<div class="w-3/4 ltr:pl-8 rtl:pr-8">
|
||||||
<span class="font-medium">{{ item.name }}</span>
|
<span class="font-medium">
|
||||||
<div class="text-black-300 text-sm my-2 line-clamp-2 h-10"
|
{{ item.name }}
|
||||||
v-html="item.description"></div>
|
</span>
|
||||||
|
|
||||||
|
<div class="text-black-300 text-sm my-2 line-clamp-2 h-10" v-html="item.description"></div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="lg:hidden">
|
<div class="lg:hidden">
|
||||||
<base-button class="btn flex items-center justify-center text-base disabled:opacity-50 relative mt-5 mx-auto bg-green hover:bg-gray-100 text-white rounded-md py-3 px-5 font-semibold" @click="finish()">
|
<base-button class="btn flex items-center justify-center text-base disabled:opacity-50 relative mt-5 mx-auto bg-green hover:bg-gray-100 text-white rounded-md py-3 px-5 font-semibold" @click="finish()">
|
||||||
{{ translations.finish.create_first_invoice }}
|
{{ translations.finish.create_first_invoice }}
|
||||||
@ -44,14 +49,16 @@
|
|||||||
<div class="w-48 text-white rtl:float-left rtl:text-left text-2xl font-semibold leading-9">
|
<div class="w-48 text-white rtl:float-left rtl:text-left text-2xl font-semibold leading-9">
|
||||||
{{ translations.finish.apps_managing }}
|
{{ translations.finish.apps_managing }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="width:372px; height:372px;"></div>
|
<div style="width:372px; height:372px;"></div>
|
||||||
|
|
||||||
<img :src="image_src" class="absolute top-0 right-2" alt="" />
|
<img :src="image_src" class="absolute top-0 right-2" alt="" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<base-button class="flex items-center justify-center text-base rounded-lg disabled:opacity-50 relative m-auto bottom-48 bg-white hover:bg-gray-100 text-purple rounded-md py-3 px-5 font-semibold btn-default" @click="finish()">
|
<base-button class="flex items-center justify-center text-base rounded-lg disabled:opacity-50 relative m-auto bottom-48 bg-white hover:bg-gray-100 text-purple rounded-md py-3 px-5 font-semibold btn-default" @click="finish()">
|
||||||
{{ translations.finish.create_first_invoice }}
|
{{ translations.finish.create_first_invoice }}
|
||||||
</base-button>
|
</base-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -123,9 +130,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@media only screen and (max-width: 991px) {
|
@media only screen and (max-width: 991px) {
|
||||||
[modal-container] {
|
[modal-container] {
|
||||||
height: 100% !important;
|
height: 100% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,72 +1,88 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<nav aria-label="Progress">
|
<nav aria-label="Progress">
|
||||||
<ol role="list" class="flex mb-10">
|
<ol role="list" class="flex mb-10">
|
||||||
<li class="w-1/4">
|
<li class="w-1/4">
|
||||||
<span class="pr-6 flex flex-col">
|
<span class="pr-6 flex flex-col">
|
||||||
<span
|
<span
|
||||||
:class="[{'bg-purple': active_state > 0}, {'bg-purple': active_state == 0}]"
|
:class="[{'bg-purple': active_state > 0}, {'bg-purple': active_state == 0}]"
|
||||||
class="w-full h-1 bg-gray-300 rounded-xl text-transparent">Text</span>
|
class="w-full h-1 bg-gray-300 rounded-xl text-transparent"
|
||||||
<span :class="[{'font-bold': active_state == 0}, {'font-bold': active_state > 0}]" class="text-sm font-normal mt-2">{{ translations.company.title }}</span>
|
>Text</span>
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="w-1/4">
|
<span :class="[{'font-bold': active_state == 0}, {'font-bold': active_state > 0}]" class="text-sm font-normal mt-2">
|
||||||
<span class="px-3 flex flex-col">
|
{{ translations.company.title }}
|
||||||
<span
|
</span>
|
||||||
:class="[{'bg-purple': active_state > 1}, {'bg-purple': active_state == 1}]"
|
</span>
|
||||||
class="w-full h-1 bg-gray-300 rounded-xl text-transparent">Text</span>
|
</li>
|
||||||
<span :class="[{'font-bold': active_state == 1}, {'font-bold': active_state > 1}]" class="text-sm font-normal mt-2">{{ translations.currencies.title }}</span>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="w-1/4">
|
<li class="w-1/4">
|
||||||
<span class="px-3 flex flex-col">
|
<span class="px-3 flex flex-col">
|
||||||
<span
|
<span
|
||||||
:class="[{'bg-purple': active_state > 2}, {'bg-purple': active_state == 2}]"
|
:class="[{'bg-purple': active_state > 1}, {'bg-purple': active_state == 1}]"
|
||||||
class="w-full h-1 bg-gray-300 rounded-xl text-transparent">Text</span>
|
class="w-full h-1 bg-gray-300 rounded-xl text-transparent"
|
||||||
<span :class="[{'font-bold': active_state == 2}, {'font-bold': active_state > 2}]" class="text-sm font-normal mt-2">{{ translations.taxes.title }}</span>
|
>Text</span>
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="w-1/4">
|
<span :class="[{'font-bold': active_state == 1}, {'font-bold': active_state > 1}]" class="text-sm font-normal mt-2">
|
||||||
<span class="pl-6 flex flex-col">
|
{{ translations.currencies.title }}
|
||||||
<span
|
</span>
|
||||||
:class="[{'bg-purple': active_state == 3}]"
|
</span>
|
||||||
class="w-full h-1 bg-gray-300 rounded-xl text-transparent">Text</span>
|
</li>
|
||||||
<span :class="[{'font-bold': active_state == 3}]" class="text-sm font-normal mt-2">{{ translations.finish.title }}</span>
|
|
||||||
</span>
|
<li class="w-1/4">
|
||||||
</li>
|
<span class="px-3 flex flex-col">
|
||||||
</ol>
|
<span
|
||||||
</nav>
|
:class="[{'bg-purple': active_state > 2}, {'bg-purple': active_state == 2}]"
|
||||||
</div>
|
class="w-full h-1 bg-gray-300 rounded-xl text-transparent"
|
||||||
|
>Text</span>
|
||||||
|
|
||||||
|
<span :class="[{'font-bold': active_state == 2}, {'font-bold': active_state > 2}]" class="text-sm font-normal mt-2">
|
||||||
|
{{ translations.taxes.title }}
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="w-1/4">
|
||||||
|
<span class="pl-6 flex flex-col">
|
||||||
|
<span
|
||||||
|
:class="[{'bg-purple': active_state == 3}]"
|
||||||
|
class="w-full h-1 bg-gray-300 rounded-xl text-transparent"
|
||||||
|
>Text</span>
|
||||||
|
|
||||||
|
<span :class="[{'font-bold': active_state == 3}]" class="text-sm font-normal mt-2">
|
||||||
|
{{ translations.finish.title }}
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "Steps",
|
name: "Steps",
|
||||||
|
|
||||||
components: {},
|
components: {},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
active_state: {
|
active_state: {
|
||||||
type: [Boolean, String, Number],
|
type: [Boolean, String, Number],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.translations = wizard_translations;
|
this.translations = wizard_translations;
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
translations: {
|
translations: {
|
||||||
company: {},
|
company: {},
|
||||||
currencies: {},
|
currencies: {},
|
||||||
taxes: {},
|
taxes: {},
|
||||||
finish: {},
|
finish: {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
Loading…
x
Reference in New Issue
Block a user