diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2020-02-04 10:07:20 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-02-04 10:07:20 +0300 |
| commit | 64c180c8388afd229ffbcef745b6a81afa0d0056 (patch) | |
| tree | 248b15ca6c9281a49b728ebd8a99dc0a79bc1572 /src/components/domain_mute_card/domain_mute_card.vue | |
| parent | f892b26d73ea54c4557d8b6829dba850f00986c6 (diff) | |
| parent | e73e235b4df4654abbfd315645ed7ad35e0f326e (diff) | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
Diffstat (limited to 'src/components/domain_mute_card/domain_mute_card.vue')
| -rw-r--r-- | src/components/domain_mute_card/domain_mute_card.vue | 38 |
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> |
