Add select multiple button
Former-commit-id: f1c6de899994bcd274bd21582c9b0bf0d0ab375b [formerly 0550298211e8179fb7a46e49bd75979d439ce756] [formerly 82b40d8484796e90db6de64ad4f93c4901845688 [formerly ecb14f7810
]]
Former-commit-id: b24c64d18da7dd94a25fd26d90fb41c818b1b19a [formerly 478a12fba0294b74bb289ef8356b855f21808100]
Former-commit-id: eec4a78fe25ad9f3e713b5860f0bb839654f7413
pull/726/head
parent
c7e37c09e1
commit
012c18cdf1
|
@ -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…
Reference in New Issue