pleasing the linter gods
This commit is contained in:
parent
06608adec4
commit
3355f1d797
10 changed files with 21 additions and 13 deletions
|
|
@ -13,8 +13,8 @@
|
||||||
</label>
|
</label>
|
||||||
<span class="setting-control btn-group">
|
<span class="setting-control btn-group">
|
||||||
<Select
|
<Select
|
||||||
:name="uniqueId+index"
|
|
||||||
:id="uniqueId+index"
|
:id="uniqueId+index"
|
||||||
|
:name="uniqueId+index"
|
||||||
class="language-select"
|
class="language-select"
|
||||||
:model-value="controlledLanguage[index]"
|
:model-value="controlledLanguage[index]"
|
||||||
@update:model-value="val => setLanguageAt(index, val)"
|
@update:model-value="val => setLanguageAt(index, val)"
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,8 @@
|
||||||
<div class="setting-control">
|
<div class="setting-control">
|
||||||
<ul class="item-list">
|
<ul class="item-list">
|
||||||
<li
|
<li
|
||||||
class="no_items"
|
|
||||||
v-if="visibleState.length === 0"
|
v-if="visibleState.length === 0"
|
||||||
|
class="no_items"
|
||||||
>
|
>
|
||||||
{{ $t('admin_dash.instance.pwa.no_icons') }}
|
{{ $t('admin_dash.instance.pwa.no_icons') }}
|
||||||
<button
|
<button
|
||||||
|
|
@ -59,8 +59,8 @@
|
||||||
<div class="src-url">
|
<div class="src-url">
|
||||||
<label for="path">{{ $t('settings.url') }}</label>
|
<label for="path">{{ $t('settings.url') }}</label>
|
||||||
<input
|
<input
|
||||||
class="input string-input"
|
|
||||||
:id="path"
|
:id="path"
|
||||||
|
class="input string-input"
|
||||||
:disabled="shouldBeDisabled"
|
:disabled="shouldBeDisabled"
|
||||||
:value="item[':src']"
|
:value="item[':src']"
|
||||||
@change="event => update({ event, index, eventType: 'edit', field: ':src' })"
|
@change="event => update({ event, index, eventType: 'edit', field: ':src' })"
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@
|
||||||
</Checkbox>
|
</Checkbox>
|
||||||
</div>
|
</div>
|
||||||
<DraftButtons />
|
<DraftButtons />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./rate_setting.js"></script>
|
<script src="./rate_setting.js"></script>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<span
|
<span
|
||||||
class="setting-item"
|
|
||||||
v-if="matchesExpertLevel"
|
v-if="matchesExpertLevel"
|
||||||
|
class="setting-item"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
v-if="!hideLabel"
|
v-if="!hideLabel"
|
||||||
|
|
|
||||||
|
|
@ -208,10 +208,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* stylelint-disable no-descending-specificity */
|
||||||
.setting-item {
|
.setting-item {
|
||||||
grid-template-columns: 1fr min-content;
|
grid-template-columns: 1fr min-content;
|
||||||
column-gap: 0.5em;
|
column-gap: 0.5em;
|
||||||
padding: 1em 1em;
|
padding: 1em;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.setting-label {
|
.setting-label {
|
||||||
|
|
@ -229,6 +230,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.setting-list:not(.suboptions),
|
.setting-list:not(.suboptions),
|
||||||
.option-list {
|
.option-list {
|
||||||
&.two-column {
|
&.two-column {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,10 @@
|
||||||
<h3>{{ $t('settings.general') }}</h3>
|
<h3>{{ $t('settings.general') }}</h3>
|
||||||
<ul class="setting-list">
|
<ul class="setting-list">
|
||||||
<li>
|
<li>
|
||||||
<label class="setting-item " for="default-vis">
|
<label
|
||||||
|
class="setting-item "
|
||||||
|
for="default-vis"
|
||||||
|
>
|
||||||
<span class="setting-label">
|
<span class="setting-label">
|
||||||
<ProfileSettingIndicator :is-profile="true" />
|
<ProfileSettingIndicator :is-profile="true" />
|
||||||
{{ $t('settings.default_vis') }}
|
{{ $t('settings.default_vis') }}
|
||||||
|
|
|
||||||
|
|
@ -54,8 +54,8 @@
|
||||||
</span>
|
</span>
|
||||||
<Select
|
<Select
|
||||||
id="onBlockDefaultActionLv1"
|
id="onBlockDefaultActionLv1"
|
||||||
class="setting-control"
|
|
||||||
v-model="onBlockDefaultActionLv1"
|
v-model="onBlockDefaultActionLv1"
|
||||||
|
class="setting-control"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
v-for="option in muteBlockLv1Options"
|
v-for="option in muteBlockLv1Options"
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,9 @@
|
||||||
class="setting-list"
|
class="setting-list"
|
||||||
>
|
>
|
||||||
<li class="select-multiple">
|
<li class="select-multiple">
|
||||||
<h4 class="label">{{ $t('settings.confirm_dialogs') }}</h4>
|
<h4 class="label">
|
||||||
|
{{ $t('settings.confirm_dialogs') }}
|
||||||
|
</h4>
|
||||||
<ul class="option-list">
|
<ul class="option-list">
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting path="modalOnRepeat">
|
<BooleanSetting path="modalOnRepeat">
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@
|
||||||
<li>
|
<li>
|
||||||
<h4> {{ $t('settings.notification_visibility') }}</h4>
|
<h4> {{ $t('settings.notification_visibility') }}</h4>
|
||||||
<p
|
<p
|
||||||
class="sidenote"
|
|
||||||
v-if="expertLevel > 0"
|
v-if="expertLevel > 0"
|
||||||
|
class="sidenote"
|
||||||
>
|
>
|
||||||
{{ $t('settings.notification_setting_filters_chrome_push') }}
|
{{ $t('settings.notification_setting_filters_chrome_push') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
<li>
|
<li>
|
||||||
<div class="setting-item">
|
<div class="setting-item">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
class="setting-label setting-control custom-boolean-setting"
|
|
||||||
v-model="locked"
|
v-model="locked"
|
||||||
|
class="setting-label setting-control custom-boolean-setting"
|
||||||
>
|
>
|
||||||
<ProfileSettingIndicator :is-profile="true" />
|
<ProfileSettingIndicator :is-profile="true" />
|
||||||
{{ $t('settings.lock_account_description') }}
|
{{ $t('settings.lock_account_description') }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue