improve the semantics
This commit is contained in:
parent
1935bf6bd4
commit
b9c69a2272
@ -11,15 +11,17 @@
|
|||||||
<h3>{{ $t('admin_dash.frontend.default_frontend') }}</h3>
|
<h3>{{ $t('admin_dash.frontend.default_frontend') }}</h3>
|
||||||
<p>{{ $t('admin_dash.frontend.default_frontend_tip') }}</p>
|
<p>{{ $t('admin_dash.frontend.default_frontend_tip') }}</p>
|
||||||
<p>{{ $t('admin_dash.frontend.default_frontend_tip2') }}</p>
|
<p>{{ $t('admin_dash.frontend.default_frontend_tip2') }}</p>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<StringSetting path=":pleroma.:frontends.:primary.name"/>
|
<StringSetting path=":pleroma.:frontends.:primary.name"/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<StringSetting path=":pleroma.:frontends.:primary.ref"/>
|
<StringSetting path=":pleroma.:frontends.:primary.ref"/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<GroupSetting path=":pleroma.:frontends.:primary" />
|
<GroupSetting path=":pleroma.:frontends.:primary" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="setting-list">
|
<div class="setting-list">
|
||||||
@ -77,7 +79,6 @@
|
|||||||
<button
|
<button
|
||||||
class="button button-default btn"
|
class="button button-default btn"
|
||||||
type="button"
|
type="button"
|
||||||
:title="$t('admin_dash.frontend.update')"
|
|
||||||
@click="update(frontend)"
|
@click="update(frontend)"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
@ -112,7 +113,7 @@
|
|||||||
<button
|
<button
|
||||||
class="button button-default btn dropdown-button"
|
class="button button-default btn dropdown-button"
|
||||||
type="button"
|
type="button"
|
||||||
:title="$t('admin_dash.frontend.update')"
|
:title="$t('admin_dash.frontend.more_install_options')"
|
||||||
>
|
>
|
||||||
<FAIcon icon="chevron-down" />
|
<FAIcon icon="chevron-down" />
|
||||||
</button>
|
</button>
|
||||||
@ -120,7 +121,7 @@
|
|||||||
</Popover>
|
</Popover>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
v-if="frontend.name !== 'admin-fe'"
|
v-if="frontend.installed && frontend.name !== 'admin-fe'"
|
||||||
class="btn-group"
|
class="btn-group"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
@ -130,7 +131,6 @@
|
|||||||
adminDraft[':pleroma'][':frontends'][':primary'].name === frontend.name &&
|
adminDraft[':pleroma'][':frontends'][':primary'].name === frontend.name &&
|
||||||
adminDraft[':pleroma'][':frontends'][':primary'].ref === frontend.refs[0]
|
adminDraft[':pleroma'][':frontends'][':primary'].ref === frontend.refs[0]
|
||||||
"
|
"
|
||||||
:title="$t('admin_dash.frontend.update')"
|
|
||||||
@click="setDefault(frontend)"
|
@click="setDefault(frontend)"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
@ -164,7 +164,7 @@
|
|||||||
<button
|
<button
|
||||||
class="button button-default btn dropdown-button"
|
class="button button-default btn dropdown-button"
|
||||||
type="button"
|
type="button"
|
||||||
:title="$t('admin_dash.frontend.update')"
|
:title="$t('admin_dash.frontend.more_default_options')"
|
||||||
>
|
>
|
||||||
<FAIcon icon="chevron-down" />
|
<FAIcon icon="chevron-down" />
|
||||||
</button>
|
</button>
|
||||||
|
@ -5,118 +5,128 @@
|
|||||||
<ul class="setting-list">
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<h3>{{ $t('admin_dash.limits.posts') }}</h3>
|
<h3>{{ $t('admin_dash.limits.posts') }}</h3>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:limit"
|
path=":pleroma.:instance.:limit"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:remote_limit"
|
path=":pleroma.:instance.:remote_limit"
|
||||||
expert="1"
|
expert="1"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>{{ $t('admin_dash.limits.uploads') }}</h3>
|
<h3>{{ $t('admin_dash.limits.uploads') }}</h3>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:description_limit"
|
path=":pleroma.:instance.:description_limit"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:upload_limit"
|
path=":pleroma.:instance.:upload_limit"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:max_media_attachments"
|
path=":pleroma.:instance.:max_media_attachments"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>{{ $t('admin_dash.limits.users') }}</h3>
|
<h3>{{ $t('admin_dash.limits.users') }}</h3>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:max_pinned_statuses"
|
path=":pleroma.:instance.:max_pinned_statuses"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:user_bio_length"
|
path=":pleroma.:instance.:user_bio_length"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:user_name_length"
|
path=":pleroma.:instance.:user_name_length"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h4>{{ $t('admin_dash.limits.profile_fields') }}</h4>
|
<h4>{{ $t('admin_dash.limits.profile_fields') }}</h4>
|
||||||
</li>
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:max_account_fields"
|
path=":pleroma.:instance.:max_account_fields"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:max_remote_account_fields"
|
path=":pleroma.:instance.:max_remote_account_fields"
|
||||||
draft-mode
|
draft-mode
|
||||||
expert="1"
|
expert="1"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:account_field_name_length"
|
path=":pleroma.:instance.:account_field_name_length"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IntegerSetting
|
<IntegerSetting
|
||||||
source="admin"
|
source="admin"
|
||||||
path=":pleroma.:instance.:account_field_value_length"
|
path=":pleroma.:instance.:account_field_value_length"
|
||||||
draft-mode
|
draft-mode
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
</ul>
|
||||||
<h4>{{ $t('admin_dash.limits.user_uploads') }}</h4>
|
</li>
|
||||||
</li>
|
<li>
|
||||||
<li>
|
<h4>{{ $t('admin_dash.limits.user_uploads') }}</h4>
|
||||||
<IntegerSetting
|
<ul class="setting-list">
|
||||||
source="admin"
|
<li>
|
||||||
path=":pleroma.:instance.:avatar_upload_limit"
|
<IntegerSetting
|
||||||
draft-mode
|
source="admin"
|
||||||
/>
|
path=":pleroma.:instance.:avatar_upload_limit"
|
||||||
</li>
|
draft-mode
|
||||||
<li>
|
/>
|
||||||
<IntegerSetting
|
</li>
|
||||||
source="admin"
|
<li>
|
||||||
path=":pleroma.:instance.:banner_upload_limit"
|
<IntegerSetting
|
||||||
draft-mode
|
source="admin"
|
||||||
/>
|
path=":pleroma.:instance.:banner_upload_limit"
|
||||||
|
draft-mode
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user