Commit e494ad1b authored by Matija Obreza's avatar Matija Obreza
Browse files

Moved assets/compoenents to src/ui

- With non-relative imports
parent 826c38d5
......@@ -6,7 +6,7 @@ import {Provider} from 'react-redux';
import {applyMiddleware, compose, createStore} from 'redux';
import rootReducer from 'reducers/index';
import thunk from 'redux-thunk';
import routes from '../assets/components/routes';
import routes from 'ui/routes';
require('../styles/font-awesome/css/font-awesome.css');
require('../styles/bootstrap/css/bootstrap.min.css');
......
......@@ -10,7 +10,7 @@ import {createStore, applyMiddleware} from 'redux';
import thunk from 'redux-thunk';
import rootReducer from 'reducers';
import routes from '../../../assets/components/routes';
import routes from 'ui/routes';
import fetchComponentData from 'middleware/fetchComponentData';
import checkAuthToken from 'middleware/checkAuthToken';
......
......@@ -3,11 +3,11 @@ import {Link} from 'react-router';
import Grid from 'material-ui/Grid';
import {withStyles} from 'material-ui/styles';
import PaginationComponent from '../../pagination';
import {Dataset} from 'model/dataset.model';
import {Page} from 'model/common.model';
import {IDatasetFilter} from 'model/filter.model';
import DataTable from '../../tables/DataTable';
import DataTable from 'ui/common/tables/DataTable';
import PaginationComponent from 'ui/common/pagination';
interface IDatasetTabProps extends React.ClassAttributes<any> {
classes: any;
......
......@@ -3,11 +3,11 @@ import {Link} from 'react-router';
import Grid from 'material-ui/Grid';
import {withStyles} from 'material-ui/styles';
import PaginationComponent from '../../pagination';
import {Page} from 'model/common.model';
import {IDescriptorFilter} from 'model/filter.model';
import DataTable from '../../tables/DataTable';
import {Descriptor} from 'model/descriptors.model';
import DataTable from 'ui/common/tables/DataTable';
import PaginationComponent from 'ui/common/pagination';
interface IDescriptorTabProps extends React.ClassAttributes<any> {
classes: any;
......
import * as React from 'react';
import * as naturalCompare from 'string-natural-compare';
import {AccessionIdentifier} from 'model/dataset.model';
import DOI from '../DOI';
import DOI from 'ui/common/DOI';
interface IMyProps extends React.Props<any> {
accessionIdentifiers: AccessionIdentifier[];
......
Supports Markdown
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