mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
client: mark the links that should use the new style
This commit is contained in:
parent
03e7f4b991
commit
b43c85157b
@ -11,28 +11,28 @@ const TPL = `
|
|||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-path-list {
|
.note-path-list {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-path-list .path-current {
|
.note-path-list .path-current {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-path-list .path-archived {
|
.note-path-list .path-archived {
|
||||||
color: var(--muted-text-color) !important;
|
color: var(--muted-text-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-path-list .path-search {
|
.note-path-list .path-search {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="note-path-intro"></div>
|
<div class="note-path-intro"></div>
|
||||||
|
|
||||||
<ul class="note-path-list"></ul>
|
<ul class="note-path-list"></ul>
|
||||||
|
|
||||||
<button class="btn btn-sm" data-trigger-command="cloneNoteIdsTo">${t("note_paths.clone_button")}</button>
|
<button class="btn btn-sm" data-trigger-command="cloneNoteIdsTo">${t("note_paths.clone_button")}</button>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ export default class NotePathsWidget extends NoteContextAwareWidget {
|
|||||||
|
|
||||||
const $noteLink = await linkService.createLink(notePath, { title });
|
const $noteLink = await linkService.createLink(notePath, { title });
|
||||||
|
|
||||||
$noteLink.find("a").addClass("no-tooltip-preview");
|
$noteLink.find("a").addClass("no-tooltip-preview tn-link");
|
||||||
|
|
||||||
const icons = [];
|
const icons = [];
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ const TPL = `
|
|||||||
<div class="options-section">
|
<div class="options-section">
|
||||||
<h4>${t("revisions_snapshot_interval.note_revisions_snapshot_interval_title")}</h4>
|
<h4>${t("revisions_snapshot_interval.note_revisions_snapshot_interval_title")}</h4>
|
||||||
|
|
||||||
<p>${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
|
<p class="use-tn-links">${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>${t("revisions_snapshot_interval.snapshot_time_interval_label")}</label>
|
<label>${t("revisions_snapshot_interval.snapshot_time_interval_label")}</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user