mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-21 18:49:44 +00:00
Add select multiple button
This commit is contained in:
parent
698a08e1a9
commit
ecb14f7810
2 changed files with 6 additions and 10 deletions
|
|
@ -1,13 +1,4 @@
|
|||
{{ define "right" }}
|
||||
{{- if not .IsEditor }}
|
||||
|
||||
<button aria-label="Select multiple" class="action mobile-only" id="multiple-selection-activate">
|
||||
<i class="material-icons">check_circle</i>
|
||||
<span>Select</span>
|
||||
</button>
|
||||
{{- end }}
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "left" }}
|
||||
{{- if and (not .IsDir) (.User.AllowEdit) }}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@
|
|||
<download-button></download-button>
|
||||
<upload-button v-show="showUpload()"></upload-button>
|
||||
<info-button></info-button>
|
||||
|
||||
<button v-show="req.kind === 'listing'" @click="$store.commit('multiple', true)" aria-label="Select multiple" class="action">
|
||||
<i class="material-icons">check_circle</i>
|
||||
<span>Select</span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue