-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
86 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 44 additions & 36 deletions
80
...standalone/coffee-warehouse/src/app/components/settings-list/settings-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,54 @@ | ||
<kendo-combobox | ||
[data]="disabilitiesData" | ||
textField="text" | ||
valueField="text"></kendo-combobox> | ||
|
||
<kendo-expansionpanel title="Accessibility settings" [(expanded)]="settingsExpanded"> | ||
<form class="k-form k-form-md"> | ||
<kendo-formfield> | ||
<kendo-label text="Text size:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('textSize', $event)" [(value)]="textSize"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Color theme:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'contrast')" [selected]="colorTheme === 'contrast'">Contrast</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'dark')" [selected]="colorTheme === 'dark'">Dark</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
<fieldset> | ||
<legend>Accessibility Settings</legend> | ||
<kendo-formfield> | ||
<kendo-label text="Text size:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('textSize', $event)" [(value)]="textSize"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Color theme:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'contrast')" [selected]="colorTheme === 'contrast'">Contrast</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('colorTheme', 'dark')" [selected]="colorTheme === 'dark'">Dark</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Font:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('font', 'legible')" [selected]="font === 'legible'">Legible Font</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('font', 'dyslexia')" [selected]="font === 'dyslexia'">Dyslexia Font</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Font:"></kendo-label> | ||
<kendo-buttongroup selection="single"> | ||
<kendo-button size="large" (click)="settingChange('font', 'legible')" [selected]="font === 'legible'">Legible Font</kendo-button> | ||
<kendo-button size="large" (click)="settingChange('font', 'dyslexia')" [selected]="font === 'dyslexia'">Dyslexia Font</kendo-button> | ||
</kendo-buttongroup> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Common:"></kendo-label> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('underlineLinks', !underlineLinks)">Underiline Links</kendo-button> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Common:"></kendo-label> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('underlineLinks', !underlineLinks)">Underiline Links</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('pauseAnimations', !pauseAnimations)">Pause Animation</kendo-button> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('pauseAnimations', !pauseAnimations)">Pause Animation</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('lgSizeWidgets', !lgSizeWidgets)">Large Size Widgets</kendo-button> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-button size="large" [toggleable]="true" (click)="settingChange('lgSizeWidgets', !lgSizeWidgets)">Large Size Widgets</kendo-button> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Line Height:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('lineHeight', $event)" [(value)]="lineHeight"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Line Height:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('lineHeight', $event)" [(value)]="lineHeight"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
|
||
<kendo-formfield> | ||
<kendo-label text="Letter Spacing:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('letterSpacing', $event)" [(value)]="letterSpacing"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
<kendo-formfield> | ||
<kendo-label text="Letter Spacing:"></kendo-label> | ||
<kendo-numeric-textbox-buttons (valueChange)="settingChange('letterSpacing', $event)" [(value)]="letterSpacing"></kendo-numeric-textbox-buttons> | ||
</kendo-formfield> | ||
</fieldset> | ||
</form> | ||
</kendo-expansionpanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters