1
0
Fork 0

shop: configurations -> JSON

This commit is contained in:
Sebastien Bourdeauducq 2020-04-16 10:33:28 +08:00
parent 107bae7da0
commit c98354db63
1 changed files with 4 additions and 4 deletions

View File

@ -330,7 +330,7 @@ class Layout extends React.PureComponent {
<form className="form w-100">
<div className="form-group">
<p className="small">
Add your own configuration below. Should be something like:
Input the JSON description below. Should be something like:
<br />
{JSON.stringify({"items":[{"pn":"1123"},{"pn":"2118"},{"pn":"2118"},{"pn":"2128"}],"type":"desktop"})}
</p>
@ -342,7 +342,7 @@ class Layout extends React.PureComponent {
value={this.state.customconf}
className="form-control w-100"
rows="5"
placeholder="Add your custom configuration here. e.g " />
placeholder="Input JSON description here." />
</div>
{this.state.error ? (
<div className="form-group">
@ -987,7 +987,7 @@ class OrderPanel extends React.PureComponent {
<input
className="btn btn-sm btn-outline-primary m-0 mb-2"
style={{'cursor': 'pointer'}}
value="Import configurations"
value="Import JSON"
onClick={onClickOpenImport} />
</div>
@ -1217,7 +1217,7 @@ class OrderForm extends React.PureComponent {
<input
className="btn btn-outline-primary w-100 m-0 mb-2 mb-sm-0 mr-sm-2"
style={{'cursor': 'pointer', 'fontWeight': '700'}}
value="Show configurations"
value="Show JSON"
onClick={onClickShow} />
<input className="btn btn-primary w-100 m-0 ml-sm-2" type="submit" value={`${isProcessing ? 'Processing ...' : 'Request quote'}`} />