|
|
|
@@ -2145,15 +2145,15 @@ async function saveFeaturedOrder() {
|
|
|
|
<div class="adminSidebar__label">Image Optimization</div>
|
|
|
|
<div class="adminSidebar__label">Image Optimization</div>
|
|
|
|
<div class="adminSidebar__group adminSidebar__group--monthPicker">
|
|
|
|
<div class="adminSidebar__group adminSidebar__group--monthPicker">
|
|
|
|
<div class="monthPicker">
|
|
|
|
<div class="monthPicker">
|
|
|
|
<select v-model="selectedImageStatsYear" class="select monthPicker__select">
|
|
|
|
<select v-model="selectedImageStatsYear" class="select monthPicker__select monthPicker__select--year">
|
|
|
|
<option value="">전체 기간</option>
|
|
|
|
<option value="">전체 기간</option>
|
|
|
|
<option v-for="year in imageStatsYearOptions" :key="year" :value="year">{{ year }}년</option>
|
|
|
|
<option v-for="year in imageStatsYearOptions" :key="year" :value="year">{{ year }}년</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select v-model="selectedImageStatsMonthNumber" class="select monthPicker__select" :disabled="!selectedImageStatsYear">
|
|
|
|
<select v-if="selectedImageStatsYear" v-model="selectedImageStatsMonthNumber" class="select monthPicker__select monthPicker__select--month">
|
|
|
|
<option value="">월 선택</option>
|
|
|
|
<option value="">월 선택</option>
|
|
|
|
<option v-for="month in imageStatsMonthOptions" :key="month.value" :value="month.value">{{ month.label }}</option>
|
|
|
|
<option v-for="month in imageStatsMonthOptions" :key="month.value" :value="month.value">{{ month.label }}</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<button class="btn btn--ghost btn--tiny" type="button" :disabled="!imageStatsMonth" @click="clearImageStatsMonth">전체</button>
|
|
|
|
<button v-if="imageStatsMonth" class="btn btn--ghost btn--tiny" type="button" @click="clearImageStatsMonth">전체</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<select v-model.number="imageStatsLimit" class="select">
|
|
|
|
<select v-model.number="imageStatsLimit" class="select">
|
|
|
|
<option :value="6">최근 6건</option>
|
|
|
|
<option :value="6">최근 6건</option>
|
|
|
|
@@ -2341,6 +2341,24 @@ async function saveFeaturedOrder() {
|
|
|
|
display: grid;
|
|
|
|
display: grid;
|
|
|
|
gap: 10px;
|
|
|
|
gap: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.adminSidebar__group--monthPicker {
|
|
|
|
|
|
|
|
align-items: start;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.monthPicker {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.monthPicker__select {
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.monthPicker__select--year {
|
|
|
|
|
|
|
|
flex: 1 1 132px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.monthPicker__select--month {
|
|
|
|
|
|
|
|
flex: 1 1 108px;
|
|
|
|
|
|
|
|
}
|
|
|
|
.adminSidebar__actions--stack .btn {
|
|
|
|
.adminSidebar__actions--stack .btn {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|