mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 05:32:41 +00:00
Update fixed text and add REMOVAL button (NYI)
This commit is contained in:
@@ -10,11 +10,19 @@ const LockNotification = createClass({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
removeLock : function() {
|
||||||
|
alert('Not yet implented');
|
||||||
|
},
|
||||||
|
|
||||||
render : function(){
|
render : function(){
|
||||||
return <div className='lockNotification'>
|
return <div className='lockNotification'>
|
||||||
<h1>BREW LOCKED</h1>
|
<h1>BREW LOCKED</h1>
|
||||||
|
<p>This brew been locked by the Administrators. It will not be accessible by any method other than the Editor until the lock is removed.</p>
|
||||||
|
<hr />
|
||||||
|
<p><strong>LOCK MESSAGE:</strong></p>
|
||||||
<p>{this.props.message || 'Unable to retrieve Lock Message'}</p>
|
<p>{this.props.message || 'Unable to retrieve Lock Message'}</p>
|
||||||
<button onClick={()=>{this.props.disableLock();}}>CLICK TO UNLOCK</button>
|
<button onClick={()=>{this.props.disableLock();}}>CONTINUE TO EDITOR</button>
|
||||||
|
<button onClick={this.removeLock}>REQUEST LOCK REMOVAL</button>
|
||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user