diff --git a/public/locales/en.json b/public/locales/en.json index 44e819a..29347d3 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -94,6 +94,9 @@ }, "Reset":{ "NavTitle": "Factory Reset" + }, + "Settings":{ + "NavTitle": "Global Settings" } } }, @@ -165,6 +168,17 @@ "PlexPoCredits": "And many thanks to the authors/developers and staff at Plex. We are eternally grateful for your dedication, talent and hard work! And to our friends at POEditor.com, who provide a free translation site because we are an Open-Source project.", "WikiDevelopers": "Wiki was made by:", "Wikitrumpy81": "Andy (aka trumpy81), a Plex community member (trumpy81 on GitHub)" + }, + "GlobalSettings": { + "Title": "Global Settings", + "Description": "Here you configure the global settings, that influence all modules", + "TimeOut": "Timeout when requesting info from PMS in sec", + "LogLevelFile": "What file log level to use (Change only if asked by the devs)", + "LogLevelConsole": "Console log level (Only used when developing)", + "LogSize": "Size of logfile, before rollover", + "RestartNeeded": "When changing this setting, a restart is needed" + + } } } \ No newline at end of file diff --git a/src/components/GlobalSettings.vue b/src/components/GlobalSettings.vue new file mode 100644 index 0000000..31a8e6b --- /dev/null +++ b/src/components/GlobalSettings.vue @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/src/components/layout/Menu.vue b/src/components/layout/Menu.vue index 334c1ef..dc1f3eb 100644 --- a/src/components/layout/Menu.vue +++ b/src/components/layout/Menu.vue @@ -53,6 +53,11 @@ import i18n from '../../i18n' title: i18n.t("Common.Menu.Sidebar.Language.NavTitle"), icon: 'fas fa-language' }, + { + href: '/settings', + title: i18n.t("Common.Menu.Sidebar.Settings.NavTitle"), + icon: 'fa fa-cog' + }, { href: { path: '/about' }, title: i18n.t("Common.Menu.Sidebar.About.NavTitle"), diff --git a/src/router/index.js b/src/router/index.js index 9a936cd..b78d59e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,6 +4,7 @@ import Login from '../components/Login.vue' import Home from '../components/Home.vue' import Export from '../components/modules/ExportTools/Export' import Language from '../components/Language.vue' +import GlobalSettings from '../components/GlobalSettings.vue' import About from '../components/About' import Store from '../store/index.js' import ExportSettings from '../components/modules/ExportTools/Settings/settings' @@ -50,6 +51,12 @@ Vue.use(VueRouter) component: Language, meta: {requiresAuth: true} }, + { + path: '/settings', + name: "settings", + component: GlobalSettings, + meta: {requiresAuth: true} + }, { path: '/about', name: "about",