Commit accbc01b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Update react views with id-s on input fields and authenticate button

parent 3c6a3f2e
Pipeline #4763 passed with stages
in 7 minutes and 20 seconds
...@@ -3391,14 +3391,6 @@ ...@@ -3391,14 +3391,6 @@
} }
} }
}, },
"string_decoder": {
"version": "1.0.1",
"bundled": true,
"dev": true,
"requires": {
"safe-buffer": "5.0.1"
}
},
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
...@@ -3409,6 +3401,14 @@ ...@@ -3409,6 +3401,14 @@
"strip-ansi": "3.0.1" "strip-ansi": "3.0.1"
} }
}, },
"string_decoder": {
"version": "1.0.1",
"bundled": true,
"dev": true,
"requires": {
"safe-buffer": "5.0.1"
}
},
"stringstream": { "stringstream": {
"version": "0.0.5", "version": "0.0.5",
"bundled": true, "bundled": true,
...@@ -6744,12 +6744,6 @@ ...@@ -6744,12 +6744,6 @@
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
"dev": true "dev": true
}, },
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
"dev": true
},
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
...@@ -6761,6 +6755,12 @@ ...@@ -6761,6 +6755,12 @@
"strip-ansi": "3.0.1" "strip-ansi": "3.0.1"
} }
}, },
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
"dev": true
},
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
......
...@@ -94,22 +94,22 @@ class Component extends PureComponent { ...@@ -94,22 +94,22 @@ class Component extends PureComponent {
<form> <form>
<h4>OAuth Authorization endpoint</h4> <h4>OAuth Authorization endpoint</h4>
<FormGroup> <FormGroup>
<FormControl type="text" value={authorizationEndpoint} onChange={this.updateFieldHandler.bind(this)("authorization_endpoint")} /> <FormControl id="inputAuthorization" type="text" value={authorizationEndpoint} onChange={this.updateFieldHandler.bind(this)("authorization_endpoint")} />
</FormGroup> </FormGroup>
<h4>OAuth Token endpoint</h4> <h4>OAuth Token endpoint</h4>
<FormGroup> <FormGroup>
<FormControl type="text" value={tokenEndpoint} onChange={this.updateFieldHandler.bind(this)("token_endpoint")} /> <FormControl id="inputToken" type="text" value={tokenEndpoint} onChange={this.updateFieldHandler.bind(this)("token_endpoint")} />
</FormGroup> </FormGroup>
<h4>Userinfo Endpoint</h4> <h4>Userinfo Endpoint</h4>
<FormGroup> <FormGroup>
<FormControl type="text" value={userinfoEndpoint} onChange={this.updateFieldHandler.bind(this)("userinfo_endpoint")} /> <FormControl id="inputUserinfo" type="text" value={userinfoEndpoint} onChange={this.updateFieldHandler.bind(this)("userinfo_endpoint")} />
</FormGroup> </FormGroup>
<h4>Client ID</h4> <h4>Client ID</h4>
<FormGroup> <FormGroup>
<FormControl type="text" bsSize="large" value={clientId} onChange={this.updateFieldHandler.bind(this)("client_id")} /> <FormControl id="inputClientid" type="text" bsSize="large" value={clientId} onChange={this.updateFieldHandler.bind(this)("client_id")} />
</FormGroup> </FormGroup>
{/* {/*
...@@ -136,7 +136,7 @@ class Component extends PureComponent { ...@@ -136,7 +136,7 @@ class Component extends PureComponent {
<p><code>{this.state.redirectURL}</code></p> <p><code>{this.state.redirectURL}</code></p>
<div> <div>
<Button onClick={this.authenticateStart.bind(this)} bsStyle="primary"> <Button id="btnAuthenticate" onClick={this.authenticateStart.bind(this)} bsStyle="primary">
<FontAwesome name='sign-in' /> Authenticate <FontAwesome name='sign-in' /> Authenticate
</Button> </Button>
&nbsp; &nbsp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment