Advertisement
Guest User

Untitled

a guest
Mar 25th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. import React from 'react';
  2.  
  3.  
  4. class LoginScreenContainer extends React.Component {
  5. constructor() {
  6. super();
  7. this.state = {
  8. username: ""
  9. }
  10. }
  11.  
  12. render() {
  13. return (
  14. <div>
  15. <div style={{ border: '1px solid #E0E0E0', paddingLeft: 20, paddingRight: 20, height: 65, display: 'flex', flexDirection: 'row' }}>
  16. <p style={{ color: '#757575', fontWeight: 'light', fontSize: 21, flex: 1 }}>DiagnosisIQ</p>
  17. </div>
  18. <p style={{fontSize: 32, textAlign: 'center', marginBottom: 10, marginTop: '200px', fontWeight: 'light'}}>Physician Portal</p>
  19. <form style={{textAlign: 'center'}}>
  20. <div style={{display: 'flex', flexDirection: 'row', alignItems: 'center', width: '40%', margin: '0 auto'}}>
  21. <label><b>Username:</b></label>
  22. <input
  23. style={{ margin: '2%', padding: 10, width: '100%', height: 20, borderWidth: 0, backgroundColor: '#F0F1F3', borderRadius: '4px' }}
  24. value={this.state.userName}
  25. onChangeText={(userName) => this.setState({userName})}
  26. placeholder="Username" />
  27. </div>
  28. <div style={{display: 'flex', flexDirection: 'row', alignItems: 'center', width: '40%', margin: '0 auto'}}>
  29. <label><b>Password:</b></label>
  30. <input
  31. style={{ margin: '2%', padding: 10, width: '100%', height: 20, borderWidth: 0, backgroundColor: '#F0F1F3', borderRadius: '4px' }}
  32. value={this.state.password}
  33. onChangeText={(password) => this.setState({password})}
  34. placeholder="Password"
  35. type="password"
  36. secureTextEntry={true} />
  37. </div>
  38. <div onClick="" style={{color: 'white', display: 'flex', backgroundColor: '#4da6ff', height: '40px', alignItems: 'center', margin: '0 auto', width: '15%', textAlign: 'center', borderRadius: '5px', marginTop: '20px'}}>
  39. <div style={{margin: '0 auto'}}>
  40. Login
  41. </div>
  42. </div>
  43. </form>
  44. </div>
  45. );
  46. }
  47. }
  48.  
  49. export default LoginScreenContainer;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement