mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
home page fixes and lint compliance
This commit is contained in:
parent
83f721341f
commit
418201ba3f
@ -114,12 +114,12 @@ define([
|
||||
return h('a', attrs, text);
|
||||
};
|
||||
|
||||
var fastLink = k => pageLink(Pages.customURLs[k], k);
|
||||
|
||||
// XXX DB: this may be wrong, pasted over form pages.js
|
||||
var imprintUrl = AppConfig.imprint && (typeof(AppConfig.imprint) === "boolean" ?
|
||||
'/imprint.html' : AppConfig.imprint);
|
||||
imprintLink = AppConfig.imprint ? pageLink(imprintUrl, 'imprint') : undefined;
|
||||
privacyLink = pageLink(AppConfig.privacy, 'privacy');
|
||||
termsLink = pageLink(AppConfig.terms, 'terms');
|
||||
var imprintLink = fastLink('imprint');
|
||||
var privacyLink = fastLink('privacy');
|
||||
var termsLink = fastLink('terms');
|
||||
|
||||
var notice;
|
||||
/* Admins can specify a notice to display in application_config.js via the `homeNotice` attribute.
|
||||
|
||||
@ -206,7 +206,7 @@ body.html {
|
||||
|
||||
}
|
||||
|
||||
.cp-footer-language{
|
||||
.cp-footer-language {
|
||||
margin-right: 10px;
|
||||
i {
|
||||
font-size: 1.3em;
|
||||
@ -218,7 +218,7 @@ body.html {
|
||||
color: @cryptpad_text_col;
|
||||
border: 0px;
|
||||
border-radius: @infopages-radius;
|
||||
padding: 0.5em 0.7em;
|
||||
padding: 0.5em 0.7em;
|
||||
}
|
||||
}
|
||||
.cp-footer-version {
|
||||
|
||||
@ -13,4 +13,5 @@
|
||||
|
||||
// Rounded corners
|
||||
@variables_radius: 5px;
|
||||
@variables_radius_L: 10px;
|
||||
@variables_radius_L: 10px;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user