diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-03-31 13:54:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 13:54:46 +0200 |
commit | fe716c6dc43d4d7acb437136b1c87902e8ff0bc4 (patch) | |
tree | 6b8a18d7a8f76de1fd34be3235d1639477b75d71 /server/sonar-web/src/main/js/apps/settings | |
parent | e660d605a27992d82d901b8fe0b8938da7afb270 (diff) | |
download | sonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.tar.gz sonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.zip |
re-format js code (#1877)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings')
5 files changed, 18 insertions, 16 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/DefinitionChanges.js b/server/sonar-web/src/main/js/apps/settings/components/DefinitionChanges.js index ee378179dfc..c32627b74ff 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/DefinitionChanges.js +++ b/server/sonar-web/src/main/js/apps/settings/components/DefinitionChanges.js @@ -53,8 +53,7 @@ export default class DefinitionChanges extends React.Component { <button className="js-cancel-changes big-spacer-left button-link" - onClick={e => this.handleCancelChange(e)} - > + onClick={e => this.handleCancelChange(e)}> {translate('cancel')} </button> </div> diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js b/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js index 79329842b57..b2fe28e2da5 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js +++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js @@ -70,8 +70,7 @@ export default class MultiValueInput extends React.Component { <div className="display-inline-block spacer-left"> <button className="js-remove-value button-clean" - onClick={e => this.handleDeleteValue(e, index)} - > + onClick={e => this.handleDeleteValue(e, index)}> <i className="icon-delete" /> </button> </div>} diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.js b/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.js index ecf57e48092..9b958b18514 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.js +++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.js @@ -72,8 +72,7 @@ export default class PropertySetInput extends React.Component { {!isLast && <button className="js-remove-value button-link" - onClick={e => this.handleDeleteValue(e, index)} - > + onClick={e => this.handleDeleteValue(e, index)}> <i className="icon-delete" /> </button>} </td> @@ -90,8 +89,7 @@ export default class PropertySetInput extends React.Component { <div> <table className="data zebra-hover no-outer-padding" - style={{ width: 'auto', minWidth: 480, marginTop: -12 }} - > + style={{ width: 'auto', minWidth: 480, marginTop: -12 }}> <thead> <tr> {setting.definition.fields.map(field => ( diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js index c49fdf8dabd..067a846800e 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js +++ b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js @@ -48,8 +48,7 @@ export default class EncryptionForm extends React.Component { <form id="encryption-form" className="big-spacer-bottom" - onSubmit={e => this.handleEncrypt(e)} - > + onSubmit={e => this.handleEncrypt(e)}> <input id="encryption-form-value" className="input-large" @@ -76,7 +75,9 @@ export default class EncryptionForm extends React.Component { <div className="huge-spacer-top bordered-top"> <div className="big-spacer-top spacer-bottom"> - Note that the secret key can be changed, but all the encrypted properties will have to be updated. + Note that the secret key can be changed, but all the encrypted properties + {' '} + will have to be updated. {' '} <a href="https://redirect.sonarsource.com/doc/settings-encryption.html"> More information diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/GenerateSecretKeyForm.js b/server/sonar-web/src/main/js/apps/settings/encryption/GenerateSecretKeyForm.js index e76355e6da7..e54d0ad6b9b 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/GenerateSecretKeyForm.js +++ b/server/sonar-web/src/main/js/apps/settings/encryption/GenerateSecretKeyForm.js @@ -69,13 +69,18 @@ export default class GenerateSecretKeyForm extends React.Component { has been set or changed. </li> <li className="spacer-bottom"> - Copy this file on all the machines that execute code inspection. Define the property - {' '}<code>sonar.secretKeyPath</code> on those machines if the path is not - {' '}<code>~/.sonar/sonar-secret.txt</code>. + Copy this file on all the machines that execute code inspection. Define the + {' '} + property <code>sonar.secretKeyPath</code> on those machines if the path is not + {' '} + <code>~/.sonar/sonar-secret.txt</code>. </li> <li> - For each property that you want to encrypt, generate the encrypted value and replace the original - value wherever it is stored (configuration files, command lines). + For each property that you want to encrypt, generate the encrypted value and + {' '} + replace the original value wherever it is stored + {' '} + (configuration files, command lines). </li> </ul> </div> |