Skip to content

Commit 298f95f

Browse files
committed
New partners logo, key-generate script, changed version number
1 parent d783fe4 commit 298f95f

File tree

12 files changed

+28
-24
lines changed

12 files changed

+28
-24
lines changed

GUI/app/components/Home.js

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
import React, { Component } from 'react';
33
import TextInfoContent from '@mui-treasury/components/content/textInfo';
44
import styled from 'styled-components';
5-
import GridList from '@material-ui/core/GridList';
6-
import GridListTile from '@material-ui/core/GridListTile';
75
import { ipcRenderer } from 'electron';
6+
import Grid from '@material-ui/core/Grid';
87
import UNICT_LOGO from '../resources/unict.png';
98
import NERVIANO_LOGO from '../resources/nerviano.png';
109
import OHIO_LOGO from '../resources/ohio-logo.png';
@@ -21,10 +20,7 @@ type State = {
2120

2221
const FooterContainer = styled.div`
2322
text-align: center;
24-
position: fixed;
25-
bottom: 0;
26-
margin-bottom: 20px;
27-
width: 100% !important;
23+
margin-top: 200px;
2824
`;
2925

3026
export default class Home extends Component<Props, State> {
@@ -88,36 +84,36 @@ export default class Home extends Component<Props, State> {
8884
}`}
8985
/>
9086
<FooterContainer>
91-
<GridList cellHeight={55} cols={3}>
92-
<GridListTile cols={1}>
87+
<Grid container alignItems="center" justify="center" spacing={2}>
88+
<Grid item xs={12} sm={6} md={4} xl={3}>
9389
<img
9490
src={UNICT_LOGO}
9591
alt="UNICT"
9692
style={{ height: '50px', width: 'auto' }}
9793
/>
98-
</GridListTile>
99-
<GridListTile cols={1}>
94+
</Grid>
95+
<Grid item xs={12} sm={6} md={4} xl={3}>
10096
<img
10197
src={NERVIANO_LOGO}
102-
alt="UNICT"
98+
alt="NMS"
10399
style={{ height: '50px', width: 'auto' }}
104100
/>
105-
</GridListTile>
106-
<GridListTile cols={1}>
101+
</Grid>
102+
<Grid item xs={12} sm={6} md={4} xl={3}>
107103
<img
108104
src={IOR_LOGO}
109-
alt="UNICT"
105+
alt="IOR"
110106
style={{ height: '50px', width: 'auto' }}
111107
/>
112-
</GridListTile>
113-
<GridListTile cols={3}>
108+
</Grid>
109+
<Grid item xs={12} sm={6} md={4} xl={3}>
114110
<img
115111
src={OHIO_LOGO}
116-
alt="UNICT"
112+
alt="OSU"
117113
style={{ height: '50px', width: 'auto' }}
118114
/>
119-
</GridListTile>
120-
</GridList>
115+
</Grid>
116+
</Grid>
121117
</FooterContainer>
122118
</div>
123119
);

GUI/app/constants/system.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"DOCKER_IMAGE_NAME": "alaimos/rnadetector:v0.0.3",
33
"DOCKER_IMAGE_VERSION": "0.0.3",
4-
"GUI_VERSION": "0.0.3"
4+
"GUI_VERSION": "0.0.4"
55
}

GUI/app/main.dev.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ export default class AppUpdater {
2525
constructor() {
2626
log.transports.file.level = 'info';
2727
autoUpdater.logger = log;
28-
autoUpdater.checkForUpdatesAndNotify();
28+
autoUpdater.on('update-downloaded', () => {
29+
autoUpdater.quitAndInstall();
30+
});
31+
autoUpdater.checkForUpdatesAndNotify().then(() => true);
2932
}
3033
}
3134

@@ -323,5 +326,5 @@ app.on('ready', async () => {
323326

324327
// Remove this if your app does not use auto updates
325328
// eslint-disable-next-line
326-
new AppUpdater();
329+
if (Settings.isConfigured()) new AppUpdater();
327330
});

GUI/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rna-detector",
33
"productName": "RNAdetector",
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"description": "A pipeline for the analysis of RNA-seq data",
66
"main": "./main.prod.js",
77
"author": {
18.9 KB
Loading

GUI/app/resources/ior-logo.png

34.6 KB
Loading

GUI/app/resources/nerviano.png

97.2 KB
Loading

GUI/app/resources/ohio-logo.png

38.6 KB
Loading

GUI/app/resources/unict-old.png

48.3 KB
Loading

GUI/app/resources/unict.png

-16.7 KB
Loading

0 commit comments

Comments
 (0)