mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-09 04:55:07 +00:00
e408b8ee7e
add developer mode part 1
62 lines
1.7 KiB
Vue
62 lines
1.7 KiB
Vue
<template>
|
|
<div style="padding-top: 1em">
|
|
<v-list-item v-for="(item, index) in settingsItems" :key="index">
|
|
<v-btn
|
|
text
|
|
class="entry text-left text-capitalize"
|
|
:to="item.to"
|
|
:disabled="item.disabled"
|
|
>
|
|
<v-icon size="30px" class="icon" v-text="item.icon" />
|
|
{{ item.name }}
|
|
</v-btn>
|
|
</v-list-item>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.entry {
|
|
width: 100%;
|
|
font-size: 1.2em;
|
|
justify-content: left !important;
|
|
padding: 1.5em 0.5em 1.5em 0.5em !important;
|
|
}
|
|
.icon {
|
|
margin-right: 0.5em;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
settingsItems: [
|
|
{ name: "General", icon: "mdi-cog", to: "", disabled: true },
|
|
{ name: "Theme", icon: "mdi-brush-variant", to: "/mods/theme" },
|
|
{
|
|
name: "Player",
|
|
icon: "mdi-motion-play-outline",
|
|
to: "",
|
|
disabled: true,
|
|
},
|
|
{
|
|
name: "UI Tweaker",
|
|
icon: "mdi-television-guide",
|
|
to: "/mods/tweaks",
|
|
},
|
|
{ name: "Startup Options", icon: "mdi-restart", to: "/mods/startup" },
|
|
{ name: "Plugins", icon: "mdi-puzzle", to: "", disabled: true },
|
|
{
|
|
name: "Updates",
|
|
icon: "mdi-cloud-download-outline",
|
|
to: "/mods/updates",
|
|
},
|
|
{ name: "Logs", icon: "mdi-text-box-outline", to: "/mods/logs" },
|
|
{ name: "About", icon: "mdi-information-outline", to: "/mods/about" },
|
|
|
|
/* Developer Settings, Don't Remove // Included in all releases for users to mess with if they feel comfortable enough */ { name: "", icon: "", to: "/mods/developer" },
|
|
],
|
|
};
|
|
},
|
|
};
|
|
</script>
|