mirror of
https://github.com/wekan/wekan.git
synced 2026-02-23 16:34:06 +01:00
add custom css
This commit is contained in:
parent
3d70de94c6
commit
68d9653eb7
7 changed files with 73 additions and 1 deletions
|
|
@ -423,6 +423,14 @@ template(name='layoutSettings')
|
|||
.title {{_ 'custom-help-link-url'}}
|
||||
.form-group
|
||||
input.wekan-form-control#custom-help-link-url(type="text", placeholder="" value="{{currentSetting.customHelpLinkUrl}}")
|
||||
li.layout-form
|
||||
.title {{_ 'custom-css-url'}}
|
||||
.form-group
|
||||
input.wekan-form-control#custom-css-url(type="text", placeholder="" value="{{currentSetting.customCssUrl}}")
|
||||
li.layout-form
|
||||
.title {{_ 'custom-css'}}
|
||||
.form-group
|
||||
textarea#custom-css.wekan-form-control(rows='5')= currentSetting.customCss
|
||||
li.layout-form
|
||||
.title {{_ 'text-below-custom-login-logo'}}
|
||||
.form-group
|
||||
|
|
|
|||
|
|
@ -469,6 +469,8 @@ BlazeComponent.extendComponent({
|
|||
const customLoginLogoImageUrl = ($('#custom-login-logo-image-url').val() || '').trim();
|
||||
const customLoginLogoLinkUrl = ($('#custom-login-logo-link-url').val() || '').trim();
|
||||
const customHelpLinkUrl = ($('#custom-help-link-url').val() || '').trim();
|
||||
const customCssUrl = ($('#custom-css-url').val() || '').trim();
|
||||
const customCss = ($('#custom-css').val() || '').trim();
|
||||
const textBelowCustomLoginLogo = ($('#text-below-custom-login-logo').val() || '').trim();
|
||||
const automaticLinkedUrlSchemes = ($('#automatic-linked-url-schemes').val() || '').trim();
|
||||
const customTopLeftCornerLogoImageUrl = ($('#custom-top-left-corner-logo-image-url').val() || '').trim();
|
||||
|
|
@ -496,6 +498,8 @@ BlazeComponent.extendComponent({
|
|||
customLoginLogoImageUrl,
|
||||
customLoginLogoLinkUrl,
|
||||
customHelpLinkUrl,
|
||||
customCssUrl,
|
||||
customCss,
|
||||
textBelowCustomLoginLogo,
|
||||
customTopLeftCornerLogoImageUrl,
|
||||
customTopLeftCornerLogoLinkUrl,
|
||||
|
|
@ -801,4 +805,3 @@ Template.selectSpinnerName.helpers({
|
|||
return Template.instance().data.spinnerName === match;
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue