diff --git a/js/mods/components/clearDatabase.js b/js/mods/components/clearDatabase.js
index bf14eeba..3be485b4 100644
--- a/js/mods/components/clearDatabase.js
+++ b/js/mods/components/clearDatabase.js
@@ -2,11 +2,12 @@
/* eslint no-multi-str: 0 */
Vue.component('clear-database', {
- template:
- '
+ template: `
+
diff --git a/js/mods/components/modpackModal.js b/js/mods/components/modpackModal.js
index 173dc64f..9eb3abf8 100644
--- a/js/mods/components/modpackModal.js
+++ b/js/mods/components/modpackModal.js
@@ -5,8 +5,8 @@ const _TEXT_LOADING = 'Loading...'
Vue.component('modpack-modal', {
props: ['modpackmodalopened', 'modpack', 'onclose', 'mods'],
- template:
- `
+ template: `
+
{{ modpack.modpackName }}
Modpack version: {{ modpack.modpackVersion }}
Minecraft version: {{ modpack.minecraftVersion }}
@@ -22,7 +22,8 @@ Vue.component('modpack-modal', {
Download
- `,
+
+ `,
data() {
return {
modsFound: 0,
diff --git a/js/mods/components/mods/minecraftMod.js b/js/mods/components/mods/minecraftMod.js
index 01f94768..f31fe7a6 100644
--- a/js/mods/components/mods/minecraftMod.js
+++ b/js/mods/components/mods/minecraftMod.js
@@ -10,8 +10,8 @@ Vue.component('minecraft-mod', {
props: {
mod: Object
},
- template:
- `
+ template: `
+
Select this mod
@@ -35,7 +35,8 @@ Vue.component('minecraft-mod', {
>
- `,
+
+ `,
data() {
return {
searchPages: 3,
diff --git a/js/mods/components/mods/minecraftModsList.js b/js/mods/components/mods/minecraftModsList.js
index 5978a057..859e15bc 100644
--- a/js/mods/components/mods/minecraftModsList.js
+++ b/js/mods/components/mods/minecraftModsList.js
@@ -2,6 +2,11 @@
/* eslint no-multi-str: 0 */
Vue.component('minecraft-mod-list', {
+ template: `
+
+ `,
props: {
mods: Object
},
@@ -18,8 +23,4 @@ Vue.component('minecraft-mod-list', {
return mod.resource_pack.git_repository ? mod.resource_pack.git_repository.split('/').pop() : null
}
},
- template:
- '
'
})
diff --git a/js/mods/components/mods/minecraftVersions.js b/js/mods/components/mods/minecraftVersions.js
index f883059c..a7924f5c 100644
--- a/js/mods/components/mods/minecraftVersions.js
+++ b/js/mods/components/mods/minecraftVersions.js
@@ -6,15 +6,20 @@ Vue.component('minecraft-versions', {
versions: Array,
breakpoints: Object
},
- template:
- '
',
-
+ template: `
+
+ `,
data () {
return {}
},
diff --git a/js/mods/components/zipOptions.js b/js/mods/components/zipOptions.js
index bdf22e5c..bde62b8d 100644
--- a/js/mods/components/zipOptions.js
+++ b/js/mods/components/zipOptions.js
@@ -7,29 +7,30 @@ try {
NAME = 'Faithful Mods' // eslint-disable-line
Vue.component('zip-options', {
- template:
- '
\
-
\
- Advanced options \
- \
-
\
-
\
- Compression level \
- \
- \
- \
- {{ cl.label }} \
- \
- \
- \
-
\
-
\
- Archive name \
- \
-
\
-
\
-
\
-
',
+ template: `
+
+
+ Advanced options
+
+
+
+ Compression level
+
+
+
+ {{ cl.label }}
+
+
+
+
+
+ Archive name
+
+
+
+
+
+ `,
data() {
return {
advancedOptionsEnabled: false,