fix: move Location column to last in download logs table
This commit is contained in:
@@ -66,26 +66,26 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Time</th>
|
<th>Time</th>
|
||||||
<th>IP</th>
|
<th>IP</th>
|
||||||
<th>Location</th>
|
|
||||||
<th>Browser</th>
|
<th>Browser</th>
|
||||||
<th>Device</th>
|
<th>Device</th>
|
||||||
<th>Video</th>
|
<th>Video</th>
|
||||||
|
<th>Location</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="l in filteredLogs" :key="l.id">
|
<tr v-for="l in filteredLogs" :key="l.id">
|
||||||
<td class="td-time">{{ fmtTime(l.downloaded_at) }}</td>
|
<td class="td-time">{{ fmtTime(l.downloaded_at) }}</td>
|
||||||
<td class="td-ip">{{ l.ip }}</td>
|
<td class="td-ip">{{ l.ip }}</td>
|
||||||
<td class="td-location">
|
|
||||||
<span v-if="l.country_code" class="flag">{{ countryFlag(l.country_code) }}</span>
|
|
||||||
<span class="location-text">{{ [l.city, l.country].filter(Boolean).join(', ') || '—' }}</span>
|
|
||||||
</td>
|
|
||||||
<td class="td-browser">{{ browserIcon(l.browser) }} {{ l.browser }}</td>
|
<td class="td-browser">{{ browserIcon(l.browser) }} {{ l.browser }}</td>
|
||||||
<td class="td-device">{{ deviceIcon(l.device) }} {{ l.device }}</td>
|
<td class="td-device">{{ deviceIcon(l.device) }} {{ l.device }}</td>
|
||||||
<td class="td-video">
|
<td class="td-video">
|
||||||
<span class="platform-badge" :class="'plat-' + l.video_platform">{{ l.video_platform }}</span>
|
<span class="platform-badge" :class="'plat-' + l.video_platform">{{ l.video_platform }}</span>
|
||||||
{{ l.video_title || `#${l.video_id}` }}
|
{{ l.video_title || `#${l.video_id}` }}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="td-location">
|
||||||
|
<span v-if="l.country_code" class="flag">{{ countryFlag(l.country_code) }}</span>
|
||||||
|
<span class="location-text">{{ [l.city, l.country].filter(Boolean).join(', ') || '—' }}</span>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user