- upgrade service to 1.8.1 from 1.8

- Landing page for Regular Licenses
- Legal pages for Regular Licenses
This commit is contained in:
Peter Papp
2021-01-17 16:21:49 +01:00
parent 973b301a46
commit a0c39bd955
20 changed files with 186 additions and 209 deletions
@@ -89,16 +89,16 @@ export default {
folderIconHandle(){
// If folder have set some color
if(this.data.folder_icon_color) {
if(this.data.icon_color) {
this.$nextTick(() => {
this.$refs[`folder${this.data.unique_id}`].firstElementChild.style.fill = `${this.data.folder_icon_color}`
this.$refs[`folder${this.data.unique_id}`].firstElementChild.style.fill = `${this.data.icon_color}`
})
return false
}
// If folder have set some emoji
if(this.data.folder_icon_emoji)
return JSON.parse(this.data.folder_icon_emoji).char
if(this.data.icon_emoji)
return JSON.parse(this.data.icon_emoji).char
},
...mapGetters({ allData: 'data' }),
@@ -91,16 +91,16 @@ export default {
folderIconHandle(){
// If folder have set some icon color
if(this.data.folder_icon_color) {
if(this.data.icon_color) {
this.$nextTick(() => {
this.$refs[`folder${this.data.unique_id}`].firstElementChild.style.fill = `${this.data.folder_icon_color}`
this.$refs[`folder${this.data.unique_id}`].firstElementChild.style.fill = `${this.data.icon_color}`
})
return false
}
// If folder have set some emoji
if(this.data.folder_icon_emoji)
return JSON.parse(this.data.folder_icon_emoji).char
if(this.data.icon_emoji)
return JSON.parse(this.data.icon_emoji).char
},
isClicked() {
@@ -5,11 +5,17 @@
:description="index.header_description"
></PageTitle>
<router-link class="sign-up-button" :to="{name: 'SignUp'}">
<!--User registration button-->
<router-link v-if="config.userRegistration" class="sign-up-button" :to="{name: 'SignUp'}">
<AuthButton class="button" icon="chevron-right" :text="$t('page_index.sign_up_button')" />
</router-link>
<div class="features">
<!--User login button-->
<router-link v-if="! config.userRegistration" class="sign-up-button" :to="{name: 'SignIn'}">
<AuthButton class="button" icon="chevron-right" :text="$t('page_index.menu.log_in')" />
</router-link>
<div class="features" v-if="config.isSaaS">
<div class="feature">
<credit-card-icon size="19" class="feature-icon"></credit-card-icon>
<b class="feature-title">{{ $t('page_index.sign_feature_1') }}</b>
@@ -50,6 +50,7 @@
computed: {
...mapGetters(['currentFolder']),
// TODO: revision
folderIconHandle(){
let icon = undefined
@@ -67,14 +68,14 @@
}
// If folder have already set some icon
if(!this.setFolderIcon && (this.item.folder_icon_emoji || this.item.folder_icon_color)){
if(!this.setFolderIcon && (this.item.icon_emoji || this.item.icon_color)){
if(this.item.folder_icon_emoji !== null)
icon = JSON.parse(this.item.folder_icon_emoji).char
if(this.item.icon_emoji !== null)
icon = JSON.parse(this.item.icon_emoji).char
if(this.item.folder_icon_color !== null){
if(this.item.icon_color !== null){
this.$nextTick(() => {
this.$refs.folderIcon.firstElementChild.style.fill = `${this.item.folder_icon_color}`
this.$refs.folderIcon.firstElementChild.style.fill = `${this.item.icon_color}`
})
icon = false
}
+1 -1
View File
@@ -26,7 +26,7 @@
"users": "Users"
},
"admin_page_dashboard": {
"backer_button": "成为支持者",
"backer_button": "Help Us Improve",
"license": "执照",
"version": "版",
"w_latest_users": {
+1 -1
View File
@@ -28,7 +28,7 @@
"users": "Users"
},
"admin_page_dashboard": {
"backer_button": "Become a Backer",
"backer_button": "Help Us Improve",
"license": "License",
"version": "Version",
"w_latest_users": {
+1 -1
View File
@@ -28,7 +28,7 @@
"users": "Uživatelia"
},
"admin_page_dashboard": {
"backer_button": "Staňte sa podporovateľom",
"backer_button": "Pomôžte nám zlepšiť sa",
"license": "Licencia",
"version": "Verzia",
"w_latest_users": {
+2 -2
View File
@@ -236,8 +236,8 @@ const mutations = {
state.data.find(item => {
if (item.unique_id == updatedFile.unique_id) {
item.name = updatedFile.name
item.folder_icon_color = updatedFile.folder_icon_color ? updatedFile.folder_icon_color : null
item.folder_icon_emoji = updatedFile.folder_icon_emoji ? updatedFile.folder_icon_emoji : null
item.icon_color = updatedFile.icon_color ? updatedFile.icon_color : null
item.icon_emoji = updatedFile.icon_emoji ? updatedFile.icon_emoji : null
}
})
},
+8 -8
View File
@@ -30,6 +30,14 @@
{{ $t('admin_menu.settings') }}
</div>
</router-link>
<router-link :to="{name: 'Pages'}" class="menu-list-item link">
<div class="icon">
<monitor-icon size="17"></monitor-icon>
</div>
<div class="label">
{{ $t('admin_menu.pages') }}
</div>
</router-link>
</div>
</ContentGroup>
@@ -52,14 +60,6 @@
{{ $t('admin_menu.invoices') }}
</div>
</router-link>
<router-link :to="{name: 'Pages'}" class="menu-list-item link">
<div class="icon">
<monitor-icon size="17"></monitor-icon>
</div>
<div class="label">
{{ $t('admin_menu.pages') }}
</div>
</router-link>
</div>
</ContentGroup>
</ContentSidebar>
@@ -48,7 +48,7 @@
</div>
</router-link>
<router-link v-if="config.isSaaS" replace :to="{name: 'AppIndex'}" class="menu-list-item link">
<router-link replace :to="{name: 'AppIndex'}" class="menu-list-item link">
<div class="icon">
<home-icon size="17"></home-icon>
</div>
@@ -162,7 +162,7 @@
</div>
<!--Pricing Content-->
<div>
<div v-if="config.isSaaS">
<FormLabel class="mt-70">Pricing Content</FormLabel>
<div class="block-wrapper">
@@ -183,7 +183,6 @@
</div>
</div>
<div v-if="section_pricing_content">
<div class="block-wrapper">
<img src="/assets/images/admin/pricing-content.jpg" alt="Main Features" class="page-image">
@@ -290,6 +289,7 @@
import InfoBox from '@/components/Others/Forms/InfoBox'
import {required} from 'vee-validate/dist/rules'
import axios from 'axios'
import { mapGetters } from 'vuex'
export default {
name: 'AppIndex',
@@ -308,6 +308,9 @@
PageTab,
InfoBox,
},
computed: {
...mapGetters(['config']),
},
data() {
return {
isLoading: true,
+4 -4
View File
@@ -22,7 +22,7 @@
{{ data.license }}
</ColorLabel>
</a>
<a v-if="! config.isDemo" href="https://vuefilemanager.com/become-a-backer" target="_blank" class="became-backer">
<a href="https://bit.ly/VueFileManager-survey" target="_blank" class="became-backer">
<div class="icon">
<credit-card-icon size="15"></credit-card-icon>
</div>
@@ -177,7 +177,7 @@
}
.became-backer {
background: rgba($yellow, 0.1);
background: rgba($theme, 0.1);
display: inline-block;
padding: 5px 10px;
border-radius: 6px;
@@ -194,12 +194,12 @@
line-height: 0;
rect, line {
stroke: $yellow;
stroke: $theme;
}
}
.content {
color: $yellow;
color: $theme;
font-weight: 700;
@include font-size(14);
}
+1 -1
View File
@@ -53,7 +53,7 @@
</div>
<div>
<i18n v-if="config.isSaaS" path="page_registration.agreement" tag="p" class="legal-agreement">
<i18n path="page_registration.agreement" tag="p" class="legal-agreement">
<router-link :to="{name: 'DynamicPage', params: {slug: 'terms-of-service'}}" target="_blank">{{ termsOfService.title }}</router-link>
<router-link :to="{name: 'DynamicPage', params: {slug: 'privacy-policy'}}" target="_blank">{{ privacyPolicy.title }}</router-link>
</i18n>
+1 -7
View File
@@ -14,7 +14,7 @@
<MainFeatures />
<!--Pricing Tables-->
<PricingTables />
<PricingTables v-if="config.isSaaS" />
<!--Get Started Call To Action-->
<GetStarted />
@@ -60,13 +60,7 @@
isLoading: true,
}
},
beforeMount() {
if (! this.config.isSaaS) {
this.$router.push({name: 'SignIn'})
}
},
mounted() {
if (! this.config.isSaaS) return
// Get page content
axios.get('/api/content', {