You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Add ids to some buttons
Former-commit-id: 20c0f70776847e655516225044c208ed5757b2b8 [formerly d53bf61e15b860ea089c7a615190d6414c80d48a] [formerly 81022384e3a5057961c691f4099f9980f93bcd12 [formerly 2d9caaec4a]]
Former-commit-id: f3f07876ffc578eaec86c81b452fa1f3783aec18 [formerly ec550918fcf18507073c01481581b4a70059cbe7]
Former-commit-id: d9adac0236fcf450c3b1d4b3eb523cf6285ca552
This commit is contained in:
17
_assets/src/components/buttons/Rename.vue
Normal file
17
_assets/src/components/buttons/Rename.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<button @click="show" aria-label="Rename" title="Rename" class="action" id="rename-button">
|
||||
<i class="material-icons">mode_edit</i>
|
||||
<span>Rename</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'rename-button',
|
||||
methods: {
|
||||
show: function (event) {
|
||||
this.$store.commit('showHover', 'rename')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user