mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
start working on register piece for price - WIP
This commit is contained in:
parent
aa5934cd25
commit
18898b6f8a
@ -56,9 +56,11 @@ let Form = React.createClass({
|
||||
|
||||
getFormData(){
|
||||
let data = {};
|
||||
console.log(this.refs);
|
||||
for (let ref in this.refs){
|
||||
data[this.refs[ref].props.name] = this.refs[ref].state.value;
|
||||
}
|
||||
console.log(data);
|
||||
if ('getFormData' in this.props){
|
||||
data = mergeOptionsWithDuplicates(data, this.props.getFormData());
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ import GlobalNotification from '../../global_notification';
|
||||
|
||||
let RouteHandler = Router.RouteHandler;
|
||||
|
||||
|
||||
let PrizeApp = React.createClass({
|
||||
mixins: [Router.State],
|
||||
|
||||
|
@ -40,7 +40,14 @@ let PrizeRegisterPiece = React.createClass({
|
||||
name="terms"
|
||||
className="ascribe-settings-property-collapsible-toggle"
|
||||
style={{paddingBottom: 0}}>
|
||||
<InputCheckbox/>
|
||||
<InputCheckbox>
|
||||
<span>
|
||||
{' ' + getLangText('I agree to the Terms of Service the art price') + ' '}
|
||||
(<a href="https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/sluice/terms.pdf" target="_blank" style={{fontSize: '0.9em', color: 'rgba(0,0,0,0.7)'}}>
|
||||
{getLangText('read')}
|
||||
</a>)
|
||||
</span>
|
||||
</InputCheckbox>
|
||||
</Property>
|
||||
</RegisterPiece>
|
||||
);
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import 'landing';
|
||||
|
||||
.ascribe-prize-app {
|
||||
background-color: #FDFDFD;
|
||||
border-radius: 0;
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
.wp {
|
||||
background-color: #FDFDFD;
|
||||
|
||||
height: 100%;
|
||||
|
||||
/* We need this, otherwise piece list will have a scrollbar */
|
||||
|
Loading…
Reference in New Issue
Block a user