Update react-bootstrap and temporarily disable automatic rendering of the modal view.

This commit is contained in:
Dorian 2015-06-14 21:02:45 -04:00
parent 0aba6bec26
commit a8d441f3c7
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
"less": "2.5.0", "less": "2.5.0",
"react": "0.13.3", "react": "0.13.3",
"bootstrap": "3.2.0", "bootstrap": "3.2.0",
"react-bootstrap": "0.21.2", "react-bootstrap": "0.23.3",
"highlight.js": "8.3.0", "highlight.js": "8.3.0",
"marked": "0.3.3", "marked": "0.3.3",
"superagent": "1.2.0", "superagent": "1.2.0",

View File

@ -20,12 +20,12 @@ UserLoginModal = React.createClass(
console.log('Render UserLoginModal view.') console.log('Render UserLoginModal view.')
return( return(
<Modal {...@props} bsStyle='primary' title='Login' animation={false}> <Modal {...@props} title='Login' animation={false}>
<div class="modal-body"> <div class="modal-body">
<div class="error_message">{ @props.error_message }</div> <div class="error_message">{ @props.error_message }</div>
<div class="row"> <div class="row">
<label class="control-label col-lg-2" for="username">Username</label> <label class="control-label col-lg-offset-1 col-lg-2" for="username">Username</label>
<div class="col-lg-8"> <div class="col-lg-8">
<input class="form-control" type="text" id="username" placeholder="Username" /> <input class="form-control" type="text" id="username" placeholder="Username" />
</div> </div>
@ -63,4 +63,4 @@ overlayTriggerInstance = (
</ModalTrigger> </ModalTrigger>
) )
React.render(overlayTriggerInstance, document.getElementById("user-login-trigger")) module.exports = overlayTriggerInstance