diff options
Diffstat (limited to 'src/components/settings/settings/EditSettingsForm.js')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 7ac644446..339e2dff6 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -266,8 +266,8 @@ export default @observer class EditSettingsForm extends Component { | |||
266 | </div> | 266 | </div> |
267 | <div className="settings__body"> | 267 | <div className="settings__body"> |
268 | <form | 268 | <form |
269 | onSubmit={e => this.submit(e)} | 269 | onSubmit={(e) => this.submit(e)} |
270 | onChange={e => this.submit(e)} | 270 | onChange={(e) => this.submit(e)} |
271 | id="form" | 271 | id="form" |
272 | > | 272 | > |
273 | {/* Titles */} | 273 | {/* Titles */} |
@@ -367,7 +367,7 @@ export default @observer class EditSettingsForm extends Component { | |||
367 | <div> | 367 | <div> |
368 | <Input | 368 | <Input |
369 | placeholder="Todo Server" | 369 | placeholder="Todo Server" |
370 | onChange={e => this.submit(e)} | 370 | onChange={(e) => this.submit(e)} |
371 | field={form.$('customTodoServer')} | 371 | field={form.$('customTodoServer')} |
372 | /> | 372 | /> |
373 | <p | 373 | <p |
@@ -401,7 +401,7 @@ export default @observer class EditSettingsForm extends Component { | |||
401 | > | 401 | > |
402 | <Input | 402 | <Input |
403 | placeholder="17:00" | 403 | placeholder="17:00" |
404 | onChange={e => this.submit(e)} | 404 | onChange={(e) => this.submit(e)} |
405 | field={form.$('scheduledDNDStart')} | 405 | field={form.$('scheduledDNDStart')} |
406 | type="time" | 406 | type="time" |
407 | /> | 407 | /> |
@@ -413,7 +413,7 @@ export default @observer class EditSettingsForm extends Component { | |||
413 | > | 413 | > |
414 | <Input | 414 | <Input |
415 | placeholder="09:00" | 415 | placeholder="09:00" |
416 | onChange={e => this.submit(e)} | 416 | onChange={(e) => this.submit(e)} |
417 | field={form.$('scheduledDNDEnd')} | 417 | field={form.$('scheduledDNDEnd')} |
418 | type="time" | 418 | type="time" |
419 | /> | 419 | /> |
@@ -480,7 +480,7 @@ export default @observer class EditSettingsForm extends Component { | |||
480 | 480 | ||
481 | <Input | 481 | <Input |
482 | placeholder="Accent Color" | 482 | placeholder="Accent Color" |
483 | onChange={e => this.submit(e)} | 483 | onChange={(e) => this.submit(e)} |
484 | field={form.$('accentColor')} | 484 | field={form.$('accentColor')} |
485 | /> | 485 | /> |
486 | <p> | 486 | <p> |
@@ -515,7 +515,7 @@ export default @observer class EditSettingsForm extends Component { | |||
515 | 515 | ||
516 | <Input | 516 | <Input |
517 | placeholder={intl.formatMessage(messages.lockedPassword)} | 517 | placeholder={intl.formatMessage(messages.lockedPassword)} |
518 | onChange={e => this.submit(e)} | 518 | onChange={(e) => this.submit(e)} |
519 | field={form.$('lockedPassword')} | 519 | field={form.$('lockedPassword')} |
520 | type="password" | 520 | type="password" |
521 | scorePassword | 521 | scorePassword |
@@ -527,7 +527,7 @@ export default @observer class EditSettingsForm extends Component { | |||
527 | 527 | ||
528 | <Input | 528 | <Input |
529 | placeholder="Lock after inactivity" | 529 | placeholder="Lock after inactivity" |
530 | onChange={e => this.submit(e)} | 530 | onChange={(e) => this.submit(e)} |
531 | field={form.$('inactivityLock')} | 531 | field={form.$('inactivityLock')} |
532 | autoFocus | 532 | autoFocus |
533 | /> | 533 | /> |
@@ -570,6 +570,7 @@ export default @observer class EditSettingsForm extends Component { | |||
570 | href={FRANZ_TRANSLATION} | 570 | href={FRANZ_TRANSLATION} |
571 | target="_blank" | 571 | target="_blank" |
572 | className="link" | 572 | className="link" |
573 | rel="noreferrer" | ||
573 | > | 574 | > |
574 | {intl.formatMessage(messages.translationHelp)} | 575 | {intl.formatMessage(messages.translationHelp)} |
575 | {' '} | 576 | {' '} |
@@ -588,7 +589,7 @@ export default @observer class EditSettingsForm extends Component { | |||
588 | 589 | ||
589 | <Input | 590 | <Input |
590 | placeholder="User Agent" | 591 | placeholder="User Agent" |
591 | onChange={e => this.submit(e)} | 592 | onChange={(e) => this.submit(e)} |
592 | field={form.$('userAgentPref')} | 593 | field={form.$('userAgentPref')} |
593 | /> | 594 | /> |
594 | <p className="settings__help">{intl.formatMessage(globalMessages.userAgentHelp)}</p> | 595 | <p className="settings__help">{intl.formatMessage(globalMessages.userAgentHelp)}</p> |
@@ -674,12 +675,12 @@ export default @observer class EditSettingsForm extends Component { | |||
674 | 675 | ||
675 | Ferdi is based on | 676 | Ferdi is based on |
676 | {' '} | 677 | {' '} |
677 | <a href={`${GITHUB_FRANZ_URL}/franz`} target="_blank">Franz</a> | 678 | <a href={`${GITHUB_FRANZ_URL}/franz`} target="_blank" rel="noreferrer">Franz</a> |
678 | 679 | ||
679 | , a project published | 680 | , a project published |
680 | under the | 681 | under the |
681 | {' '} | 682 | {' '} |
682 | <a href={`${GITHUB_FRANZ_URL}/franz/blob/master/LICENSE`} target="_blank">Apache-2.0 License</a> | 683 | <a href={`${GITHUB_FRANZ_URL}/franz/blob/master/LICENSE`} target="_blank" rel="noreferrer">Apache-2.0 License</a> |
683 | </span> | 684 | </span> |
684 | <br /> | 685 | <br /> |
685 | <span className="mdi mdi-information" /> | 686 | <span className="mdi mdi-information" /> |