Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. render() {
  2. return (
  3. <Aux>
  4. <ErrorModal />
  5. <MainMenu />
  6. <br />
  7. <br />
  8. <div>
  9. <Nav tabs>
  10. <NavItem>
  11. <NavLink
  12. className={classnames({ active: this.state.activeTab === '1' })}
  13. onClick={() => { this.toggle('1'); }}
  14. >
  15. Active Reports
  16. </NavLink>
  17. </NavItem>
  18. <NavItem>
  19. <NavLink
  20. className={classnames({ active: this.state.activeTab === '2' })}
  21. onClick={() => { this.toggle('2'); }}
  22. >
  23. Inactive Reports
  24. </NavLink>
  25. </NavItem>
  26. <NavItem>
  27. <NavLink
  28. className={classnames({ active: this.state.activeTab === '3' })}
  29. onClick={() => { this.toggle('3'); }}
  30. >
  31. Templates
  32. </NavLink>
  33. </NavItem>
  34. </Nav>
  35. <TabContent activeTab={this.state.activeTab}>
  36. <TabPane tabId="1">
  37. <div className="SearchDropDown">
  38. <UncontrolledDropdown>
  39. <DropdownToggle tag="a" className="nav-link" caret onClick={this.dropdownToggle}
  40. style={{ color: '#1f698d', lineHeight: '26px', marginLeft: '24px', marginRight: '24px' }}>
  41. Location
  42. </DropdownToggle>
  43. <div className="locationDropDown">
  44. <DropdownMenu >
  45. {this.props.locationList.locationDTOList.map((location) => {
  46. return (
  47. <div className="DropDownCheckBox" key={location.id}>
  48. <Input
  49. name="locationFilter"
  50. type="checkbox"
  51. checked={this.state.locationFilterList.indexOf(location.id) !== -1}
  52. onClick={(event) => this.locationFilter(location.id, event)} />
  53. <span>{location.name}</span>
  54. </div>
  55. );
  56. })}
  57. </DropdownMenu>
  58. </div>
  59. </UncontrolledDropdown>
  60. </div>
  61.  
  62.  
  63. </Aux>
  64. );
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement