aboutsummaryrefslogtreecommitdiff
path: root/src/components/domain_mute_card/domain_mute_card.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-01-15 20:22:54 +0000
committerShpuld Shpludson <shp@cock.li>2020-01-15 20:22:54 +0000
commit6bd6ec66bcc7d069bb6121228bbd26b35add0cd4 (patch)
tree31cd4a216ebda88089bb0ef1e10ced78d9e1d945 /src/components/domain_mute_card/domain_mute_card.vue
parente3de2964cc5d7b822d3e71f02a7509f97add9ee8 (diff)
parent7a013ac39392ef251c0789f27dd4660dcd30bd6d (diff)
Merge branch 'tae/pleroma-fe-663' into 'develop'
Implement domain mutes v2 See merge request pleroma/pleroma-fe!1045
Diffstat (limited to 'src/components/domain_mute_card/domain_mute_card.vue')
-rw-r--r--src/components/domain_mute_card/domain_mute_card.vue38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/components/domain_mute_card/domain_mute_card.vue b/src/components/domain_mute_card/domain_mute_card.vue
new file mode 100644
index 00000000..567d81c5
--- /dev/null
+++ b/src/components/domain_mute_card/domain_mute_card.vue
@@ -0,0 +1,38 @@
+<template>
+ <div class="domain-mute-card">
+ <div class="domain-mute-card-domain">
+ {{ domain }}
+ </div>
+ <ProgressButton
+ :click="unmuteDomain"
+ class="btn btn-default"
+ >
+ {{ $t('domain_mute_card.unmute') }}
+ <template slot="progress">
+ {{ $t('domain_mute_card.unmute_progress') }}
+ </template>
+ </ProgressButton>
+ </div>
+</template>
+
+<script src="./domain_mute_card.js"></script>
+
+<style lang="scss">
+.domain-mute-card {
+ flex: 1 0;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 0.6em 1em 0.6em 0;
+
+ &-domain {
+ margin-right: 1em;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ button {
+ width: 10em;
+ }
+}
+</style>