mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
style(options/mfa): use admonitions
This commit is contained in:
parent
25aa08bb4c
commit
4cde9253ed
@ -39,16 +39,14 @@ const TPL_WEB = `
|
|||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<h5>${t("multi_factor_authentication.totp_secret_title")}</h5>
|
<h5>${t("multi_factor_authentication.totp_secret_title")}</h5>
|
||||||
<br />
|
<div class="admonition note no-totp-secret" role="alert">
|
||||||
<div class="alert alert-warning no-totp-secret" role="alert" style="font-weight: bold; color: red !important;">
|
|
||||||
${t("multi_factor_authentication.no_totp_secret_warning")}
|
${t("multi_factor_authentication.no_totp_secret_warning")}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="alert alert-warning" role="alert" style="font-weight: bold; color: red !important;">
|
<div class="admonition warning" role="alert">
|
||||||
${t("multi_factor_authentication.totp_secret_description_warning")}
|
${t("multi_factor_authentication.totp_secret_description_warning")}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
|
||||||
<button class="generate-totp btn btn-primary">
|
<button class="generate-totp btn btn-primary">
|
||||||
${t("multi_factor_authentication.totp_secret_generate")}
|
${t("multi_factor_authentication.totp_secret_generate")}
|
||||||
</button>
|
</button>
|
||||||
@ -57,13 +55,10 @@ const TPL_WEB = `
|
|||||||
|
|
||||||
<h5>${t("multi_factor_authentication.recovery_keys_title")}</h5>
|
<h5>${t("multi_factor_authentication.recovery_keys_title")}</h5>
|
||||||
<p class="form-text">${t("multi_factor_authentication.recovery_keys_description")}</p>
|
<p class="form-text">${t("multi_factor_authentication.recovery_keys_description")}</p>
|
||||||
<br />
|
<div class="admonition caution">
|
||||||
<div class="alert alert-warning" role="alert" style="font-weight: bold; color: red !important;">
|
|
||||||
${t("multi_factor_authentication.recovery_keys_description_warning")}
|
${t("multi_factor_authentication.recovery_keys_description_warning")}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<table style="border: 0px solid white">
|
<table style="border: 0px solid white">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@ -96,10 +91,10 @@ const TPL_WEB = `
|
|||||||
|
|
||||||
<div class="oauth-options" style="display: none;">
|
<div class="oauth-options" style="display: none;">
|
||||||
<p class="form-text">${t("multi_factor_authentication.oauth_description")}</p>
|
<p class="form-text">${t("multi_factor_authentication.oauth_description")}</p>
|
||||||
<div class="alert alert-warning oauth-warning" role="alert" style="font-weight: bold; color: red !important;">
|
<div class="admonition note oauth-warning" role="alert">
|
||||||
${t("multi_factor_authentication.oauth_description_warning")}
|
${t("multi_factor_authentication.oauth_description_warning")}
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-warning missing-vars" role="alert" style="font-weight: bold; color: red !important; display: none;"></div>
|
<div class="admonition caution missing-vars" role="alert" style="display: none;"></div>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<span><b>${t("multi_factor_authentication.oauth_user_account")}</b></span><span class="user-account-name">${t("multi_factor_authentication.oauth_user_not_logged_in")}</span>
|
<span><b>${t("multi_factor_authentication.oauth_user_account")}</b></span><span class="user-account-name">${t("multi_factor_authentication.oauth_user_not_logged_in")}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user