Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Pleroma
pleroma-fe
Commits
b9c69a22
Commit
b9c69a22
authored
1 year ago
by
HJ
Browse files
Options
Downloads
Patches
Plain Diff
improve the semantics
parent
1935bf6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1861
Update master branch
,
!1800
AdminFE functionality in PleromaFE
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/settings_modal/admin_tabs/frontends_tab.vue
+14
-14
14 additions, 14 deletions
src/components/settings_modal/admin_tabs/frontends_tab.vue
src/components/settings_modal/admin_tabs/limits_tab.vue
+116
-106
116 additions, 106 deletions
src/components/settings_modal/admin_tabs/limits_tab.vue
with
130 additions
and
120 deletions
src/components/settings_modal/admin_tabs/frontends_tab.vue
+
14
−
14
View file @
b9c69a22
...
...
@@ -11,15 +11,17 @@
<h3>
{{
$t
(
'
admin_dash.frontend.default_frontend
'
)
}}
</h3>
<p>
{{
$t
(
'
admin_dash.frontend.default_frontend_tip
'
)
}}
</p>
<p>
{{
$t
(
'
admin_dash.frontend.default_frontend_tip2
'
)
}}
</p>
</li>
<li>
<StringSetting
path=
":pleroma.:frontends.:primary.name"
/>
</li>
<li>
<StringSetting
path=
":pleroma.:frontends.:primary.ref"
/>
</li>
<li>
<GroupSetting
path=
":pleroma.:frontends.:primary"
/>
<ul
class=
"setting-list"
>
<li>
<StringSetting
path=
":pleroma.:frontends.:primary.name"
/>
</li>
<li>
<StringSetting
path=
":pleroma.:frontends.:primary.ref"
/>
</li>
<li>
<GroupSetting
path=
":pleroma.:frontends.:primary"
/>
</li>
</ul>
</li>
</ul>
<div
class=
"setting-list"
>
...
...
@@ -77,7 +79,6 @@
<button
class=
"button button-default btn"
type=
"button"
:title=
"$t('admin_dash.frontend.update')"
@
click=
"update(frontend)"
>
{{
...
...
@@ -112,7 +113,7 @@
<button
class=
"button button-default btn dropdown-button"
type=
"button"
:title=
"$t('admin_dash.frontend.
update
')"
:title=
"$t('admin_dash.frontend.
more_install_options
')"
>
<FAIcon
icon=
"chevron-down"
/>
</button>
...
...
@@ -120,7 +121,7 @@
</Popover>
</span>
<span
v-if=
"frontend.name !== 'admin-fe'"
v-if=
"
frontend.installed &&
frontend.name !== 'admin-fe'"
class=
"btn-group"
>
<button
...
...
@@ -130,7 +131,6 @@
adminDraft[':pleroma'][':frontends'][':primary'].name === frontend.name &&
adminDraft[':pleroma'][':frontends'][':primary'].ref === frontend.refs[0]
"
:title=
"$t('admin_dash.frontend.update')"
@
click=
"setDefault(frontend)"
>
{{
...
...
@@ -164,7 +164,7 @@
<button
class=
"button button-default btn dropdown-button"
type=
"button"
:title=
"$t('admin_dash.frontend.
update
')"
:title=
"$t('admin_dash.frontend.
more_default_options
')"
>
<FAIcon
icon=
"chevron-down"
/>
</button>
...
...
This diff is collapsed.
Click to expand it.
src/components/settings_modal/admin_tabs/limits_tab.vue
+
116
−
106
View file @
b9c69a22
...
...
@@ -5,118 +5,128 @@
<ul
class=
"setting-list"
>
<li>
<h3>
{{
$t
(
'
admin_dash.limits.posts
'
)
}}
</h3>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:remote_limit"
expert=
"1"
draft-mode
/>
<ul
class=
"setting-list"
>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:remote_limit"
expert=
"1"
draft-mode
/>
</li>
</ul>
</li>
<li>
<h3>
{{
$t
(
'
admin_dash.limits.uploads
'
)
}}
</h3>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:description_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:upload_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_media_attachments"
draft-mode
/>
<ul
class=
"setting-list"
>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:description_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:upload_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_media_attachments"
draft-mode
/>
</li>
</ul>
</li>
<li>
<h3>
{{
$t
(
'
admin_dash.limits.users
'
)
}}
</h3>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_pinned_statuses"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:user_bio_length"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:user_name_length"
draft-mode
/>
</li>
<li>
<h4>
{{
$t
(
'
admin_dash.limits.profile_fields
'
)
}}
</h4>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_account_fields"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_remote_account_fields"
draft-mode
expert=
"1"
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:account_field_name_length"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:account_field_value_length"
draft-mode
/>
</li>
<li>
<h4>
{{
$t
(
'
admin_dash.limits.user_uploads
'
)
}}
</h4>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:avatar_upload_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:banner_upload_limit"
draft-mode
/>
<ul
class=
"setting-list"
>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_pinned_statuses"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:user_bio_length"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:user_name_length"
draft-mode
/>
</li>
<li>
<h4>
{{
$t
(
'
admin_dash.limits.profile_fields
'
)
}}
</h4>
<ul
class=
"setting-list"
>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_account_fields"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:max_remote_account_fields"
draft-mode
expert=
"1"
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:account_field_name_length"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:account_field_value_length"
draft-mode
/>
</li>
</ul>
</li>
<li>
<h4>
{{
$t
(
'
admin_dash.limits.user_uploads
'
)
}}
</h4>
<ul
class=
"setting-list"
>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:avatar_upload_limit"
draft-mode
/>
</li>
<li>
<IntegerSetting
source=
"admin"
path=
":pleroma.:instance.:banner_upload_limit"
draft-mode
/>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
...
...
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