diff --git a/app/style.css b/app/style.css index 992814f..8d1e69f 100644 --- a/app/style.css +++ b/app/style.css @@ -154,6 +154,13 @@ body padding-left: 0; } +#back-button +{ + position: absolute; + right: 2%; + top: 2%; +} + #info-picture { margin-left: 0; diff --git a/index.html b/index.html index 2516c02..bdc66a9 100644 --- a/index.html +++ b/index.html @@ -83,6 +83,9 @@
+
@@ -92,7 +95,7 @@
{{ infos.title }} [{{ infos.type }}]
-
+
{{ infos.synopsis }}
diff --git a/renderer.js b/renderer.js index c23bac9..b013c25 100644 --- a/renderer.js +++ b/renderer.js @@ -139,16 +139,16 @@ function startTorrent (file_url, name) { function makeResearchOnMal (name) { mal.fromName(name).then(anime => { - info.infos.title = anime.title // - info.infos.japTitle = anime.japaneseTitle // - info.infos.image = anime.image // - info.infos.synopsis = anime.synopsis // - info.infos.episodes = anime.episodes // - info.infos.studios = anime.studios // - info.infos.stats = anime.statistics // - info.infos.genres = anime.genres // - info.infos.type = anime.type.split(' ').slice(0, 3).join(' ') // - info.infos.characters = anime.characters // + info.infos.title = anime.title + info.infos.japTitle = anime.japaneseTitle + info.infos.image = anime.image + info.infos.synopsis = anime.synopsis + info.infos.episodes = anime.episodes + info.infos.studios = anime.studios + info.infos.stats = anime.statistics + info.infos.genres = anime.genres + info.infos.type = anime.type.split(' ').slice(0, 3).join(' ') + info.infos.characters = anime.characters info.infos.staff = anime.staff releases.show = false @@ -229,7 +229,7 @@ let info = new Vue({ hide: function () { this.show = false }, - test: function () { + backToMain: function () { this.hide() releases.show = true }