mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 05:36:16 +02:00
🎨
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div class="mkw-messaging">
|
||||
<mk-widget-container :show-header="props.design == 0">
|
||||
<ui-container :show-header="props.design == 0">
|
||||
<template slot="header"><fa icon="comments"/>{{ $t('title') }}</template>
|
||||
<button slot="func" @click="add"><fa icon="plus"/></button>
|
||||
|
||||
<x-messaging ref="index" compact @navigate="navigate"/>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div class="mkw-notifications">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<ui-container :show-header="!props.compact">
|
||||
<template slot="header"><fa :icon="['far', 'bell']"/>{{ $t('title') }}</template>
|
||||
<!-- <button slot="func" :title="$t('title')" @click="settings"><fa icon="cog"/></button> -->
|
||||
|
||||
<mk-notifications :class="$style.notifications"/>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="mkw-polls">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<ui-container :show-header="!props.compact">
|
||||
<template slot="header"><fa icon="chart-pie"/>{{ $t('title') }}</template>
|
||||
<button slot="func" :title="$t('title')" @click="fetch">
|
||||
<fa v-if="!fetching && more" icon="arrow-right"/>
|
||||
@@ -16,7 +16,7 @@
|
||||
<p class="empty" v-if="!fetching && poll == null">{{ $t('nothing') }}</p>
|
||||
<p class="fetching" v-if="fetching"><fa icon="spinner" pulse fixed-width/>{{ $t('@.loading') }}<mk-ellipsis/></p>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<mk-widget-container :show-header="props.design == 0">
|
||||
<ui-container :show-header="props.design == 0">
|
||||
<template slot="header"><fa icon="pencil-alt"/>{{ $t('title') }}</template>
|
||||
|
||||
<div class="lhcuptdmcdkfwmipgazeawoiuxpzaclc-body"
|
||||
@@ -37,7 +37,7 @@
|
||||
<button @click="post" :disabled="posting" class="post">{{ $t('note') }}</button>
|
||||
</footer>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="egwyvoaaryotefqhqtmiyawwefemjfsd">
|
||||
<mk-widget-container :show-header="false" :naked="props.design == 2">
|
||||
<ui-container :show-header="false" :naked="props.design == 2">
|
||||
<div class="egwyvoaaryotefqhqtmiyawwefemjfsd-body"
|
||||
:data-compact="props.design == 1 || props.design == 2"
|
||||
:data-melt="props.design == 2"
|
||||
@@ -18,7 +18,7 @@
|
||||
<router-link class="name" :to="$store.state.i | userPage"><mk-user-name :user="$store.state.i"/></router-link>
|
||||
<p class="username">@{{ $store.state.i | acct }}</p>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="mkw-trends">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<ui-container :show-header="!props.compact">
|
||||
<template slot="header"><fa icon="fire"/>{{ $t('title') }}</template>
|
||||
<button slot="func" :title="$t('title')" @click="fetch"><fa icon="sync"/></button>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<p class="empty" v-else>{{ $t('nothing') }}</p>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="mkw-users">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<ui-container :show-header="!props.compact">
|
||||
<template slot="header"><fa icon="users"/>{{ $t('title') }}</template>
|
||||
<button slot="func" :title="$t('title')" @click="refresh">
|
||||
<fa v-if="!fetching && more" icon="arrow-right"/>
|
||||
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
<p class="empty" v-else>{{ $t('no-one') }}</p>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</ui-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user