mirror of https://github.com/Kylart/KawAnime.git
Oups, forgot the back Button...
This commit is contained in:
parent
fc723df9aa
commit
d3bed2b381
|
@ -154,6 +154,13 @@ body
|
|||
padding-left: 0;
|
||||
}
|
||||
|
||||
#back-button
|
||||
{
|
||||
position: absolute;
|
||||
right: 2%;
|
||||
top: 2%;
|
||||
}
|
||||
|
||||
#info-picture
|
||||
{
|
||||
margin-left: 0;
|
||||
|
|
|
@ -83,6 +83,9 @@
|
|||
<div class="loader-gif" ></div>
|
||||
</div>
|
||||
<div id="info-container" v-if="show" v-bind:style="{ display: display }">
|
||||
<button @click="backToMain()" id="back-button" class="mdl-button mdl-js-button mdl-button--raised">
|
||||
Back
|
||||
</button>
|
||||
<div class="mdl-grid">
|
||||
<div id="info-picture"
|
||||
class="mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet">
|
||||
|
@ -92,7 +95,7 @@
|
|||
<div id="info-title">
|
||||
<h5>{{ infos.title }} [{{ infos.type }}]</h5>
|
||||
</div>
|
||||
<div @click="test()" id="synopsis-container">
|
||||
<div id="synopsis-container">
|
||||
<pre>{{ infos.synopsis }}</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
|
22
renderer.js
22
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue