v-container#container.container.pa-0(fluid, grid-list-xs)
transition(name='fade', v-if='releases.length')
v-layout(row, wrap, justify-center, style='margin: 0 1% 0 1%;')
v-flex.time-container(md4, sm4, xs8)
span.update-time Updated {{ lastUpdateTime }}.
v-flex(md4, sm1, hidden-xs-only)
v-flex(md2, sm3, xs10)
v-select.select(
:items='fansubList',
v-model='$store.state.releaseFansub',
label='Fansub',
dark, single-line,
hint='Pick a fansub',
persistent-hint
)
v-flex(md1, sm2, xs10)
v-select.select(
:items='qualityList',
v-model='$store.state.releaseQuality',
label='Quality',
dark,
single-line,
hint='Which quality ?',
persistent-hint
)
v-flex.refresh-button-container(md1, sm1, xs12)
v-btn.refresh-button(icon, @click='refresh()')
v-icon(large) refresh
template(v-for='item in releases')
v-flex.elem(xs12, sm6, md4, xl3, :key='item.name')
v-card.elem-content.elevation-3(v-ripple='true')
v-card-text.elem-card
v-container.pa-0(fluid)
v-layout(row, wrap)
v-flex.elem-title.pa-0(xs9, v-tooltip:top='{ html: item.rawName }')
h6.white--text {{ item.rawName }}
v-flex.elem-ep.text-xs-right.pa-0(v-tooltip:top="{ html: epLabel(item.ep, true) }", xs3)
h6.white--text {{ epLabel(item.ep) }}
v-flex.elem-image.pa-0(xl4, lg4, md5, xs4)
img.picture(
:src='item.picture',
onerror="this.src='static/images/error.jpg'",
height='200'
)
v-flex.pa-0(xl8, lg8, md7, xs8)
.elem-text-links
.synopsis.pl-1 {{ item.synopsis || 'No synopsis yet.' }}
.links
a.download-button(:href='item.magnetLink')
v-btn.btn--light-flat-pressed(dark, flat, @click='print(item)') Download
v-menu(open-on-hover, transition='slide-x-transition')
v-btn(flat, dark, slot='activator') More
v-list.dark
v-list-tile(@click='openModal(item.rawName, item.fullSynopsis)')
v-list-tile-action
v-icon more
v-list-tile-title Check synopsis
v-list-tile(@click='downloadAll(item.rawName)')
v-list-tile-action
v-icon file_download
v-list-tile-title Download all episodes
v-list-tile(@click='searchThis(item.rawName)')
v-list-tile-action
v-icon info_outline
v-list-tile-title Information
v-list-tile(@click='showChoices(item.rawName)')
v-list-tile-action
v-icon add_box
v-list-tile-title Add to
loader(v-else)
.text-xs-center.modal-container
v-dialog(v-model='modal', width='70%')
v-card.white--text
v-card-text.white--text
h2.white--text.headline {{ modalTitle }}
v-card-text.subheading.white--text {{ modalText }}
v-card-actions
v-spacer
v-btn.blue--text.darken-1(flat, v-on:click.native='modal = false') Thanks!
choice-window(:entry='choiceTitle')