Skip to content

Commit

Permalink
merge with xchem
Browse files Browse the repository at this point in the history
  • Loading branch information
ricgillams committed Sep 11, 2018
2 parents 7ff7eaa + b686c66 commit 1ec399f
Show file tree
Hide file tree
Showing 19 changed files with 116 additions and 115 deletions.
1 change: 0 additions & 1 deletion js/actions/selectionActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
RELOAD_SELECTION_STATE
} from "./actonTypes";


export const setToBuyList = function (to_buy_list){
console.log("ACTIONS: "+ to_buy_list)
return {
Expand Down
9 changes: 4 additions & 5 deletions js/components/SummaryCmpd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
* Created by abradley on 28/03/2018.
*/

import React from 'react';
import { connect } from 'react-redux'
import { GenericView } from './generalComponents'
import * as selectionActions from '../actions/selectionActions'
import SVGInline from "react-svg-inline"
import React from "react";
import {connect} from "react-redux";
import {GenericView} from "./generalComponents";
import SVGInline from "react-svg-inline";

class SummaryCmpd extends GenericView {

Expand Down
4 changes: 2 additions & 2 deletions js/components/compoundList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/
import { Row, Well, Button} from 'react-bootstrap';
import React from 'react';
import { connect } from 'react-redux'
import CompoundView from './compoundView';
import {connect} from "react-redux";
import CompoundView from "./compoundView";
import * as selectionActions from "../actions/selectionActions";
import keydown from 'react-keydown';

Expand Down
16 changes: 8 additions & 8 deletions js/components/compoundView.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* Created by abradley on 15/03/2018.
*/
import React from 'react';
import { connect } from 'react-redux'
import { GenericView } from './generalComponents'
import * as selectionActions from '../actions/selectionActions'
import SVGInline from "react-svg-inline"
import fetch from 'cross-fetch';
import * as nglLoadActions from '../actions/nglLoadActions'
import * as nglObjectTypes from '../components/nglObjectTypes'
import React from "react";
import {connect} from "react-redux";
import {GenericView} from "./generalComponents";
import * as selectionActions from "../actions/selectionActions";
import SVGInline from "react-svg-inline";
import fetch from "cross-fetch";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglObjectTypes from "../components/nglObjectTypes";

class CompoundView extends GenericView {

Expand Down
11 changes: 6 additions & 5 deletions js/components/eventList.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
* Created by abradley on 19/04/2018.
*/
import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as listType from './listTypes'

import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";

class EventList extends GenericList {

Expand Down
10 changes: 5 additions & 5 deletions js/components/generalComponents.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Created by abradley on 01/03/2018.
*/
import SVGInline from "react-svg-inline"
import React from 'react';
import { ListGroup, Pager, ProgressBar, Well } from 'react-bootstrap';
import fetch from 'cross-fetch'
import * as listTypes from './listTypes';

import SVGInline from "react-svg-inline";
import React from "react";
import {ListGroup, Pager, ProgressBar, Well} from "react-bootstrap";
import fetch from "cross-fetch";
import * as listTypes from "./listTypes";
export function FillMe(props) {
return <h1>FILL ME UP PLEASE</h1>;
}
Expand Down
17 changes: 9 additions & 8 deletions js/components/header.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/**
* Created by abradley on 14/03/2018.
*/
import React from 'react';
import { Navbar } from 'react-bootstrap'
import { Typeahead } from 'react-typeahead';
import * as apiActions from '../actions/apiActions'
import * as nglActions from '../actions/nglLoadActions'
import { connect } from 'react-redux'
import * as nglObjectTypes from '../components/nglObjectTypes'
import { withRouter } from 'react-router-dom'

import React from "react";
import {Navbar} from "react-bootstrap";
import {Typeahead} from "react-typeahead";
import * as apiActions from "../actions/apiActions";
import * as nglActions from "../actions/nglLoadActions";
import {connect} from "react-redux";
import * as nglObjectTypes from "../components/nglObjectTypes";
import {withRouter, Link} from "react-router-dom";

class Header extends React.Component {

Expand Down
14 changes: 7 additions & 7 deletions js/components/hotspotList.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Created by ricgillams on 04/07/2018.
*/
import { Row, Well} from 'react-bootstrap';
import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as listType from './listTypes'
import HotspotView from './hotspotView'
import {Row, Well} from "react-bootstrap";
import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";
import HotspotView from "./hotspotView";

const molStyle = {height: "250px",
overflow:"scroll"}
Expand Down
18 changes: 9 additions & 9 deletions js/components/hotspotView.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
* Created by ricgillams on 05/07/2018.
*/

import { Col, Row, Image, Panel, Grid} from 'react-bootstrap';
import React from 'react';
import { connect } from 'react-redux'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as nglObjectTypes from './nglObjectTypes'
import '../../css/toggle.css';
import Toggle from 'react-bootstrap-toggle';
import fetch from 'cross-fetch';
import $ from 'jquery';
import {Col, Row, Image, Panel, Grid} from "react-bootstrap";
import React from "react";
import {connect} from "react-redux";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglObjectTypes from "./nglObjectTypes";
import "../../css/toggle.css";
import Toggle from "react-bootstrap-toggle";
import fetch from "cross-fetch";
import $ from "jquery";

class HotspotView extends React.Component {

Expand Down
6 changes: 3 additions & 3 deletions js/components/landing.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* Created by ricgillams on 21/06/2018.
*/
import { Col, Row} from 'react-bootstrap';
import React from 'react';
import { connect } from 'react-redux'
import {Col, Row} from "react-bootstrap";
import React from "react";
import {connect} from "react-redux";
import TargetList from "./targetList";

export class Welcome extends React.Component {
Expand Down
7 changes: 4 additions & 3 deletions js/components/modalLoadingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
* Created by ricgillams on 14/06/2018.
*/

import React from 'react';
import {connect} from 'react-redux';
import ReactModal from 'react-modal';
import React from "react";
import {connect} from "react-redux";
import ReactModal from "react-modal";
import {Button, Well, Col, Row} from "react-bootstrap";

const customStyles = {
overlay : {
Expand Down
14 changes: 7 additions & 7 deletions js/components/molGroupList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* Created by abradley on 13/03/2018.
*/

import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as listType from './listTypes'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as nglObjectTypes from '../components/nglObjectTypes'
import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglObjectTypes from "../components/nglObjectTypes";

class MolGroupList extends GenericList {

Expand Down
16 changes: 8 additions & 8 deletions js/components/moleculeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* Created by abradley on 14/03/2018.
*/

import { Row, Well} from 'react-bootstrap';
import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as listType from './listTypes'
import * as nglLoadActions from '../actions/nglLoadActions'
import MoleculeView from './moleculeView'
import {Row, Well} from "react-bootstrap";
import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";
import * as nglLoadActions from "../actions/nglLoadActions";
import MoleculeView from "./moleculeView";

const molStyle = {height: "250px",
overflow:"scroll"}
Expand Down
19 changes: 9 additions & 10 deletions js/components/moleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
* Created by abradley on 14/03/2018.
*/

import React from 'react';
import { connect } from 'react-redux'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as apiActions from '../actions/apiActions'
import { GenericView } from './generalComponents'
import * as nglObjectTypes from './nglObjectTypes'
import * as selectionActions from '../actions/selectionActions'
import * as listTypes from './listTypes'
import '../../css/toggle.css';
import Toggle from 'react-bootstrap-toggle';
import React from "react";
import {connect} from "react-redux";
import * as nglLoadActions from "../actions/nglLoadActions";
import {GenericView} from "./generalComponents";
import * as nglObjectTypes from "./nglObjectTypes";
import * as selectionActions from "../actions/selectionActions";
import * as listTypes from "./listTypes";
import "../../css/toggle.css";
import Toggle from "react-bootstrap-toggle";
import SVGInline from "react-svg-inline";
import fetch from "cross-fetch";

Expand Down
20 changes: 10 additions & 10 deletions js/components/nglComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
* Created by abradley on 01/03/2018.
*/

import { Stage, Shape, concatStructures, Selection } from 'ngl';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as nglRenderActions from '../actions/nglRenderActions'
import * as nglObjectTypes from '../components/nglObjectTypes'
import * as listTypes from './listTypes'
import { showLoading, hideLoading } from 'react-redux-loading-bar'
import * as selectionActions from '../actions/selectionActions'
import {Stage, Shape, concatStructures, Selection} from "ngl";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglRenderActions from "../actions/nglRenderActions";
import * as nglObjectTypes from "../components/nglObjectTypes";
import * as listTypes from "./listTypes";
import {showLoading, hideLoading} from "react-redux-loading-bar";
import * as selectionActions from "../actions/selectionActions";

export class NGLView extends React.Component {
constructor(props) {
Expand Down
14 changes: 7 additions & 7 deletions js/components/panddaSiteList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* Created by abradley on 17/04/2018.
*/

import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux'
import * as apiActions from '../actions/apiActions'
import * as listType from './listTypes'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as nglObjectTypes from '../components/nglObjectTypes'
import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglObjectTypes from "../components/nglObjectTypes";

class PanddaSiteList extends GenericList {

Expand Down
16 changes: 8 additions & 8 deletions js/components/targetList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* Created by abradley on 13/03/2018.
*/

import { ListGroupItem, ListGroup } from 'react-bootstrap';
import { GenericList } from './generalComponents';
import React from 'react';
import { connect } from 'react-redux';
import * as apiActions from '../actions/apiActions';
import * as listType from './listTypes';
import * as nglLoadActions from '../actions/nglLoadActions';
import * as nglObjectTypes from '../components/nglObjectTypes';
import {ListGroupItem, ListGroup} from "react-bootstrap";
import {GenericList} from "./generalComponents";
import React from "react";
import {connect} from "react-redux";
import * as apiActions from "../actions/apiActions";
import * as listType from "./listTypes";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as nglObjectTypes from "../components/nglObjectTypes";
import {withRouter, Link} from "react-router-dom";

class TargetList extends GenericList {
Expand Down
14 changes: 7 additions & 7 deletions js/components/updateOrientation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* Created by ricgillams on 13/06/2018.
*/

import React from 'react';
import { connect } from 'react-redux'
import * as nglLoadActions from '../actions/nglLoadActions'
import * as apiActions from '../actions/apiActions'
import * as selectionActions from '../actions/selectionActions'
import { Button } from 'react-bootstrap'
import { getStore } from '../containers/globalStore';
import React from "react";
import {connect} from "react-redux";
import * as nglLoadActions from "../actions/nglLoadActions";
import * as apiActions from "../actions/apiActions";
import * as selectionActions from "../actions/selectionActions";
import {Button} from "react-bootstrap";
import {getStore} from "../containers/globalStore";

export class UpdateOrientation extends React.Component {
constructor(props) {
Expand Down
5 changes: 3 additions & 2 deletions js/containers/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Grid } from 'react-bootstrap';
import React, {Component} from "react";
import {connect} from "react-redux";
import {Grid} from "react-bootstrap";
import Header from "../components/header";
import {MyMenu} from "../components/menuView";
import LoadingBar from "react-redux-loading-bar";
Expand Down

0 comments on commit 1ec399f

Please sign in to comment.