span(class="wrapper")
v-dialog(v-model="loading" persistent id="delete-loading")
v-card
v-card-title(primary-title) Deleting
v-card-text(v-if="!selectAll")
ul
li(v-for="id in ids") {{id}}
v-card-text
v-subheader.error--text(v-if='error' id="delete-error") {{error}}
v-subheader.success--text(v-if='success' id="delete-success") {{success}}
v-progress-linear(v-if='!error && !success' indeterminate)
v-card-actions
v-spacer
v-btn(@click='cancel' flat) close
v-dialog(persistent v-model='dialog' max-width='50%')
v-btn(slot="activator" block icon)
v-icon delete
v-card
v-card-title(primary-title)
.headline Delete Selection
v-card-text
span(v-if="!selectAll")
p Are you sure you want to delete the following QnAs:
ul
li(v-for="qa in QAs") {{qa.qid}}
span(v-if="selectAll && !filter")
p Are you sure you want to delete all QnAs
span(v-if="selectAll && filter")
p Are you sure you want to delete all QnAs with prefix:
p {{filter}}
v-card-actions
v-spacer
v-btn(@click='cancel') Cancel
v-btn(@click='rm' id="confirm-delete") Delete