mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	use the standard classes
per @pano9000 advice, https://github.com/TriliumNext/Notes/pull/1207#issuecomment-2667896424
This commit is contained in:
		
							parent
							
								
									aab35955bf
								
							
						
					
					
						commit
						5a6c3ae426
					
				@ -4,25 +4,20 @@ import { t } from "../../../../services/i18n.js";
 | 
				
			|||||||
import type { OptionMap, OptionNames } from "../../../../../../services/options_interface.js";
 | 
					import type { OptionMap, OptionNames } from "../../../../../../services/options_interface.js";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const TPL = `
 | 
					const TPL = `
 | 
				
			||||||
<div class="card-body">
 | 
					<div class="options-section">
 | 
				
			||||||
    <h4>${t("share.title")}</h4>
 | 
					    <h4>${t("share.title")}</h4>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="form-check">
 | 
					    <label class="tn-checkbox">
 | 
				
			||||||
        <label class="form-check-label">
 | 
					 | 
				
			||||||
        <input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
 | 
					        <input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
 | 
				
			||||||
        ${t("share.redirect_bare_domain")}
 | 
					        ${t("share.redirect_bare_domain")}
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
    <p class="form-text">${t("share.redirect_bare_domain_description")}</p>
 | 
					    <p class="form-text">${t("share.redirect_bare_domain_description")}</p>
 | 
				
			||||||
    </div>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="form-check">
 | 
					    <label class="tn-checkbox">
 | 
				
			||||||
        <label class="form-check-label">
 | 
					 | 
				
			||||||
        <input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
 | 
					        <input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
 | 
				
			||||||
        ${t("share.show_login_link")}
 | 
					        ${t("share.show_login_link")}
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
    <p class="form-text">${t("share.show_login_link_description")}</p>
 | 
					    <p class="form-text">${t("share.show_login_link_description")}</p>
 | 
				
			||||||
        <p> </p>
 | 
					 | 
				
			||||||
    </div>
 | 
					 | 
				
			||||||
</div>`;
 | 
					</div>`;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default class ShareSettingsOptions extends OptionsWidget {
 | 
					export default class ShareSettingsOptions extends OptionsWidget {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user