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">
|
||||
{{ 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"
|
||||
:src="file.path_string"
|
||||
:alt="item.name"
|
||||
class="rounded-lg object-cover"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="w-3/4 ltr:pl-8 rtl:pr-8">
|
||||
<span class="font-medium">{{ item.name }}</span>
|
||||
<div class="text-black-300 text-sm my-2 line-clamp-2 h-10"
|
||||
v-html="item.description"></div>
|
||||
<span class="font-medium">
|
||||
{{ item.name }}
|
||||
</span>
|
||||
|
||||
<div class="text-black-300 text-sm my-2 line-clamp-2 h-10" v-html="item.description"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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()">
|
||||
{{ 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">
|
||||
{{ translations.finish.apps_managing }}
|
||||
</div>
|
||||
|
||||
<div style="width:372px; height:372px;"></div>
|
||||
|
||||
<img :src="image_src" class="absolute top-0 right-2" alt="" />
|
||||
</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()">
|
||||
{{ translations.finish.create_first_invoice }}
|
||||
</base-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -123,9 +130,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@media only screen and (max-width: 991px) {
|
||||
[modal-container] {
|
||||
height: 100% !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 991px) {
|
||||
[modal-container] {
|
||||
height: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -1,72 +1,88 @@
|
||||
<template>
|
||||
<div>
|
||||
<nav aria-label="Progress">
|
||||
<ol role="list" class="flex mb-10">
|
||||
<li class="w-1/4">
|
||||
<span class="pr-6 flex flex-col">
|
||||
<span
|
||||
: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>
|
||||
<span :class="[{'font-bold': active_state == 0}, {'font-bold': active_state > 0}]" class="text-sm font-normal mt-2">{{ translations.company.title }}</span>
|
||||
</span>
|
||||
</li>
|
||||
<div>
|
||||
<nav aria-label="Progress">
|
||||
<ol role="list" class="flex mb-10">
|
||||
<li class="w-1/4">
|
||||
<span class="pr-6 flex flex-col">
|
||||
<span
|
||||
: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>
|
||||
|
||||
<li class="w-1/4">
|
||||
<span class="px-3 flex flex-col">
|
||||
<span
|
||||
: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>
|
||||
<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>
|
||||
<span :class="[{'font-bold': active_state == 0}, {'font-bold': active_state > 0}]" class="text-sm font-normal mt-2">
|
||||
{{ translations.company.title }}
|
||||
</span>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<li class="w-1/4">
|
||||
<span class="px-3 flex flex-col">
|
||||
<span
|
||||
:class="[{'bg-purple': active_state > 2}, {'bg-purple': active_state == 2}]"
|
||||
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="px-3 flex flex-col">
|
||||
<span
|
||||
: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>
|
||||
|
||||
<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>
|
||||
<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">
|
||||
<span class="px-3 flex flex-col">
|
||||
<span
|
||||
:class="[{'bg-purple': active_state > 2}, {'bg-purple': active_state == 2}]"
|
||||
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>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Steps",
|
||||
export default {
|
||||
name: "Steps",
|
||||
|
||||
components: {},
|
||||
components: {},
|
||||
|
||||
props: {
|
||||
active_state: {
|
||||
type: [Boolean, String, Number],
|
||||
}
|
||||
},
|
||||
props: {
|
||||
active_state: {
|
||||
type: [Boolean, String, Number],
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.translations = wizard_translations;
|
||||
},
|
||||
created() {
|
||||
this.translations = wizard_translations;
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
translations: {
|
||||
company: {},
|
||||
currencies: {},
|
||||
taxes: {},
|
||||
finish: {},
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
data() {
|
||||
return {
|
||||
translations: {
|
||||
company: {},
|
||||
currencies: {},
|
||||
taxes: {},
|
||||
finish: {},
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user