Last change
on this file since efaa053 was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 13 months ago |
images upload/download impl, other fixes
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[e6c2521] | 1 | import React from "react";
|
---|
| 2 | import {Container, Col, Row, Image, Tabs, Tab} from "react-bootstrap";
|
---|
| 3 | import Navigation from "../Components/Layout/Navbar/Navigation";
|
---|
| 4 | import ResourcesTab from "../Components/Resources/ResourcesTab";
|
---|
| 5 | import {useState} from "react";
|
---|
| 6 | import useGet from "../Components/Hooks/useGet";
|
---|
| 7 | import {useAuth} from "../Components/Context/AuthContext";
|
---|
| 8 | import {Navigate} from "react-router-dom";
|
---|
| 9 | import {FaCheckCircle} from "react-icons/fa";
|
---|
| 10 | import UnapprovedBusinessesTable from "../Components/AdminPanel/UnapprovedBusinessesTable";
|
---|
| 11 | import UnapprovedProfilesTable from "../Components/AdminPanel/UnapprovedProfilesTable";
|
---|
| 12 | import AllProfilesTable from "../Components/AdminPanel/AllProfilesTable";
|
---|
| 13 |
|
---|
| 14 | const ProfilesManagementPage = (props) => {
|
---|
| 15 |
|
---|
| 16 | console.log(props.tab)
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | return (
|
---|
| 20 | <>
|
---|
| 21 | <Navigation/>
|
---|
| 22 | <Container>
|
---|
| 23 | <Row className="mb-5">
|
---|
| 24 | <h2 style={{color: "#159895", textAlign: "left"}}>Менаџмент со профили</h2>
|
---|
| 25 | </Row>
|
---|
| 26 | </Container>
|
---|
| 27 | <Container>
|
---|
| 28 | <Tabs
|
---|
| 29 | defaultActiveKey="home"
|
---|
| 30 | id="uncontrolled-tab-example"
|
---|
| 31 | className="mb-3"
|
---|
| 32 | >
|
---|
| 33 | <Tab eventKey="home" title="Неодобрени регистрации за фирма">
|
---|
| 34 | <UnapprovedBusinessesTable/>
|
---|
| 35 | </Tab>
|
---|
| 36 | <Tab eventKey="profile" title="Неверифицирани профили">
|
---|
| 37 | <UnapprovedProfilesTable/>
|
---|
| 38 | </Tab>
|
---|
| 39 | <Tab eventKey="contact" title="Сите профили">
|
---|
| 40 | <AllProfilesTable/>
|
---|
| 41 | </Tab>
|
---|
| 42 | </Tabs>
|
---|
| 43 | </Container>
|
---|
| 44 | </>)
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | export default ProfilesManagementPage; |
---|
Note:
See
TracBrowser
for help on using the repository browser.