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

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,22 +20,25 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>{{ i18n.ts.host }}</template> <template #label>{{ i18n.ts.host }}</template>
</MkInput> </MkInput>
</div> </div>
<div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;"> <MkFolder :defaultOpen="false">
<MkInput v-model="userId" :debounce="true" type="search" style="margin: 0; flex: 1;"> <template #label>{{ i18n.ts.options }}</template>
<template #label>User ID</template> <div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;">
</MkInput> <MkInput v-model="userId" :debounce="true" type="search" style="margin: 0; flex: 1;">
<MkInput v-model="type" :debounce="true" type="search" style="margin: 0; flex: 1;"> <template #label>User ID</template>
<template #label>MIME type</template> </MkInput>
</MkInput> <MkInput v-model="type" :debounce="true" type="search" style="margin: 0; flex: 1;">
</div> <template #label>MIME type</template>
<div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;"> </MkInput>
<MkInput v-model="name" :debounce="true" type="search" style="margin: 0; flex: 1;"> </div>
<template #label>File Name</template> <div class="inputs" style="display: flex; gap: var(--MI-margin); flex-wrap: wrap;">
</MkInput> <MkInput v-model="name" :debounce="true" type="search" style="margin: 0; flex: 1;">
<MkInput v-model="comment" :debounce="true" type="search" style="margin: 0; flex: 1;"> <template #label>File Name</template>
<template #label>Comment</template> </MkInput>
</MkInput> <MkInput v-model="comment" :debounce="true" type="search" style="margin: 0; flex: 1;">
</div> <template #label>Comment</template>
</MkInput>
</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';