mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-25 15:46:17 +09:00
✌️
This commit is contained in:
parent
8ed30d1ff3
commit
2105e4964b
@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
|
||||
desktop/views/components/ui.header.account.vue:
|
||||
profile: "Your profile"
|
||||
drive: "Drive"
|
||||
favorites: "Favorites"
|
||||
customize: "Customize"
|
||||
settings: "Settings"
|
||||
signout: "Sign out"
|
||||
|
@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
|
||||
desktop/views/components/ui.header.account.vue:
|
||||
profile: "Votre profil"
|
||||
drive: "Drive"
|
||||
favorites: "Favorites"
|
||||
customize: "Modifications"
|
||||
settings: "Réglages"
|
||||
signout: "Déconnexion"
|
||||
|
@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
|
||||
desktop/views/components/ui.header.account.vue:
|
||||
profile: "プロフィール"
|
||||
drive: "ドライブ"
|
||||
favorites: "お気に入り"
|
||||
customize: "カスタマイズ"
|
||||
settings: "設定"
|
||||
signout: "サインアウト"
|
||||
|
@ -13,6 +13,9 @@
|
||||
<li @click="drive">
|
||||
<p>%fa:cloud%<span>%i18n:@drive%</span>%fa:angle-right%</p>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/i/favorites">%fa:star%<span>%i18n:@favorites%</span>%fa:angle-right%</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
@ -24,7 +27,7 @@
|
||||
</ul>
|
||||
<ul>
|
||||
<li @click="signout">
|
||||
<p>%fa:power-off%<span>%i18n:@signout%</span></p>
|
||||
<p class="signout">%fa:power-off%<span>%i18n:@signout%</span></p>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -209,7 +212,7 @@ root(isDark)
|
||||
pointer-events none
|
||||
|
||||
> span:first-child
|
||||
padding-left 16px
|
||||
padding-left 22px
|
||||
|
||||
> [data-fa]:first-child
|
||||
margin-right 6px
|
||||
@ -233,6 +236,16 @@ root(isDark)
|
||||
&:active
|
||||
background darken($theme-color, 10%)
|
||||
|
||||
&.signout
|
||||
$color = #e64137
|
||||
|
||||
&:hover, &:active
|
||||
background $color
|
||||
color #fff
|
||||
|
||||
&:active
|
||||
background darken($color, 10%)
|
||||
|
||||
.zoom-in-top-enter-active,
|
||||
.zoom-in-top-leave-active {
|
||||
transform-origin: center -16px;
|
||||
|
@ -2,6 +2,7 @@ import * as mongo from 'mongodb';
|
||||
import db from '../db/mongodb';
|
||||
|
||||
const Favorite = db.get<IFavorite>('favorites');
|
||||
Favorite.createIndex(['userId', 'noteId'], { unique: true });
|
||||
export default Favorite;
|
||||
|
||||
export type IFavorite = {
|
||||
|
Loading…
Reference in New Issue
Block a user