mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 18:30:13 +01:00
Accessibility statement. Part 1. In Progress.
Thanks to xet7 !
This commit is contained in:
parent
de2ddbe8b5
commit
729d8fb435
10 changed files with 231 additions and 2 deletions
|
|
@ -89,6 +89,9 @@ BlazeComponent.extendComponent({
|
|||
toggleHideBoardMemberList() {
|
||||
$('#hide-board-member-list').toggleClass('is-checked');
|
||||
},
|
||||
toggleAccessibilityPageEnabled() {
|
||||
$('#accessibility-page-enabled').toggleClass('is-checked');
|
||||
},
|
||||
toggleDisplayAuthenticationMethod() {
|
||||
$('#display-authentication-method').toggleClass('is-checked');
|
||||
},
|
||||
|
|
@ -239,7 +242,13 @@ BlazeComponent.extendComponent({
|
|||
const displayAuthenticationMethod =
|
||||
$('input[name=displayAuthenticationMethod]:checked').val() === 'true';
|
||||
const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val();
|
||||
|
||||
const accessibilityPageEnabled = $('input[name=accessibilityPageEnabled]:checked').val() === 'true';
|
||||
const accessibilityTitle = $('#accessibility-title')
|
||||
.val()
|
||||
.trim();
|
||||
const accessibilityContent = $('#accessibility-content')
|
||||
.val()
|
||||
.trim();
|
||||
const spinnerName = $('#spinnerName').val();
|
||||
|
||||
try {
|
||||
|
|
@ -263,6 +272,9 @@ BlazeComponent.extendComponent({
|
|||
oidcBtnText,
|
||||
mailDomainName,
|
||||
legalNotice,
|
||||
accessibilityPageEnabled,
|
||||
accessibilityTitle,
|
||||
accessibilityContent,
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
@ -301,6 +313,7 @@ BlazeComponent.extendComponent({
|
|||
'click a.js-toggle-hide-logo': this.toggleHideLogo,
|
||||
'click a.js-toggle-hide-card-counter-list': this.toggleHideCardCounterList,
|
||||
'click a.js-toggle-hide-board-member-list': this.toggleHideBoardMemberList,
|
||||
'click a.js-toggle-accessibility-page-enabled': this.toggleAccessibilityPageEnabled,
|
||||
'click button.js-save-layout': this.saveLayout,
|
||||
'click a.js-toggle-display-authentication-method': this
|
||||
.toggleDisplayAuthenticationMethod,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue