mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix linting
This commit is contained in:
parent
c286b556f2
commit
633f4de93a
@ -20,7 +20,7 @@
|
|||||||
{{ $t('login.hello') }}
|
{{ $t('login.hello') }}
|
||||||
<b>{{ userName }}</b>
|
<b>{{ userName }}</b>
|
||||||
<template v-if="user.role !== 'user'">
|
<template v-if="user.role !== 'user'">
|
||||||
<ds-text color="softer" size="small" style="margin-bottom: 0;">
|
<ds-text color="softer" size="small" style="margin-bottom: 0">
|
||||||
{{ user.role | camelCase }}
|
{{ user.role | camelCase }}
|
||||||
</ds-text>
|
</ds-text>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
:src="iconPath"
|
:src="iconPath"
|
||||||
width="80"
|
width="80"
|
||||||
class="hc-empty-icon"
|
class="hc-empty-icon"
|
||||||
style="margin-bottom: 5px;"
|
style="margin-bottom: 5px"
|
||||||
alt="Empty"
|
alt="Empty"
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@ -107,7 +107,7 @@
|
|||||||
></label>
|
></label>
|
||||||
</ds-text>
|
</ds-text>
|
||||||
<base-button
|
<base-button
|
||||||
style="float: right;"
|
style="float: right"
|
||||||
icon="check"
|
icon="check"
|
||||||
type="submit"
|
type="submit"
|
||||||
filled
|
filled
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
/>
|
/>
|
||||||
<ds-space margin-bottom="xx-small" />
|
<ds-space margin-bottom="xx-small" />
|
||||||
<ds-text color="soft" class="shout-button-text">
|
<ds-text color="soft" class="shout-button-text">
|
||||||
<ds-heading style="display: inline;" tag="h3">{{ shoutedCount }}x</ds-heading>
|
<ds-heading style="display: inline" tag="h3">{{ shoutedCount }}x</ds-heading>
|
||||||
{{ $t('shoutButton.shouted') }}
|
{{ $t('shoutButton.shouted') }}
|
||||||
</ds-text>
|
</ds-text>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
|
|||||||
@ -1,22 +1,22 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="layout-blank">
|
<div class="layout-blank">
|
||||||
<div class="main-navigation">
|
<div class="main-navigation">
|
||||||
<ds-container width="x-large" class="main-navigation-container" style="padding: 10px 10px;">
|
<ds-container width="x-large" class="main-navigation-container" style="padding: 10px 10px">
|
||||||
<ds-flex class="main-navigation-flex" centered>
|
<ds-flex class="main-navigation-flex" centered>
|
||||||
<ds-flex-item width="5.5%" />
|
<ds-flex-item width="5.5%" />
|
||||||
<ds-flex-item style="flex-grow: 1;" width="20%">
|
<ds-flex-item style="flex-grow: 1" width="20%">
|
||||||
<a @click="redirectToRoot">
|
<a @click="redirectToRoot">
|
||||||
<logo />
|
<logo />
|
||||||
</a>
|
</a>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
<ds-flex-item width="20%" style="flex-grow: 0;">
|
<ds-flex-item width="20%" style="flex-grow: 0">
|
||||||
<locale-switch class="topbar-locale-switch" placement="top" offset="16" />
|
<locale-switch class="topbar-locale-switch" placement="top" offset="16" />
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
</ds-flex>
|
</ds-flex>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
</div>
|
</div>
|
||||||
<ds-container>
|
<ds-container>
|
||||||
<div style="padding: 5rem 2rem;">
|
<div style="padding: 5rem 2rem">
|
||||||
<nuxt />
|
<nuxt />
|
||||||
</div>
|
</div>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="layout-blank">
|
<div class="layout-blank">
|
||||||
<ds-container>
|
<ds-container>
|
||||||
<div style="padding: 5rem 2rem;">
|
<div style="padding: 5rem 2rem">
|
||||||
<nuxt />
|
<nuxt />
|
||||||
</div>
|
</div>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="layout-default">
|
<div class="layout-default">
|
||||||
<div class="main-navigation">
|
<div class="main-navigation">
|
||||||
<ds-container class="main-navigation-container" style="padding: 10px 10px;">
|
<ds-container class="main-navigation-container" style="padding: 10px 10px">
|
||||||
<div>
|
<div>
|
||||||
<ds-flex class="main-navigation-flex">
|
<ds-flex class="main-navigation-flex">
|
||||||
<ds-flex-item :width="{ base: '142px' }">
|
<ds-flex-item :width="{ base: '142px' }">
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<ds-flex-item
|
<ds-flex-item
|
||||||
:width="{ base: '45%', sm: '45%', md: '45%', lg: '50%' }"
|
:width="{ base: '45%', sm: '45%', md: '45%', lg: '50%' }"
|
||||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||||
style="flex-shrink: 0; flex-grow: 1;"
|
style="flex-shrink: 0; flex-grow: 1"
|
||||||
id="nav-search-box"
|
id="nav-search-box"
|
||||||
v-if="isLoggedIn"
|
v-if="isLoggedIn"
|
||||||
>
|
>
|
||||||
@ -27,14 +27,14 @@
|
|||||||
<ds-flex-item
|
<ds-flex-item
|
||||||
v-if="isLoggedIn"
|
v-if="isLoggedIn"
|
||||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||||
style="flex-grow: 0; flex-basis: auto;"
|
style="flex-grow: 0; flex-basis: auto"
|
||||||
>
|
>
|
||||||
<client-only>
|
<client-only>
|
||||||
<filter-menu v-show="showFilterMenuDropdown" />
|
<filter-menu v-show="showFilterMenuDropdown" />
|
||||||
</client-only>
|
</client-only>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
<ds-flex-item
|
<ds-flex-item
|
||||||
style="background-color: white; flex-basis: auto;"
|
style="background-color: white; flex-basis: auto"
|
||||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -43,7 +43,7 @@
|
|||||||
'desktop-view': !toggleMobileMenu,
|
'desktop-view': !toggleMobileMenu,
|
||||||
'hide-mobile-menu': !toggleMobileMenu,
|
'hide-mobile-menu': !toggleMobileMenu,
|
||||||
}"
|
}"
|
||||||
style="flex-basis: auto;"
|
style="flex-basis: auto"
|
||||||
>
|
>
|
||||||
<locale-switch class="topbar-locale-switch" placement="top" offset="8" />
|
<locale-switch class="topbar-locale-switch" placement="top" offset="8" />
|
||||||
<template v-if="isLoggedIn">
|
<template v-if="isLoggedIn">
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="layout-blank">
|
<div class="layout-blank">
|
||||||
<ds-container>
|
<ds-container>
|
||||||
<div style="padding: 5rem 2rem;">
|
<div style="padding: 5rem 2rem">
|
||||||
<nuxt />
|
<nuxt />
|
||||||
</div>
|
</div>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
|
|||||||
@ -2,10 +2,10 @@
|
|||||||
<ds-container width="small">
|
<ds-container width="small">
|
||||||
<ds-flex>
|
<ds-flex>
|
||||||
<ds-flex-item :width="{ base: '100%' }" centered>
|
<ds-flex-item :width="{ base: '100%' }" centered>
|
||||||
<ds-space style="text-align: center;" margin-top="large" margin-bottom="xxx-small" centered>
|
<ds-space style="text-align: center" margin-top="large" margin-bottom="xxx-small" centered>
|
||||||
<img style="width: 200px;" alt="Logging out" src="/img/custom/logout.svg" />
|
<img style="width: 200px" alt="Logging out" src="/img/custom/logout.svg" />
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-space style="text-align: center;" margin-top="small" margin-bottom="xxx-small" centered>
|
<ds-space style="text-align: center" margin-top="small" margin-bottom="xxx-small" centered>
|
||||||
<ds-heading tag="h3" soft>Logging out...</ds-heading>
|
<ds-heading tag="h3" soft>Logging out...</ds-heading>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<ds-flex-item :width="{ base: '100%', sm: 2, md: 2, lg: 1 }">
|
<ds-flex-item :width="{ base: '100%', sm: 2, md: 2, lg: 1 }">
|
||||||
<base-card
|
<base-card
|
||||||
:class="{ 'disabled-content': user.disabled }"
|
:class="{ 'disabled-content': user.disabled }"
|
||||||
style="position: relative; height: auto; overflow: visible;"
|
style="position: relative; height: auto; overflow: visible"
|
||||||
>
|
>
|
||||||
<hc-upload v-if="myProfile" :user="user">
|
<hc-upload v-if="myProfile" :user="user">
|
||||||
<user-avatar :user="user" class="profile-avatar" size="large"></user-avatar>
|
<user-avatar :user="user" class="profile-avatar" size="large"></user-avatar>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</base-card>
|
</base-card>
|
||||||
<ds-space />
|
<ds-space />
|
||||||
<ds-heading tag="h3" soft style="text-align: center; margin-bottom: 10px;">
|
<ds-heading tag="h3" soft style="text-align: center; margin-bottom: 10px">
|
||||||
{{ $t('profile.network.title') }}
|
{{ $t('profile.network.title') }}
|
||||||
</ds-heading>
|
</ds-heading>
|
||||||
<follow-list
|
<follow-list
|
||||||
@ -104,7 +104,7 @@
|
|||||||
@fetchAllConnections="fetchAllConnections"
|
@fetchAllConnections="fetchAllConnections"
|
||||||
/>
|
/>
|
||||||
<ds-space v-if="user.socialMedia && user.socialMedia.length" margin="large">
|
<ds-space v-if="user.socialMedia && user.socialMedia.length" margin="large">
|
||||||
<base-card style="position: relative; height: auto;">
|
<base-card style="position: relative; height: auto">
|
||||||
<ds-space margin="x-small">
|
<ds-space margin="x-small">
|
||||||
<ds-text tag="h5" color="soft">
|
<ds-text tag="h5" color="soft">
|
||||||
{{ $t('profile.socialMedia') }} {{ userName | truncate(15) }}?
|
{{ $t('profile.socialMedia') }} {{ userName | truncate(15) }}?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user