Add select multiple button

pull/144/head
Henrique Dias 2017-06-30 17:53:20 +01:00
parent 698a08e1a9
commit ecb14f7810
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
2 changed files with 6 additions and 10 deletions

View File

@ -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) }}

View File

@ -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>