mirror of https://github.com/ErsatzTV/ErsatzTV.git
20 changed files with 265 additions and 260 deletions
@ -0,0 +1,5 @@ |
|||||||
|
{ |
||||||
|
"semi": true, |
||||||
|
"singleQuote": true, |
||||||
|
"trailingComma": "none" |
||||||
|
} |
||||||
@ -1,3 +1,3 @@ |
|||||||
module.exports = { |
module.exports = { |
||||||
presets: ["@vue/cli-plugin-babel/preset"], |
presets: ['@vue/cli-plugin-babel/preset'] |
||||||
}; |
}; |
||||||
|
|||||||
@ -1,28 +1,28 @@ |
|||||||
import Vue from "vue"; |
import Vue from 'vue'; |
||||||
import Vuetify from "vuetify/lib/framework"; |
import Vuetify from 'vuetify/lib/framework'; |
||||||
import colors from "vuetify/lib/util/colors"; |
import colors from 'vuetify/lib/util/colors'; |
||||||
|
|
||||||
Vue.use(Vuetify); |
Vue.use(Vuetify); |
||||||
|
|
||||||
export default new Vuetify({ |
export default new Vuetify({ |
||||||
icons: { |
icons: { |
||||||
iconfont: "mdi", // default - only for display purposes
|
iconfont: 'mdi' // default - only for display purposes
|
||||||
}, |
}, |
||||||
theme: { |
theme: { |
||||||
themes: { |
themes: { |
||||||
dark: { |
dark: { |
||||||
primary: "#c0c000", |
primary: '#c0c000', |
||||||
secondary: "#00c0c0", |
secondary: '#00c0c0', |
||||||
accent: colors.yellow.accent2, |
accent: colors.yellow.accent2, |
||||||
error: colors.red, |
error: colors.red, |
||||||
warning: colors.orange, |
warning: colors.orange, |
||||||
info: colors.lightBlue, |
info: colors.lightBlue, |
||||||
success: colors.green, |
success: colors.green |
||||||
}, |
} |
||||||
}, |
}, |
||||||
options: { |
options: { |
||||||
customProperties: true, |
customProperties: true |
||||||
}, |
}, |
||||||
dark: true, |
dark: true |
||||||
}, |
} |
||||||
}); |
}); |
||||||
|
|||||||
@ -1,223 +1,223 @@ |
|||||||
import Vue from "vue"; |
import Vue from 'vue'; |
||||||
import VueRouter from "vue-router"; |
import VueRouter from 'vue-router'; |
||||||
import HomePage from "../views/HomePage.vue"; |
import HomePage from '../views/HomePage.vue'; |
||||||
|
|
||||||
Vue.use(VueRouter); |
Vue.use(VueRouter); |
||||||
|
|
||||||
const routes = [ |
const routes = [ |
||||||
{ |
{ |
||||||
path: "/", |
path: '/', |
||||||
name: "Home", |
name: 'Home', |
||||||
component: HomePage, |
component: HomePage, |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-home", |
icon: 'mdi-home', |
||||||
disabled: false, |
disabled: false |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/channels", |
path: '/channels', |
||||||
name: "Channels", |
name: 'Channels', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-broadcast", |
icon: 'mdi-broadcast', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/ffmpeg-profiles", |
path: '/ffmpeg-profiles', |
||||||
name: "FFmpeg Profiles", |
name: 'FFmpeg Profiles', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-video-input-component", |
icon: 'mdi-video-input-component', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/watermarks", |
path: '/watermarks', |
||||||
name: "Watermarks", |
name: 'Watermarks', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-watermark", |
icon: 'mdi-watermark', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/sources", |
path: '/sources', |
||||||
name: "Media Sources", |
name: 'Media Sources', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-server-network", |
icon: 'mdi-server-network', |
||||||
disabled: false, |
disabled: false |
||||||
}, |
}, |
||||||
children: [ |
children: [ |
||||||
{ |
{ |
||||||
path: "/sources/local", |
path: '/sources/local', |
||||||
name: "Local", |
name: 'Local', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-folder", |
icon: 'mdi-folder', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/sources/emby", |
path: '/sources/emby', |
||||||
name: "Emby", |
name: 'Emby', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-emby", |
icon: 'mdi-emby', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/sources/jellyfin", |
path: '/sources/jellyfin', |
||||||
name: "Jellyfin", |
name: 'Jellyfin', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-jellyfish", |
icon: 'mdi-jellyfish', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/sources/plex", |
path: '/sources/plex', |
||||||
name: "Plex", |
name: 'Plex', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-plex", |
icon: 'mdi-plex', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
} |
||||||
], |
] |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media", |
path: '/media', |
||||||
name: "Media", |
name: 'Media', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-cog", |
icon: 'mdi-cog', |
||||||
disabled: false, |
disabled: false |
||||||
}, |
}, |
||||||
children: [ |
children: [ |
||||||
{ |
{ |
||||||
path: "/media/libraries", |
path: '/media/libraries', |
||||||
name: "Libraries", |
name: 'Libraries', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-library", |
icon: 'mdi-library', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/trash", |
path: '/media/trash', |
||||||
name: "Trash", |
name: 'Trash', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-trash-can", |
icon: 'mdi-trash-can', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/tv-shows", |
path: '/media/tv-shows', |
||||||
name: "TV Shows", |
name: 'TV Shows', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-television-classic", |
icon: 'mdi-television-classic', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/movies", |
path: '/media/movies', |
||||||
name: "Movies", |
name: 'Movies', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-movie", |
icon: 'mdi-movie', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/music-videos", |
path: '/media/music-videos', |
||||||
name: "Music Videos", |
name: 'Music Videos', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-music-circle", |
icon: 'mdi-music-circle', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/other-videos", |
path: '/media/other-videos', |
||||||
name: "Other Videos", |
name: 'Other Videos', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-video", |
icon: 'mdi-video', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/media/songs", |
path: '/media/songs', |
||||||
name: "Songs", |
name: 'Songs', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-album", |
icon: 'mdi-album', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
} |
||||||
], |
] |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/lists", |
path: '/lists', |
||||||
name: "Lists", |
name: 'Lists', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-format-list-bulleted", |
icon: 'mdi-format-list-bulleted', |
||||||
disabled: false, |
disabled: false |
||||||
}, |
}, |
||||||
children: [ |
children: [ |
||||||
{ |
{ |
||||||
path: "/lists/collections", |
path: '/lists/collections', |
||||||
name: "Collections", |
name: 'Collections', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-collage", |
icon: 'mdi-collage', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/lists/trakt-lists", |
path: '/lists/trakt-lists', |
||||||
name: "Trakt Lists", |
name: 'Trakt Lists', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-hammer", |
icon: 'mdi-hammer', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/lists/filler-presets", |
path: '/lists/filler-presets', |
||||||
name: "Filler Presets", |
name: 'Filler Presets', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-tune-vertical", |
icon: 'mdi-tune-vertical', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
} |
||||||
], |
] |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/schedules", |
path: '/schedules', |
||||||
name: "Schedules", |
name: 'Schedules', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-calendar", |
icon: 'mdi-calendar', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/playouts", |
path: '/playouts', |
||||||
name: "Playouts", |
name: 'Playouts', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-clipboard-play-multiple", |
icon: 'mdi-clipboard-play-multiple', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/settings", |
path: '/settings', |
||||||
name: "Settings", |
name: 'Settings', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-cog", |
icon: 'mdi-cog', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
path: "/Logs", |
path: '/Logs', |
||||||
name: "Logs", |
name: 'Logs', |
||||||
meta: { |
meta: { |
||||||
icon: "mdi-card-text", |
icon: 'mdi-card-text', |
||||||
disabled: true, |
disabled: true |
||||||
}, |
} |
||||||
}, |
} |
||||||
]; |
]; |
||||||
|
|
||||||
const router = new VueRouter({ |
const router = new VueRouter({ |
||||||
mode: "history", |
mode: 'history', |
||||||
base: process.env.BASE_URL, |
base: process.env.BASE_URL, |
||||||
routes, |
routes |
||||||
}); |
}); |
||||||
|
|
||||||
export default router; |
export default router; |
||||||
|
|||||||
@ -1,13 +1,13 @@ |
|||||||
const { defineConfig } = require("@vue/cli-service"); |
const { defineConfig } = require('@vue/cli-service'); |
||||||
|
|
||||||
module.exports = defineConfig({ |
module.exports = defineConfig({ |
||||||
transpileDependencies: ["vuetify"], |
transpileDependencies: ['vuetify'], |
||||||
runtimeCompiler: true, |
runtimeCompiler: true, |
||||||
|
|
||||||
pwa: { |
pwa: { |
||||||
name: "ErsatzTV", |
name: 'ErsatzTV' |
||||||
}, |
}, |
||||||
publicPath: "/v2/", |
publicPath: '/v2/', |
||||||
outputDir: "../wwwroot/v2", |
outputDir: '../wwwroot/v2', |
||||||
filenameHashing: false, |
filenameHashing: false |
||||||
}); |
}); |
||||||
|
|||||||
Loading…
Reference in new issue