add remove shortcuts
This commit is contained in:
@@ -23,6 +23,7 @@ const selectableProfiles = computed(() =>
|
||||
profile.historyCleanup.history,
|
||||
profile.historyCleanup.topSites,
|
||||
profile.historyCleanup.visitedLinks,
|
||||
profile.historyCleanup.shortcuts,
|
||||
profile.historyCleanup.sessions,
|
||||
]),
|
||||
),
|
||||
@@ -53,6 +54,7 @@ function isSelectable(profile: ProfileSummary) {
|
||||
profile.historyCleanup.history,
|
||||
profile.historyCleanup.topSites,
|
||||
profile.historyCleanup.visitedLinks,
|
||||
profile.historyCleanup.shortcuts,
|
||||
profile.historyCleanup.sessions,
|
||||
]);
|
||||
}
|
||||
@@ -98,6 +100,7 @@ function hasAnyHistoryFile(statuses: CleanupFileStatus[]) {
|
||||
<div class="header-cell">历史记录</div>
|
||||
<div class="header-cell">热门站点</div>
|
||||
<div class="header-cell">访问链接</div>
|
||||
<div class="header-cell">快捷方式</div>
|
||||
<div class="header-cell">会话</div>
|
||||
<div class="header-cell actions-cell">操作</div>
|
||||
</div>
|
||||
@@ -146,6 +149,11 @@ function hasAnyHistoryFile(statuses: CleanupFileStatus[]) {
|
||||
{{ statusLabel(profile.historyCleanup.visitedLinks) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="row-cell">
|
||||
<span class="status-pill" :class="statusClass(profile.historyCleanup.shortcuts)">
|
||||
{{ statusLabel(profile.historyCleanup.shortcuts) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="row-cell">
|
||||
<span class="status-pill" :class="statusClass(profile.historyCleanup.sessions)">
|
||||
{{ statusLabel(profile.historyCleanup.sessions) }}
|
||||
@@ -291,7 +299,7 @@ function hasAnyHistoryFile(statuses: CleanupFileStatus[]) {
|
||||
|
||||
.history-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 52px 56px minmax(170px, 1fr) 118px 118px 128px 118px 108px;
|
||||
grid-template-columns: 52px 56px minmax(170px, 1fr) 108px 108px 118px 108px 108px 108px;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -408,7 +416,7 @@ function hasAnyHistoryFile(statuses: CleanupFileStatus[]) {
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.history-grid {
|
||||
grid-template-columns: 52px 56px minmax(160px, 1fr) 110px 110px 118px 110px 100px;
|
||||
grid-template-columns: 52px 56px minmax(160px, 1fr) 100px 100px 110px 100px 100px 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -425,7 +433,8 @@ function hasAnyHistoryFile(statuses: CleanupFileStatus[]) {
|
||||
.history-grid > :nth-child(5),
|
||||
.history-grid > :nth-child(6),
|
||||
.history-grid > :nth-child(7),
|
||||
.history-grid > :nth-child(8) {
|
||||
.history-grid > :nth-child(8),
|
||||
.history-grid > :nth-child(9) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ const emit = defineEmits<{
|
||||
|
||||
<template v-if="mode === 'confirm'">
|
||||
<p class="modal-copy">
|
||||
将删除所选资料中的 <code>History</code>、<code>Top Sites</code>、<code>Visited Links</code>,
|
||||
将删除所选资料中的 <code>History</code>、<code>Top Sites</code>、<code>Visited Links</code>、<code>Shortcuts</code>,
|
||||
并清空 <code>Sessions</code> 目录中的所有文件。
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user