Updates on search and something

Former-commit-id: 229baefa76ee3202dcf4aac3249a461b6cc51eed [formerly 2773046c33eee1ff79ef1d02238de37e14860726] [formerly 2d50f10c3f809c6135cc861eaf0360092a23ea3f [formerly 14ff4f2b74]]
Former-commit-id: e766887e65390514cf827700c3ab0d5ed000c480 [formerly 7429be72884d3eb154e45dc638fd17dfcfdfaa62]
Former-commit-id: d23373bf316295d6579e4bbc780f5b963c632c4d
This commit is contained in:
Henrique Dias committed 2017-07-04 17:15:38 +01:00
1 parent 9c0c2d7a02
commit 231e1e1147
21 files changed
+92 -50

No files matched your search

@@ -10,7 +10,7 @@ export default {
name: 'delete-button',
methods: {
show: function (event) {
this.$store.commit('showPrompt', 'delete')
this.$store.commit('showHover', 'delete')
}
}
}
@@ -28,7 +28,7 @@ export default {
return
}
this.$store.commit('showPrompt', 'download')
this.$store.commit('showHover', 'download')
}
}
}
@@ -1,10 +1,17 @@
<template>
<button title="Info" aria-label="Info" class="action" @click="$store.commit('showPrompt', 'info')">
<button title="Info" aria-label="Info" class="action" @click="show">
<i class="material-icons">info</i>
<span>Info</span>
</button>
</template>
<script>
export default {name: 'info-button'}
export default {
name: 'info-button',
methods: {
show: function (event) {
this.$store.commit('showHover', 'info')
}
}
}
</script>
@@ -1,10 +1,17 @@
<template>
<button @click="this.$store.commit('showPrompt', 'move')" aria-label="Move" title="Move" class="action">
<button @click="show" aria-label="Move" title="Move" class="action">
<i class="material-icons">forward</i>
<span>Move file</span>
</button>
</template>
<script>
export default {name: 'move-button'}
export default {
name: 'move-button',
methods: {
show: function (event) {
this.$store.commit('showHover', 'move')
}
}
}
</script>
@@ -1,10 +1,17 @@
<template>
<button @click="this.$store.commit('showPrompt', 'rename')" aria-label="Rename" title="Rename" class="action">
<button @click="show" aria-label="Rename" title="Rename" class="action">
<i class="material-icons">mode_edit</i>
<span>Rename</span>
</button>
</template>
<script>
export default {name: 'rename-button'}
export default {
name: 'rename-button',
methods: {
show: function (event) {
this.$store.commit('showHover', 'rename')
}
}
}
</script>