Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import {Link} from 'react-router';
  3.  
  4. import ViewGoals from '../../img/Goals.png';
  5. import ViewInsights from '../../img/Insights.png';
  6. import ViewNewGoal from '../../img/NewIcon.png'
  7.  
  8. class ClientActions extends Component {
  9. render() {
  10. return (
  11. <div className="col-lg-8">
  12. <div className="ibox float-e-margins">
  13. <div className="ibox-title">
  14. <h4 className="text-align">Client Actions</h4>
  15. </div>
  16. <div className="ibox-content">
  17. <div className="row" style={{width: '100%'}}>
  18. <div className="col-md-4">
  19. <button
  20. style={{width: 200,
  21. height: 200,
  22. border: '1px solid grey',
  23. margin: 10, backgroundImage:
  24. `url(${ViewGoals})`}}
  25. className="btn btn-default">
  26. </button>
  27. </div>
  28. <div className="col-md-4">
  29. <Link
  30. style={{width: 200,
  31. height: 200,
  32. border: '1px solid grey',
  33. margin: 10, backgroundImage:
  34. `url(${ViewInsights})`}}
  35. className="btn btn-default"
  36. to={`/user/${this.props.client.id}/insights`}
  37. >
  38. </Link>
  39. </div>
  40. <div className="col-md-4">
  41. <button
  42. style={{width: 200,
  43. height: 200,
  44. border: '1px solid grey',
  45. margin: 10, backgroundImage:
  46. `url(${ViewNewGoal})`}}
  47. className="btn btn-default">
  48. </button>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. )
  55. }
  56. }
  57.  
  58. ClientActions.contextTypes = {
  59. router: React.PropTypes.object.isRequired
  60. }
  61.  
  62. export default ClientActions;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement