Commit 34a02d88 authored by Axel Bocciarelli's avatar Axel Bocciarelli
Browse files

Move dataset sub-components out of sub-folders

parent 22b1c4c0
import React from 'react';
import { Glyphicon } from 'react-bootstrap';
import DatasetDownloadButton from '../DatasetDownloadButton';
import DatasetDownloadButton from './DatasetDownloadButton';
function DatasetFooter(props) {
const { location, sessionId, dataset } = props;
......
import React from 'react';
import ResponsiveTable from '../../Table/ResponsiveTable';
import ResponsiveTable from '../Table/ResponsiveTable';
class DatasetMetadataTab extends React.Component {
fieldFormatter(cell, row) {
......
......@@ -4,9 +4,9 @@ import moment from 'moment';
import {
getDatasetParameterByPrefixName,
getDatasetParameterValueByName,
} from '../../../helpers';
import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
} from '../../helpers';
import ParameterTableWidget from '../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from './GalleryDatasetThumbnail';
import EMDatasetSummary from './EMDatasetSummary';
import MXDatasetSummary from './MXDatasetSummary';
......
import React from 'react';
import ResponsiveTable from '../../Table/ResponsiveTable';
import ResponsiveTable from '../Table/ResponsiveTable';
function DatasetTechniqueTab(props) {
const { params } = props;
......
......@@ -5,11 +5,11 @@ import { FILE_COUNT } from '../../constants/parameterTypes';
import { getDatasetParameterByPrefixName } from '../../helpers';
import DatasetFileTree from '../File/DatasetFileTree';
import InstrumentWidget from '../Instrument/InstrumentWidget';
import DatasetFooter from './DatasetFooter/DatasetFooter';
import DatasetMetadataTab from './DatasetMetadataTab/DatasetMetadataTab';
import DatasetSummary from './DatasetSummary/DatasetSummary';
import DatasetTechniqueTab from './DatasetTechniqueTab/DatasetTechniqueTab';
import PublicationSummary from './PublicationSummary/PublicationSummary';
import DatasetFooter from './DatasetFooter';
import DatasetMetadataTab from './DatasetMetadataTab';
import DatasetSummary from './DatasetSummary';
import DatasetTechniqueTab from './DatasetTechniqueTab';
import PublicationSummary from './PublicationSummary';
class DatasetWidget extends React.Component {
getDefinition(dataset) {
......
import React from 'react';
import { Col, Grid, Row } from 'react-bootstrap';
import moment from 'moment';
import { getDatasetParameterValueByName } from '../../../helpers';
import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
import { getDatasetParameterValueByName } from '../../helpers';
import ParameterTableWidget from '../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from './GalleryDatasetThumbnail';
class EMDatasetSummary extends React.Component {
getParameters() {
......
import React from 'react';
import { Col, Grid, Row } from 'react-bootstrap';
import moment from 'moment';
import { getDatasetParameterValueByName } from '../../../helpers';
import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
import { getDatasetParameterValueByName } from '../../helpers';
import ParameterTableWidget from '../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from './GalleryDatasetThumbnail';
class MXDatasetSummary extends React.Component {
getParameters() {
......
import React from 'react';
import { Col, Grid, Image, Row } from 'react-bootstrap';
import { getFileByEventId } from '../../../api/icat/icatPlus';
import { getFileByEventId } from '../../api/icat/icatPlus';
class PublicationSummary extends React.Component {
getImageFromGalleyByIndex(index) {
......
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