Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
87c429b5
Commit
87c429b5
authored
3 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
tweak ui
parent
8233f861
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/client/src/pages/settings/custom-css.vue
+6
-19
6 additions, 19 deletions
packages/client/src/pages/settings/custom-css.vue
packages/client/src/pages/settings/mute-block.vue
+10
-18
10 additions, 18 deletions
packages/client/src/pages/settings/mute-block.vue
with
16 additions
and
37 deletions
packages/client/src/pages/settings/custom-css.vue
+
6
−
19
View file @
87c429b5
<
template
>
<
FormBase
>
<FormInfo
warn
>
{{
$ts
.
customCssWarn
}}
</FormInfo>
<
div
class=
"_formRoot"
>
<FormInfo
warn
class=
"_formBlock"
>
{{
$ts
.
customCssWarn
}}
</FormInfo>
<FormTextarea
v-model=
"localCustomCss"
manual-save
tall
class=
"_monospace"
style=
"tab-size: 2;"
>
<
span>
{{
$ts
.
local
}}
</span
>
<FormTextarea
v-model=
"localCustomCss"
manual-save
tall
class=
"_monospace
_formBlock
"
style=
"tab-size: 2;"
>
<
template
#label
>
CSS
</
template
>
</FormTextarea>
</
FormBase
>
</
div
>
</template>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
FormTextarea
from
'
@/components/form/textarea.vue
'
;
import
FormSelect
from
'
@/components/form/select.vue
'
;
import
FormRadios
from
'
@/components/form/radios.vue
'
;
import
FormBase
from
'
@/components/debobigego/base.vue
'
;
import
FormGroup
from
'
@/components/debobigego/group.vue
'
;
import
FormLink
from
'
@/components/debobigego/link.vue
'
;
import
FormButton
from
'
@/components/debobigego/button.vue
'
;
import
FormInfo
from
'
@/components/debobigego/info.vue
'
;
import
FormInfo
from
'
@/components/ui/info.vue
'
;
import
*
as
os
from
'
@/os
'
;
import
{
ColdDeviceStorage
}
from
'
@/store
'
;
import
{
unisonReload
}
from
'
@/scripts/unison-reload
'
;
import
*
as
symbols
from
'
@/symbols
'
;
import
{
defaultStore
}
from
'
@/store
'
;
...
...
@@ -27,12 +20,6 @@ import { defaultStore } from '@/store';
export
default
defineComponent
({
components
:
{
FormTextarea
,
FormSelect
,
FormRadios
,
FormBase
,
FormGroup
,
FormLink
,
FormButton
,
FormInfo
,
},
...
...
This diff is collapsed.
Click to expand it.
packages/client/src/pages/settings/mute-block.vue
+
10
−
18
View file @
87c429b5
<
template
>
<
FormBase
>
<
div
class=
"_formRoot"
>
<MkTab
v-model=
"tab"
style=
"margin-bottom: var(--margin);"
>
<option
value=
"mute"
>
{{
$ts
.
mutedUsers
}}
</option>
<option
value=
"block"
>
{{
$ts
.
blockedUsers
}}
</option>
...
...
@@ -8,11 +8,9 @@
<MkPagination
:pagination=
"mutingPagination"
class=
"muting"
>
<template
#empty
><FormInfo>
{{
$ts
.
noUsers
}}
</FormInfo></
template
>
<
template
v-slot=
"{items}"
>
<FormGroup>
<FormLink
v-for=
"mute in items"
:key=
"mute.id"
:to=
"userPage(mute.mutee)"
>
<MkAcct
:user=
"mute.mutee"
/>
</FormLink>
</FormGroup>
<FormLink
v-for=
"mute in items"
:key=
"mute.id"
:to=
"userPage(mute.mutee)"
>
<MkAcct
:user=
"mute.mutee"
/>
</FormLink>
</
template
>
</MkPagination>
</div>
...
...
@@ -20,25 +18,21 @@
<MkPagination
:pagination=
"blockingPagination"
class=
"blocking"
>
<
template
#empty
><FormInfo>
{{
$ts
.
noUsers
}}
</FormInfo></
template
>
<
template
v-slot=
"{items}"
>
<FormGroup>
<FormLink
v-for=
"block in items"
:key=
"block.id"
:to=
"userPage(block.blockee)"
>
<MkAcct
:user=
"block.blockee"
/>
</FormLink>
</FormGroup>
<FormLink
v-for=
"block in items"
:key=
"block.id"
:to=
"userPage(block.blockee)"
>
<MkAcct
:user=
"block.blockee"
/>
</FormLink>
</
template
>
</MkPagination>
</div>
</
FormBase
>
</
div
>
</template>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
MkPagination
from
'
@/components/ui/pagination.vue
'
;
import
MkTab
from
'
@/components/tab.vue
'
;
import
FormInfo
from
'
@/components/debobigego/info.vue
'
;
import
FormLink
from
'
@/components/debobigego/link.vue
'
;
import
FormBase
from
'
@/components/debobigego/base.vue
'
;
import
FormGroup
from
'
@/components/debobigego/group.vue
'
;
import
FormInfo
from
'
@/components/ui/info.vue
'
;
import
FormLink
from
'
@/components/form/link.vue
'
;
import
{
userPage
}
from
'
@/filters/user
'
;
import
*
as
os
from
'
@/os
'
;
import
*
as
symbols
from
'
@/symbols
'
;
...
...
@@ -48,8 +42,6 @@ export default defineComponent({
MkPagination
,
MkTab
,
FormInfo
,
FormBase
,
FormGroup
,
FormLink
,
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment