lint
This commit is contained in:
parent
bc47bef80d
commit
bdb992a8e5
16 changed files with 66 additions and 47 deletions
|
|
@ -13,8 +13,8 @@
|
|||
<button
|
||||
class="button button-default"
|
||||
type="button"
|
||||
@click="reloadEmoji"
|
||||
:title="$t('admin_dash.emoji.reload')"
|
||||
@click="reloadEmoji"
|
||||
>
|
||||
<FAIcon icon="arrows-rotate" />
|
||||
{{ $t('admin_dash.emoji.reload_short') }}
|
||||
|
|
@ -62,8 +62,8 @@
|
|||
<template #trigger>
|
||||
<button
|
||||
class="button button-default emoji-panel-additional-actions"
|
||||
@click="$refs.additionalRemotePopover.showPopover"
|
||||
:title="$t('admin_dash.emoji.import_pack')"
|
||||
@click="$refs.additionalRemotePopover.showPopover"
|
||||
>
|
||||
<FAIcon icon="folder-open" />
|
||||
{{ $t('admin_dash.emoji.import_pack_short') }}
|
||||
|
|
@ -372,8 +372,9 @@
|
|||
</EmojiEditingPopover>
|
||||
<template v-if="!pack">
|
||||
<div
|
||||
v-for="(_, i) in new Array(20)"
|
||||
:key="i"
|
||||
class="placeholder"
|
||||
v-for="_ in new Array(20)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@
|
|||
<ul class="cards-list">
|
||||
<li
|
||||
v-for="frontend in frontends"
|
||||
class="frontend-card"
|
||||
:key="frontend.name"
|
||||
class="frontend-card"
|
||||
>
|
||||
<h5>{{ frontend.name }}</h5>
|
||||
{{ ' ' }}
|
||||
|
|
|
|||
|
|
@ -141,6 +141,6 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" src="./links_tab.scss"></style>
|
||||
|
||||
<script src="./links_tab.js"></script>
|
||||
|
||||
<style lang="scss" src="./links_tab.scss"></style>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
<h4>{{ $t('admin_dash.mailer.auth') }}</h4>
|
||||
<ul class="setting-list suboptions">
|
||||
<li v-if="adapterHasKey(':api_key')">
|
||||
|
||||
<!-- authentication info -->
|
||||
<StringSetting
|
||||
:path="[':pleroma','Pleroma.Emails.Mailer',':api_key']"
|
||||
|
|
@ -38,7 +37,8 @@
|
|||
/>
|
||||
</li>
|
||||
<li v-if="adapterHasKey(':username')">
|
||||
<StringSetting :path="[':pleroma','Pleroma.Emails.Mailer',':username']"
|
||||
<StringSetting
|
||||
:path="[':pleroma','Pleroma.Emails.Mailer',':username']"
|
||||
:subgroup="adapter"
|
||||
/>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
</label>
|
||||
</template>
|
||||
|
||||
<script src="./color_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.ColorSetting {
|
||||
.color-setting-input {
|
||||
|
|
@ -51,4 +52,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<script src="./color_setting.js"></script>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<!-- TODO make it reusable -->
|
||||
<template>
|
||||
<span
|
||||
class="DraftButtons"
|
||||
v-if="$parent.isDirty || $parent.canHardReset"
|
||||
class="DraftButtons"
|
||||
>
|
||||
<Popover
|
||||
v-if="$parent.isDirty"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@
|
|||
{{ backendDescriptionDescription + ' ' }}
|
||||
</p>
|
||||
<ul class="setting-list">
|
||||
<li v-for="item in builtinEntries">
|
||||
<li
|
||||
v-for="(item, i) in builtinEntries"
|
||||
:key="i"
|
||||
>
|
||||
<Checkbox
|
||||
:disabled="shouldBeDisabled"
|
||||
:model-value="optionPresent(item.value)"
|
||||
|
|
@ -32,7 +35,10 @@
|
|||
{{ item.label }}
|
||||
</Checkbox>
|
||||
</li>
|
||||
<li v-for="(item, index) in extraEntries">
|
||||
<li
|
||||
v-for="(item, index) in extraEntries"
|
||||
:key="index"
|
||||
>
|
||||
<div class="btn-group">
|
||||
<input
|
||||
class="input string-input"
|
||||
|
|
@ -51,10 +57,10 @@
|
|||
<li v-if="showNew">
|
||||
<div class="btn-group">
|
||||
<input
|
||||
v-model="newValue"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
v-model="newValue"
|
||||
>
|
||||
<button
|
||||
class="button-default"
|
||||
|
|
@ -74,6 +80,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./list_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.ListSetting {
|
||||
.btn-group {
|
||||
|
|
@ -81,4 +88,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<script src="./list_setting.js"></script>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@
|
|||
{{ backendDescriptionDescription + ' ' }}
|
||||
</p>
|
||||
<ul class="setting-list">
|
||||
<li v-for="(item, index) in visibleState">
|
||||
<li
|
||||
v-for="(item, index) in visibleState"
|
||||
:key="index"
|
||||
>
|
||||
<div class="btn-group">
|
||||
<input
|
||||
class="input string-input"
|
||||
|
|
@ -48,18 +51,18 @@
|
|||
<li>
|
||||
<div class="btn-group">
|
||||
<input
|
||||
v-model="newValue[0]"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
:placeholder="backendDescriptionSuggestions[0][0]"
|
||||
v-model="newValue[0]"
|
||||
>
|
||||
<input
|
||||
v-model="newValue[1]"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
:placeholder="backendDescriptionSuggestions[0][1]"
|
||||
v-model="newValue[1]"
|
||||
>
|
||||
<button
|
||||
class="button-default"
|
||||
|
|
@ -79,6 +82,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./list_tuple_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.ListTupleSetting {
|
||||
.btn-group {
|
||||
|
|
@ -107,4 +111,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<script src="./list_tuple_setting.js"></script>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@
|
|||
{{ backendDescriptionDescription + ' ' }}
|
||||
</p>
|
||||
<ul class="setting-list">
|
||||
<li v-for="item in displayState">
|
||||
<li
|
||||
v-for="(item, i) in displayState"
|
||||
:key="i"
|
||||
>
|
||||
<div class="btn-group">
|
||||
<input
|
||||
class="input string-input"
|
||||
|
|
@ -48,18 +51,18 @@
|
|||
<li v-if="allowNew">
|
||||
<div class="btn-group">
|
||||
<input
|
||||
v-model="newValue[0]"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
:placeholder="backendDescriptionSuggestions[0][0]"
|
||||
v-model="newValue[0]"
|
||||
>
|
||||
<input
|
||||
v-model="newValue[1]"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
:placeholder="backendDescriptionSuggestions[0][1]"
|
||||
v-model="newValue[1]"
|
||||
>
|
||||
<button
|
||||
class="button-default"
|
||||
|
|
@ -79,6 +82,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./map_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.ListSetting {
|
||||
.btn-group {
|
||||
|
|
@ -106,4 +110,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<script src="./map_setting.js"></script>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@
|
|||
{{ backendDescriptionDescription + ' ' }}
|
||||
</p>
|
||||
<ul class="setting-list">
|
||||
<li v-for="(item, index) in visibleState">
|
||||
<li
|
||||
v-for="(item, index) in visibleState"
|
||||
:key="index"
|
||||
>
|
||||
<div>
|
||||
<dl>
|
||||
<dt><code>purpose</code></dt>
|
||||
|
|
@ -90,6 +93,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./pwa_manifest_icons_setting.js"></script>
|
||||
<style lang="scss">
|
||||
.PWAManifestIconsSetting {
|
||||
display: inline-block;
|
||||
|
|
@ -132,4 +136,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<script src="./pwa_manifest_icons_setting.js"></script>
|
||||
|
|
|
|||
|
|
@ -165,8 +165,11 @@
|
|||
v-if="backgroundPreview || user.background_image || instanceWallpaper"
|
||||
class="fun-monitor-display-screen-image"
|
||||
:src="backgroundPreview || user.background_image || instanceWallpaper"
|
||||
>
|
||||
<div
|
||||
v-else
|
||||
class="wallpaper"
|
||||
/>
|
||||
<div v-else class="wallpaper" />
|
||||
<div class="fun-monitor-display-screen-overlay input" />
|
||||
<div
|
||||
v-if="backgroundUploading"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue