Removed unused package

Tooltip on release page now shows he right name
Now working on infoPage
This commit is contained in:
Kylart 2017-05-17 23:24:31 +02:00
parent 5975e1677c
commit 038c02cdab
5 changed files with 60 additions and 4 deletions

49
components/infoModal.vue Normal file
View File

@ -0,0 +1,49 @@
<template>
<v-dialog scrollable width="75%"
v-model="$store.state.infoModal">
<v-btn secondary dark
@click.mative="refresh()"
slot="activator">History
</v-btn>
<v-card class="secondary">
<v-card-title>NAME</v-card-title>
<v-divider></v-divider>
<v-card-row height="70%">
<v-card-text>
<v-row>
<h1>Hello</h1>
</v-row>
</v-card-text>
</v-card-row>
<v-divider></v-divider>
<v-card-row actions style=" padding-right: 20px;">
<v-btn class="white--text darken-1"
style="width: 100px;"
primary
@click.native="$store.commit('setInfoModal', false)">
Close
</v-btn>
</v-card-row>
</v-card>
</v-dialog>
</template>
<script>
import Loader from '~components/loader.vue'
export default{
data() {
return {}
},
computed: {
},
components: {
Loader
}
}
</script>
<style scoped>
</style>

View File

@ -22,7 +22,7 @@ module.exports = {
title: 'KawAnime',
meta: [
{charset: 'utf-8'},
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
{name: 'viewport', content: 'width=device-width, initial-scale=1'}
],
link: [
// { rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' },

View File

@ -36,7 +36,6 @@
"devtron": "^1.4.0",
"electron": "^1.6.6",
"electron-builder": "^17.1.1",
"eslint-plugin-html": "^2.0.3",
"eslint-plugin-vue": "^2.0.1",
"pre-commit": "^1.2.2",
"standard": "^10.0.2",

View File

@ -44,7 +44,7 @@
<v-card-text class="elem-card">
<v-container fluid style="padding: 0;">
<v-row>
<v-col class="elem-title" xs9 v-tooltip:top="{ html: item.name }">
<v-col class="elem-title" xs9 v-tooltip:top="{ html: item.rawName }">
<h6>{{ item.rawName }}</h6>
</v-col>
<v-col v-tooltip:top="{ html: 'Episode ' + item.ep }"

View File

@ -55,7 +55,9 @@ const store = new Vuex.Store({
searchInput: '',
searchInfo: {},
history: {},
historyModal: false
historyModal: false,
infoModal: false,
info: {}
},
mutations: {
init (state, data) {
@ -155,6 +157,12 @@ const store = new Vuex.Store({
setHistoryModal: function (state, data) {
state.historyModal = data
},
setInfoModal: function (state, data) {
state.infoModal = data
},
setInfoModalInfo: function (state, data) {
state.info = data
},
setReleasesUpdateTime (state, data) {
state.releasesUpdateTime = data
},