mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
✌️
This commit is contained in:
parent
29023fdb36
commit
59f9be78ac
@ -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