コントロールパネルのファイル一覧にある検索項目の先頭二つ以外をフォルダに格納

This commit is contained in:
tetsuya-ki 2024-10-20 06:13:19 +00:00
parent 576564f24f
commit 2d8e6afaa9
1 changed files with 20 additions and 16 deletions

View File

@ -20,6 +20,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>{{ i18n.ts.host }}</template> <template #label>{{ i18n.ts.host }}</template>
</MkInput> </MkInput>
</div> </div>
<MkFolder :defaultOpen="false">
<template #label>{{ i18n.ts.options }}</template>
<div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;"> <div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;">
<MkInput v-model="userId" :debounce="true" type="search" style="margin: 0; flex: 1;"> <MkInput v-model="userId" :debounce="true" type="search" style="margin: 0; flex: 1;">
<template #label>User ID</template> <template #label>User ID</template>
@ -36,6 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>Comment</template> <template #label>Comment</template>
</MkInput> </MkInput>
</div> </div>
</MkFolder>
<MkFileListForAdmin :pagination="pagination" :viewMode="viewMode"/> <MkFileListForAdmin :pagination="pagination" :viewMode="viewMode"/>
</div> </div>
</MkSpacer> </MkSpacer>
@ -49,6 +52,7 @@ import XHeader from './_header_.vue';
import MkInput from '@/components/MkInput.vue'; import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue'; import MkSelect from '@/components/MkSelect.vue';
import MkFileListForAdmin from '@/components/MkFileListForAdmin.vue'; import MkFileListForAdmin from '@/components/MkFileListForAdmin.vue';
import MkFolder from '@/components/MkFolder.vue';
import * as os from '@/os.js'; import * as os from '@/os.js';
import { lookupFile } from '@/scripts/admin-lookup.js'; import { lookupFile } from '@/scripts/admin-lookup.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';