-
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.
- Loading branch information
1 parent
b9c0797
commit 504976f
Showing
9 changed files
with
92 additions
and
71 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
+23.5 KB
frontend/public/images-for-empty-state/nodes-network-table-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,55 @@ | ||
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 ( | ||
<Typography variant="subtitle1"><p><i>No additonal information found</i></p></Typography> | ||
); | ||
}; | ||
|
||
export const GetListEntriesEmptyState = () => { | ||
return ( | ||
<div key="default"> | ||
<table style={{ alignItems: "center", textAlign: "center"}}> | ||
<tr> | ||
<td width="150vw"><img src="images-for-empty-state/organization-empty-state.png" alt="No notifications found" width="100vw"/></td> | ||
<td><Typography variant="subtitle1">No organizations found.</Typography></td> | ||
</tr> | ||
</table> | ||
</div> | ||
); | ||
}; | ||
|
||
export const GetNodesTableEmptyState = () => { | ||
return ( | ||
<div style={{ textAlign: "center" }}> | ||
<img src="images-for-empty-state/nodes-network-table-empty-state.png" alt="No entries" width="505vw"/> | ||
<Typography variant="subtitle1">We couldn't find any entries.</Typography> | ||
<br></br> | ||
</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">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