15bac1e401
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
implements part of #178, other parts will come later Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com> Reviewed-on: AkkomaGang/pleroma-fe#186 Co-authored-by: sfr <sol@solfisher.com> Co-committed-by: sfr <sol@solfisher.com>
43 lines
1 KiB
Vue
43 lines
1 KiB
Vue
<template>
|
|
<Modal
|
|
v-if="moderator"
|
|
:is-open="modalActivated"
|
|
class="mod-modal"
|
|
:class="{ peek: modalPeeked }"
|
|
:no-background="modalPeeked"
|
|
>
|
|
<div class="mod-modal-panel panel">
|
|
<div class="panel-heading">
|
|
<span class="title">
|
|
{{ $t('moderation.moderation') }}
|
|
</span>
|
|
<button
|
|
class="btn button-default"
|
|
:title="$t('general.peek')"
|
|
@click="peekModal"
|
|
>
|
|
<FAIcon
|
|
:icon="['far', 'window-minimize']"
|
|
fixed-width
|
|
/>
|
|
</button>
|
|
<button
|
|
class="btn button-default"
|
|
:title="$t('general.close')"
|
|
@click="closeModal"
|
|
>
|
|
<FAIcon
|
|
icon="times"
|
|
fixed-width
|
|
/>
|
|
</button>
|
|
</div>
|
|
<div class="panel-body">
|
|
<ModModalContent v-if="modalOpenedOnce" />
|
|
</div>
|
|
</div>
|
|
</Modal>
|
|
</template>
|
|
|
|
<script src="./mod_modal.js"></script>
|
|
<style src="./mod_modal.scss" lang="scss"></style>
|