-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 3b17045 Merge: 8315f4a 5fed4a4 Author: Daniel Edler <edler.dev@gmail.com> Date: Mon Sep 30 03:33:10 2019 +0200 Merge branch 'master' into develop commit 8315f4a Author: Daniel Edler <edler.dev@gmail.com> Date: Mon Sep 30 03:25:05 2019 +0200 fix: don't add x scroll outside if multi input fixes #12 commit 1ceea7f Author: Daniel Edler <edler.dev@gmail.com> Date: Mon Sep 30 03:03:36 2019 +0200 fix: enable run ancestral states analysis fixes #13 commit 2b41fdc Author: Daniel Edler <edler.dev@gmail.com> Date: Mon Sep 30 02:45:34 2019 +0200 improvement: rename model to analysis and fix typo commit a5f99a5 Author: Daniel Edler <edler.dev@gmail.com> Date: Mon Sep 30 02:19:38 2019 +0200 fix: move subst. model from alignment to analysis Keep AA Matrix name but also move multistate model. fixes #45 and fixes #44 commit 0c40d98 Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 22:54:26 2019 +0200 fix: open concatenated alignment Write file before run only on open event. Also let the user open the partition file. fixes #8 commit 774ec0b Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 21:33:45 2019 +0200 fix: specify correction type for ASC prefix fixes #14 commit 9736000 Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 20:00:01 2019 +0200 fix: don't show error message on cancel raxml fixes #11 commit e6f5c7f Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 18:08:32 2019 +0200 feat: spinning indicator while running fixes #27 commit 14ddc2b Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 17:14:37 2019 +0200 fix: add missing outgroup option in one analysis fixes #42 commit 2cf0a37 Author: Daniel Edler <edler.dev@gmail.com> Date: Sun Sep 29 17:01:23 2019 +0200 style: increase font size in console. Fixes #41
- Loading branch information
1 parent
1cf1393
commit a9bc5fb
Showing
14 changed files
with
288 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import clsx from 'clsx'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
import Button from '@material-ui/core/Button'; | ||
import CircularProgress from '@material-ui/core/CircularProgress'; | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
wrapper: { | ||
position: 'relative', | ||
}, | ||
progress: { | ||
// color: green[500], | ||
position: 'absolute', | ||
top: '50%', | ||
left: '50%', | ||
marginTop: -12, | ||
marginLeft: -12, | ||
}, | ||
})); | ||
|
||
function LoadingButton(props) { | ||
const classes = useStyles(); | ||
const { loading, className, buttonClassName, progressProps = {}, ...buttonProps } = props; | ||
|
||
return ( | ||
<div className={clsx(classes.wrapper, className)}> | ||
<Button | ||
disabled={loading || buttonProps.disabled} | ||
{...buttonProps} | ||
> | ||
{ props.children } | ||
</Button> | ||
{loading && ( | ||
<CircularProgress size={24} className={classes.progress} {...progressProps} /> | ||
)} | ||
</div> | ||
); | ||
} | ||
|
||
LoadingButton.propTypes = { | ||
className: PropTypes.string, | ||
children: PropTypes.node, | ||
loading: PropTypes.bool, | ||
buttonClassName: PropTypes.string, | ||
progressProps: PropTypes.object | ||
}; | ||
|
||
// LoadingButton.defaultProps = { | ||
// buttonProps: {}, | ||
// progressProps: {}, | ||
// } | ||
|
||
export default LoadingButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a9bc5fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit 2b41fdc fixes #23