mirror of https://github.com/Kylart/KawAnime.git
Added refresh button to release page.
This commit is contained in:
parent
0d5edffb9f
commit
0f7763180d
|
@ -60,6 +60,14 @@
|
|||
<downloader></downloader>
|
||||
</div>
|
||||
<div id="releases" class="mdl-grid" v-if="show">
|
||||
<div class="mdl-cell mdl-cell--12-col button-container">
|
||||
<md-button class="md-icon-button play-button"
|
||||
@click.native="refresh()"
|
||||
title="Refresh"
|
||||
v-bind:style="refreshButtonStyle">
|
||||
<i class="mdi mdi-refresh mdi-36px"></i>
|
||||
</md-button>
|
||||
</div>
|
||||
<template v-for="release in releases">
|
||||
<div class="mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet">
|
||||
<div class="elem">
|
||||
|
|
|
@ -287,6 +287,13 @@ let releases = new Vue({
|
|||
marginTop: '0px',
|
||||
marginLeft: '2px',
|
||||
marginRight: '2px'
|
||||
},
|
||||
refreshButtonStyle: {
|
||||
paddingLeft: '2px',
|
||||
marginRight: '0px',
|
||||
marginLeft: '0px',
|
||||
marginTop: '0.4%',
|
||||
color: 'rgba(255, 255, 255, 0.8)'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -68,6 +68,12 @@ body
|
|||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#releases .button-container
|
||||
{
|
||||
text-align: right;
|
||||
margin: 0 7% 0 0 ;
|
||||
}
|
||||
|
||||
.elem
|
||||
{
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue