- added not found page

- Fixed admin menu in regular license
- allow_homepage default setting in regular license
- frontend build
This commit is contained in:
Peter Papp
2021-03-21 11:16:36 +01:00
parent db57bde4fc
commit a90311593b
6 changed files with 30 additions and 12 deletions
+4
View File
@@ -168,5 +168,9 @@ return [
'name' => 'footer_content', 'name' => 'footer_content',
'value' => '© 2021 Simple & Powerful Personal Cloud Storage. Developed by <a href="https://hi5ve.digital" target="_blank">Hi5Ve.Digital</a>', 'value' => '© 2021 Simple & Powerful Personal Cloud Storage. Developed by <a href="https://hi5ve.digital" target="_blank">Hi5Ve.Digital</a>',
], ],
[
'name' => 'allow_homepage',
'value' => 1,
],
], ],
]; ];
+1 -1
View File
@@ -2,7 +2,7 @@
return [ return [
'version' => '1.8.2.2', 'version' => '1.8.2.3',
// Define size of chunk uploaded by MB. E.g. integer 128 means chunk size will be 128MB. // Define size of chunk uploaded by MB. E.g. integer 128 means chunk size will be 128MB.
'chunk_size' => env('CHUNK_SIZE', '128'), 'chunk_size' => env('CHUNK_SIZE', '128'),
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"/chunks/files~chunks/shared-files~chunks/shared-page.js": "/chunks/files~chunks/shared-files~chunks/shared-page.js?id=74636ea45210d3b31adf", "/chunks/files~chunks/shared-files~chunks/shared-page.js": "/chunks/files~chunks/shared-files~chunks/shared-page.js?id=74636ea45210d3b31adf",
"/js/main.js": "/js/main.js?id=8320a874b65b19b39460", "/js/main.js": "/js/main.js?id=4c6692bd2b1bf818d332",
"/css/app.css": "/css/app.css?id=dfd52fc997b919cd3686", "/css/app.css": "/css/app.css?id=dfd52fc997b919cd3686",
"/chunks/admin.js": "/chunks/admin.js?id=7672646537b5813becf0", "/chunks/admin.js": "/chunks/admin.js?id=7672646537b5813becf0",
"/chunks/admin-account.js": "/chunks/admin-account.js?id=3f5a34aa8341af8d2b4c", "/chunks/admin-account.js": "/chunks/admin-account.js?id=3f5a34aa8341af8d2b4c",
+12
View File
@@ -625,6 +625,17 @@ const routesIndex = [
}, },
}, },
] ]
const routesOthers = [
{
name: 'NotFound',
path: '*',
component: () =>
import(/* webpackChunkName: "chunks/not-found-shared" */ './views/Shared/NotFoundShared'),
meta: {
requiresAuth: false
},
},
]
const router = new Router({ const router = new Router({
mode: 'history', mode: 'history',
@@ -635,6 +646,7 @@ const router = new Router({
...routesIndex, ...routesIndex,
...routesAuth, ...routesAuth,
...routesUser, ...routesUser,
...routesOthers,
], ],
scrollBehavior(to, from, savedPosition) { scrollBehavior(to, from, savedPosition) {
if (savedPosition) { if (savedPosition) {
+11 -9
View File
@@ -13,9 +13,8 @@
<b class="mobile-menu-label">{{ $t('global.admin') }}</b> <b class="mobile-menu-label">{{ $t('global.admin') }}</b>
<MenuItemList :navigation="AdminNavigation" /> <MenuItemList :navigation="AdminNavigation" />
<!--SaaS menu--> <b v-if="config.isSaaS" class="mobile-menu-label">{{ $t('global.saas') }}</b>
<b class="mobile-menu-label">{{ $t('global.saas') }}</b> <MenuItemList v-if="config.isSaaS" :navigation="SassNavigation" />
<MenuItemList :navigation="SassNavigation" />
</nav> </nav>
</div> </div>
</div> </div>
@@ -33,6 +32,9 @@
MenuItemList, MenuItemList,
MobileHeader, MobileHeader,
}, },
computed: {
...mapGetters(['config']),
},
data() { data() {
return { return {
AdminNavigation: [ AdminNavigation: [
@@ -54,6 +56,12 @@
routeName: 'AppOthers', routeName: 'AppOthers',
isVisible: true, isVisible: true,
}, },
{
icon: 'monitor',
title: this.$t('admin_menu.pages'),
routeName: 'Pages',
isVisible: true,
},
], ],
SassNavigation: [ SassNavigation: [
{ {
@@ -68,12 +76,6 @@
routeName: 'Invoices', routeName: 'Invoices',
isVisible: true, isVisible: true,
}, },
{
icon: 'monitor',
title: this.$t('admin_menu.pages'),
routeName: 'Pages',
isVisible: true,
},
] ]
} }
}, },