mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-22 20:28:07 +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">
|
<div class="options-section">
|
||||||
<h4>${t("share.title")}</h4>
|
<h4>${t("share.title")}</h4>
|
||||||
|
|
||||||
<p>${t("share.redirect_bare_domain_description")}</p>
|
|
||||||
<label class="tn-checkbox">
|
<label class="tn-checkbox">
|
||||||
<input type="checkbox" name="redirectBareDomain">
|
<input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
|
||||||
<span>${t("share.redirect_bare_domain")}</span>
|
${t("share.redirect_bare_domain")}
|
||||||
</label>
|
</label>
|
||||||
|
<p class="form-text">${t("share.redirect_bare_domain_description")}</p>
|
||||||
<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>
|
|
||||||
|
|
||||||
<label class="tn-checkbox">
|
<label class="tn-checkbox">
|
||||||
<input type="checkbox" name="showLoginInShareTheme">
|
<input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
|
||||||
<span>${t("share.show_login_link")}</span>
|
${t("share.show_login_link")}
|
||||||
</label>
|
</label>
|
||||||
|
<p class="form-text">${t("share.show_login_link_description")}</p>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
export default class ShareSettingsOptions extends OptionsWidget {
|
export default class ShareSettingsOptions extends OptionsWidget {
|
||||||
|
@ -193,6 +193,11 @@ input::selection,
|
|||||||
color: var(--input-selection-text-color);
|
color: var(--input-selection-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-text {
|
||||||
|
color: var(--main-text-color);
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
/* Input groups */
|
/* Input groups */
|
||||||
|
|
||||||
.input-group {
|
.input-group {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user