improve the semantics

This commit is contained in:
Henry Jameson 2023-05-08 21:01:29 +03:00
parent 1935bf6bd4
commit b9c69a2272
2 changed files with 130 additions and 120 deletions

View File

@ -11,7 +11,7 @@
<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>
<ul class="setting-list">
<li>
<StringSetting path=":pleroma.:frontends.:primary.name"/>
</li>
@ -22,6 +22,8 @@
<GroupSetting path=":pleroma.:frontends.:primary" />
</li>
</ul>
</li>
</ul>
<div class="setting-list">
<h3>{{ $t('admin_dash.frontend.available_frontends') }}</h3>
<ul class="cards-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>

View File

@ -5,7 +5,7 @@
<ul class="setting-list">
<li>
<h3>{{ $t('admin_dash.limits.posts') }}</h3>
</li>
<ul class="setting-list">
<li>
<IntegerSetting
source="admin"
@ -21,9 +21,11 @@
draft-mode
/>
</li>
</ul>
</li>
<li>
<h3>{{ $t('admin_dash.limits.uploads') }}</h3>
</li>
<ul class="setting-list">
<li>
<IntegerSetting
source="admin"
@ -45,9 +47,11 @@
draft-mode
/>
</li>
</ul>
</li>
<li>
<h3>{{ $t('admin_dash.limits.users') }}</h3>
</li>
<ul class="setting-list">
<li>
<IntegerSetting
source="admin"
@ -71,7 +75,7 @@
</li>
<li>
<h4>{{ $t('admin_dash.limits.profile_fields') }}</h4>
</li>
<ul class="setting-list">
<li>
<IntegerSetting
source="admin"
@ -101,9 +105,11 @@
draft-mode
/>
</li>
</ul>
</li>
<li>
<h4>{{ $t('admin_dash.limits.user_uploads') }}</h4>
</li>
<ul class="setting-list">
<li>
<IntegerSetting
source="admin"
@ -119,6 +125,10 @@
/>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</template>