mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-22 04:01:38 +08:00
feat(settings/share): add subtitles
This commit is contained in:
parent
16b16927ef
commit
946d9aee40
@ -8,21 +8,17 @@ const TPL = `
|
||||
<div class="options-section">
|
||||
<h4>${t("share.title")}</h4>
|
||||
|
||||
<p>${t("share.redirect_bare_domain_description")}</p>
|
||||
<label class="tn-checkbox">
|
||||
<input type="checkbox" name="redirectBareDomain">
|
||||
<span>${t("share.redirect_bare_domain")}</span>
|
||||
<input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
|
||||
${t("share.redirect_bare_domain")}
|
||||
</label>
|
||||
|
||||
<div class="share-root-check mt-2 mb-2" style="display: none;">
|
||||
<button class="btn btn-sm btn-secondary check-share-root">${t("share.check_share_root")}</button>
|
||||
<div class="share-root-status form-text mt-2"></div>
|
||||
</div>
|
||||
<p class="form-text">${t("share.redirect_bare_domain_description")}</p>
|
||||
|
||||
<label class="tn-checkbox">
|
||||
<input type="checkbox" name="showLoginInShareTheme">
|
||||
<span>${t("share.show_login_link")}</span>
|
||||
<input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
|
||||
${t("share.show_login_link")}
|
||||
</label>
|
||||
<p class="form-text">${t("share.show_login_link_description")}</p>
|
||||
</div>`;
|
||||
|
||||
export default class ShareSettingsOptions extends OptionsWidget {
|
||||
|
@ -193,6 +193,11 @@ input::selection,
|
||||
color: var(--input-selection-text-color);
|
||||
}
|
||||
|
||||
.form-text {
|
||||
color: var(--main-text-color);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Input groups */
|
||||
|
||||
.input-group {
|
||||
|
Loading…
x
Reference in New Issue
Block a user