diff --git a/client/components/admin/admin-storage.vue b/client/components/admin/admin-storage.vue index ddc7d939..c6588194 100644 --- a/client/components/admin/admin-storage.vue +++ b/client/components/admin/admin-storage.vue @@ -158,6 +158,24 @@ .caption.mt-3 Currently set to every #[strong {{getDefaultSchedule(tgt.syncInterval)}}]. .caption The default is every #[strong {{getDefaultSchedule(tgt.syncIntervalDefault)}}]. + template(v-if='tgt.actions && tgt.actions.length > 0') + v-divider.mt-3 + v-subheader.pl-0 Actions + v-container.pt-0(grid-list-xl, fluid) + v-layout(row, wrap, fill-height) + v-flex(xs12, lg6, xl4, v-for='act of tgt.actions') + v-card.radius-7.grey(flat, :class='$vuetify.dark ? `darken-3-d5` : `lighten-3`', height='100%') + v-card-text + .subheading(v-html='act.label') + .body-1.mt-2(v-html='act.hint') + v-btn.mx-0.mt-3( + @click='executeAction(tgt.key, act.handler)' + outline + :color='$vuetify.dark ? `blue` : `primary`' + :disabled='runningAction' + :loading='runningActionHandler === act.handler' + ) Run +