Commit 3601fc7b authored by Matija Obreza's avatar Matija Obreza
Browse files

Moved remaining components to their modules

parent f3706c8c
......@@ -17,7 +17,7 @@ import Loading from 'ui/common/Loading';
import PagedLoader from 'ui/common/PagedLoader';
import PrettyFilters from 'ui/common/filter/PrettyFilters';
import PaginationComponent from 'ui/common/pagination';
import AccessionCard from 'ui/genesys/accession/AccessionCard';
import AccessionCard from 'accessions/ui/c/AccessionCard';
import Tabs, {Tab} from 'ui/common/Tabs';
import AccessionFilters from './c/Filters';
// TODO only for demo
......
......@@ -22,7 +22,7 @@ import { ExternalLink } from 'ui/common/Links';
import SciName from 'ui/genesys/SciName';
import { ScrollToTopOnMount } from 'ui/common/page/scrollers';
import ReduxCheckbox from 'ui/common/checkbox';
import CropChips from 'ui/genesys/crop/CropChips';
import CropChips from 'crop/ui/c/CropChips';
import LocationMap from 'ui/common/LocationMap';
import {CountryLink, DatasetLink, InstituteLink, SubsetLink} from 'ui/genesys/Links';
import PropertiesCard from 'ui/common/PropertiesCard';
......
......@@ -8,7 +8,7 @@ import Crop from 'model/Crop';
// UI
import PageLayout, { PageContents } from 'ui/layout/PageLayout';
import ContentHeader from 'ui/common/heading/ContentHeader';
import CropCard from 'ui/genesys/crop/CropCard';
import CropCard from 'crop/ui/c/CropCard';
import GridLayout from 'ui/layout/GridLayout';
interface IBrowsePageProps extends React.ClassAttributes<any> {
......
......@@ -7,7 +7,7 @@ import Crop from 'model/Crop';
// UI
import PageLayout, {PageContents} from 'ui/layout/PageLayout';
import CropCard from 'ui/genesys/crop/CropCard';
import CropCard from 'crop/ui/c/CropCard';
import ContentHeader from 'ui/common/heading/ContentHeader';
interface IDisplayPageProps extends React.ClassAttributes<any> {
......
......@@ -17,7 +17,7 @@ import Loading from 'ui/common/Loading';
import PagedLoader from 'ui/common/PagedLoader';
import PrettyFilters from 'ui/common/filter/PrettyFilters';
import PaginationComponent from 'ui/common/pagination';
import InstituteCard from 'ui/genesys/institute/InstituteCard';
import InstituteCard from 'institutes/ui/с/InstituteCard';
import InstituteFilters from './с/Filters';
......
......@@ -13,7 +13,7 @@ import BrowsePageTemplate from 'ui/pages/_base/BrowsePage';
import { PageContents } from 'ui/layout/PageLayout';
import Loading from 'ui/common/Loading';
import PagedLoader from 'ui/common/PagedLoader';
import RequestCard from 'ui/genesys/materialRequest/RequestCard';
import RequestCard from 'requests/ui/admin/c/RequestCard';
import ContentHeaderWithButton from 'ui/common/heading/ContentHeaderWithButton';
......
......@@ -17,7 +17,7 @@ import Loading from 'ui/common/Loading';
import PagedLoader from 'ui/common/PagedLoader';
import PrettyFilters from 'ui/common/filter/PrettyFilters';
import PaginationComponent from 'ui/common/pagination';
import SubsetCard from 'ui/genesys/subset/SubsetCard';
import SubsetCard from 'subsets/ui/c/SubsetCard';
import SubsetFilters from './c/Filters';
......
......@@ -7,7 +7,7 @@ import FiltersBlock from 'ui/common/filter/FiltersBlock';
import CollapsibleComponentSearch from 'ui/common/filter/CollapsibleComponentSearch';
import StringFilter from 'ui/common/filter/StringFilter';
import StringArrFilter from 'ui/common/filter/StringArrFilter';
import CropFilter from 'ui/genesys/crop/CropFilter';
import CropFilter from 'crop/ui/c/CropFilter';
const SubsetFilters = ({handleSubmit, initialValues, initialize, ...other}) => {
// console.log('SubsetFilters', initialValues);
......
......@@ -8,8 +8,8 @@ import Number from 'ui/common/Number';
import { ExternalLink } from 'ui/common/Links';
import { Properties, PropertiesItem } from 'ui/common/Properties';
import CropChips from '../crop/CropChips';
import McpdDate from '../../common/time/McpdDate';
import CropChips from 'crop/ui/c/CropChips';
import McpdDate from 'ui/common/time/McpdDate';
const SubsetCard = ({subset, complete = false, ...other}: { subset: Subset, complete?: boolean } & React.ClassAttributes<any>) => {
return (
......
......@@ -10,8 +10,8 @@ import AccessionFilter from 'model/AccessionFilter';
import {IPageRequest} from 'model/FilteredPage';
import Page from 'model/Page';
// ui
import SubsetCard from 'ui/genesys/subset/SubsetCard';
import AccessionCard from 'ui/genesys/accession/AccessionCard';
import SubsetCard from 'subsets/ui/c/SubsetCard';
import AccessionCard from 'accessions/ui/c/AccessionCard';
import PropertiesCard from 'ui/common/PropertiesCard';
import Grid from '@material-ui/core/Grid';
......
......@@ -9,7 +9,7 @@ import {applyFilters} from 'subsets/actions/public';
import Subset from 'model/Subset';
import FilteredPage from 'model/FilteredPage';
// UI
import SubsetDashboardCard from 'ui/genesys/subset/SubsetDashboardRow';
import SubsetDashboardCard from './c/SubsetDashboardRow';
import MyDataTable from 'ui/common/tables/MyDataTable';
......
......@@ -7,7 +7,7 @@ import Validators from 'utilities/Validators';
import {TextField} from 'ui/common/text-field';
import MarkdownField from 'ui/common/markdown/MarkdownField';
import CropSelector from 'ui/genesys/crop/CropSelector';
import CropSelector from 'crop/ui/c/CropSelector';
import BasicInfoRadioGroup from './BasicInfoRadioGroup';
interface ILoginContainerProps extends React.ClassAttributes<any> {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment