-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #354 from biocompute-objects/prod_push
Prod push
- Loading branch information
Showing
123 changed files
with
2,733 additions
and
5,020 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ server/.secrets | |
server/db.sqlite3 | ||
server/.coverage | ||
server/htmlcov* | ||
*settings.json* |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,35 @@ | ||
// src/views/home/HomeView/FdaBox.js | ||
|
||
import React from "react"; | ||
import { | ||
Box, | ||
Card, | ||
CardActionArea, | ||
CardContent, | ||
Typography | ||
} from "@mui/material"; | ||
|
||
export default function FullWidthBox({link, title, content, image, imageAlt, cssClass}) { | ||
|
||
const handleClickOpen = () => { | ||
if (link !== "") { | ||
global.window.open(link) | ||
} | ||
}; | ||
|
||
return ( | ||
<Card className="home-notice"> | ||
<Box className={cssClass}> | ||
<CardActionArea onClick={handleClickOpen}> | ||
<CardContent > | ||
<Typography className="home-intro-title"> | ||
{title} | ||
</Typography> | ||
{image && <img src={image} height={100} alt={imageAlt} />} | ||
<Typography >{content}</Typography> | ||
</CardContent> | ||
</CardActionArea> | ||
</Box> | ||
</Card> | ||
); | ||
} |
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,44 @@ | ||
// src/views/home/HomeView/BcoDb.js | ||
|
||
import React from "react"; | ||
import { | ||
Card, | ||
CardActionArea, | ||
CardContent, | ||
Typography | ||
} from "@mui/material"; | ||
import { Link } from "react-router-dom" | ||
|
||
export default function ThirdBox({link, title, content, image, imageAlt, cssClass}) { | ||
const styling = cssClass | ||
|
||
return ( | ||
<Card className="home-linkcard" elevation={1}> | ||
{link && link.includes("https://") ?( | ||
<CardActionArea onClick={() => global.window.open(link)}> | ||
<CardContent> | ||
<Typography className="home-intro-title"> | ||
{title} | ||
<br /> | ||
{image && <img src={image} height={100} alt={imageAlt} />} | ||
<br /> | ||
</Typography> | ||
<Typography className={styling}>{content}</Typography> | ||
</CardContent> | ||
</CardActionArea> | ||
) : ( | ||
<CardActionArea className="home-linkcard" component={Link} to={link}> | ||
<CardContent> | ||
<Typography className="home-intro-title"> | ||
{title} | ||
<br /> | ||
{image && <img src={image} height={100} alt={imageAlt} />} | ||
<br /> | ||
</Typography> | ||
<Typography className={styling}>{content}</Typography> | ||
</CardContent> | ||
</CardActionArea> | ||
)} | ||
</Card> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.