aboutsummaryrefslogtreecommitdiff
path: root/src/components/exporter/exporter.vue
blob: f5126dc129f4593a6f19cfadee0afa915aaa4a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
  <div class="exporter">
    <div v-if="processing">
      <i class="icon-spin4 animate-spin exporter-processing" />
      <span>{{ processingMessage }}</span>
    </div>
    <button
      v-else
      class="btn btn-default"
      @click="process"
    >
      {{ exportButtonLabel }}
    </button>
  </div>
</template>

<script src="./exporter.js"></script>

<style lang="scss">
.exporter {
  &-processing {
    font-size: 1.5em;
    margin: 0.25em;
  }
}
</style>