From d3bed2b381af4dbfd6d3b9a91a5ca7d8c78dcef4 Mon Sep 17 00:00:00 2001 From: Kylart Date: Sat, 3 Dec 2016 23:17:01 +0900 Subject: [PATCH] Oups, forgot the back Button... --- app/style.css | 7 +++++++ index.html | 5 ++++- renderer.js | 22 +++++++++++----------- 3 files changed, 22 insertions(+), 12 deletions(-) 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 }