mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-11-22 11:17:56 +11:00
update
This commit is contained in:
parent
186411e880
commit
fcd847cf53
5 changed files with 11 additions and 47 deletions
|
@ -657,17 +657,7 @@ export default {
|
|||
}
|
||||
},
|
||||
friendlyName(index) {
|
||||
if (index === "calendarNormalActivity") {
|
||||
return "Standard Class"
|
||||
} else if (index === "calendarActivityType7") {
|
||||
return "Relief Event"
|
||||
} else if (index === "calendarActivityType8") {
|
||||
return "Generic Type 8"
|
||||
} else if (index === "calendarActivityType10") {
|
||||
return "Learning Task"
|
||||
} else if (index === "calendarExternalActivity") {
|
||||
return "External Activity"
|
||||
} else if (index === "bg") {
|
||||
if (index === "bg") {
|
||||
return "Background"
|
||||
} else if (index === "dark") {
|
||||
return "Sidebar & Header"
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 262 KiB |
|
@ -144,6 +144,12 @@ const routes = [
|
|||
component: () =>
|
||||
import(/* webpackChunkName: "admin" */ "../views/Admin/Admin.vue")
|
||||
},
|
||||
{
|
||||
path: "/about",
|
||||
name: "About",
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "about" */ "../views/About.vue")
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
name: "Not Found",
|
||||
|
|
|
@ -172,12 +172,7 @@ export default new Vuex.Store({
|
|||
sheet: "#181818",
|
||||
text: "#000000",
|
||||
dark: "#151515",
|
||||
bg: "#151515",
|
||||
calendarNormalActivity: "#3f51b5",
|
||||
calendarActivityType7: "#f44336",
|
||||
calendarActivityType8: "#4caf50",
|
||||
calendarActivityType10: "#ff9800",
|
||||
calendarExternalActivity: "#2196f3"
|
||||
bg: "#151515"
|
||||
},
|
||||
light: {
|
||||
primary: "#0190ea",
|
||||
|
@ -192,12 +187,7 @@ export default new Vuex.Store({
|
|||
sheet: "#f8f8f8",
|
||||
text: "#000000",
|
||||
dark: "#f8f8f8",
|
||||
bg: "#f8f8f8",
|
||||
calendarNormalActivity: "#3f51b5",
|
||||
calendarActivityType7: "#f44336",
|
||||
calendarActivityType8: "#4caf50",
|
||||
calendarActivityType10: "#ff9800",
|
||||
calendarExternalActivity: "#2196f3"
|
||||
bg: "#f8f8f8"
|
||||
}
|
||||
}
|
||||
context.state.themeEngine.type = "create"
|
||||
|
|
|
@ -160,18 +160,7 @@ export default {
|
|||
sheet: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
text: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
dark: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
bg: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarNormalActivity:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType7:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType8:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType10:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarExternalActivity: Math.floor(
|
||||
Math.random() * 16777215
|
||||
).toString(16)
|
||||
bg: "#" + Math.floor(Math.random() * 16777215).toString(16)
|
||||
}
|
||||
this.$vuetify.theme.themes.dark = {
|
||||
primary: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
|
@ -186,18 +175,7 @@ export default {
|
|||
sheet: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
text: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
dark: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
bg: "#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarNormalActivity:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType7:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType8:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarActivityType10:
|
||||
"#" + Math.floor(Math.random() * 16777215).toString(16),
|
||||
calendarExternalActivity: Math.floor(
|
||||
Math.random() * 16777215
|
||||
).toString(16)
|
||||
bg: "#" + Math.floor(Math.random() * 16777215).toString(16)
|
||||
}
|
||||
}, this.slider)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue