-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Images for empty states on Nodes- and Notification-Page added
- Loading branch information
1 parent
b9c0797
commit 068b610
Showing
9 changed files
with
86 additions
and
72 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ DOCKER_REGISTRY_PASSWORD | |
*~ | ||
*-audit.json | ||
.vscode/* | ||
.vs/* | ||
Untitled* | ||
node_modules | ||
yarn-error.log | ||
|
Binary file added
BIN
+30.9 KB
frontend/public/images-for-empty-state/nodes-for-orga-empty-state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,53 @@ | ||
import React from 'react'; | ||
|
||
import Typography from "@material-ui/core/Typography"; | ||
import ListItem from "@material-ui/core/ListItem"; | ||
import ListItemText from "@material-ui/core/ListItemText"; | ||
import Divider from "@material-ui/core/Divider"; | ||
import TableRow from "@material-ui/core/TableRow"; | ||
import TableCell from "@material-ui/core/TableCell"; | ||
|
||
import globalStyles from "../../styles"; | ||
|
||
// open source for images for empty fields: https://undraw.co/ | ||
// color-code: #53BBFE | ||
|
||
// icons from freepik: Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a> | ||
|
||
|
||
export const GetNodesForOrgaEmptyState = () => { | ||
return ( | ||
<div key="default"> | ||
<table style={{ alignItems: "center", textAlign: "center"}}> | ||
<tr> | ||
<td width="200vw"><img src="images-for-empty-state/nodes-for-orga-empty-state.png" alt="No notifications found" width="150vw"/></td> | ||
<td><Typography variant="subtitle1" style={{ color: "#B1B0B0"}}>No additonal information found.</Typography></td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
); | ||
}; | ||
|
||
export const GetListEntriesEmptyState = () => { | ||
return ( | ||
<div key="default"> | ||
<table style={{ alignItems: "center", textAlign: "center"}}> | ||
<tr> | ||
<td width="200vw"><img src="images-for-empty-state/organization-empty-state.png" alt="No notifications found" width="150vw"/></td> | ||
<td><Typography variant="subtitle1" style={{ color: "#B1B0B0"}}>No organizations found.</Typography></td> | ||
</tr> | ||
</table> | ||
</div> | ||
); | ||
}; | ||
|
||
export const GetNotificationEmptyState = () => { | ||
return ( | ||
<div style={{ textAlign: "center" }}> | ||
<img src="images-for-empty-state/notification-empty-state.png" alt="No notifications found" width="505vw"/> | ||
<Typography variant="subtitle1" style={{ color: "#B1B0B0"}}>We couldn't find any notifications.</Typography> | ||
</div> | ||
); | ||
}; | ||
|
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