-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#26/404 not found page #27
Open
HarsH-BansaL16
wants to merge
12
commits into
main
Choose a base branch
from
feat/#26/404-not-found-page
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0c55daf
Changed NavBar.js Location
HarsH-BansaL16 4391613
Added Page Not Found
HarsH-BansaL16 5defa68
Added ReadME Docs
HarsH-BansaL16 034dff7
Updated Docs
HarsH-BansaL16 4124a9c
Changed NavBar.js Location
HarsH-BansaL16 1c0bb4c
Added Page Not Found
HarsH-BansaL16 64a9f9e
Merge branch 'feat/#26/404-not-found-page' of https://github.com/Uman…
HarsH-BansaL16 4e7905a
Changed Images Name
HarsH-BansaL16 2bd9471
Update Client.md
HarsH-BansaL16 e45217b
Changed NavBar.js Location
HarsH-BansaL16 73fc33f
Added Page Not Found
HarsH-BansaL16 f06b408
Merge branch 'feat/#26/404-not-found-page' of https://github.com/Uman…
HarsH-BansaL16 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Histopathology Viewer | ||
|
||
### Setup | ||
- Install MySQL, and create credentials as mentioned below | ||
``` | ||
SQL_HOST = "localhost" | ||
SQL_USER = "Histuser" | ||
SQL_PASSWORD = "password" | ||
SQL_DATABASE = "Histdata" | ||
``` | ||
- Run `create_schema.sql` from `server/db_setup` | ||
|
||
## Sub Components | ||
|
||
- [Client](./Readme_Assets/Client/Client.md) | ||
- [Server](./Readme_Assets/Server/Server.md) |
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,32 @@ | ||
# Client | ||
- This Repository Refers to the Frontend of the Web-App | ||
- In `client/` Run the Following Command to Install the Dependencies | ||
``` | ||
npm install --no-lockfile --legacy-peer-deps | ||
``` | ||
--- | ||
|
||
|
||
### Running the Frontend | ||
``` | ||
npm start | ||
``` | ||
--- | ||
|
||
### Directory Structure | ||
![Directory Structure](./Images/Directory_Structure.png) | ||
--- | ||
|
||
### HV Upload Pipeline | ||
![Upload Pipeline](./Images/HV_Upload_Pipeline.png) | ||
- The User can Upload `.tiff` `.tif` `.png` `.jpeg` `.jpg` files to the HV Platform. | ||
|
||
### Storing the Images in MinIO Database | ||
- The `.png` `.jpeg` `.jpg` files are directly stored in the MinIO Database without any processing done on them. | ||
- The `.tiff` `.tif` files are broken down into Batches of Smaller Images which are then stored into the MinIO Database. | ||
|
||
### Accessing the Thumbnails of Images | ||
- The `.png` `.jpeg` `.jpg` files are directly accessed from the MinIO Database. | ||
- For the `.tiff` `.tif` files, the Smaller Images are retrieved in Batches which are then Reconstructed in the Frontend and Displayed to the User. The Images are Continously Retireved and Constructed as per the Depth of the Image. | ||
--- | ||
|
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,12 @@ | ||
# Server | ||
- This Repository Refers to the Backend of the Web-App | ||
- In `server/` Run the Following Command to Install the Dependencies | ||
``` | ||
npm install --no-lockfile --legacy-peer-deps | ||
``` | ||
--- | ||
### Running the Backend | ||
``` | ||
npx nodemon server.js | ||
``` | ||
--- |
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
File renamed without changes.
9 changes: 8 additions & 1 deletion
9
...onents/Viewer/components/NavBar/NavBar.js → client/src/components/NavBar/NavBar.js
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,46 @@ | ||
.section{ | ||
text-align: center; | ||
padding: 4rem 2rem; | ||
} | ||
|
||
.section .error{ | ||
font-size: 150px; | ||
color: #006CA5; | ||
text-shadow: | ||
1px 1px 1px #02367B, | ||
2px 2px 1px #02367B, | ||
3px 3px 1px #02367B, | ||
4px 4px 1px #02367B, | ||
5px 5px 1px #02367B, | ||
6px 6px 1px #02367B, | ||
7px 7px 1px #02367B, | ||
8px 8px 1px #02367B, | ||
25px 25px 8px rgba(0,0,0, 0.2); | ||
} | ||
|
||
.page{ | ||
margin: 2rem 0; | ||
font-family: 'Open Sans', sans-serif; | ||
font-size: 20px; | ||
font-weight: 600; | ||
color: #444; | ||
} | ||
|
||
#home-btn { | ||
background: #F54821; | ||
border: 0; | ||
border-style: none; | ||
border-radius: 0.25rem; | ||
color: white; | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
padding-bottom: 0.5rem; | ||
padding-top: 0.5rem; | ||
font-family: 'Open Sans', sans-serif; | ||
outline: 2px solid transparent; | ||
outline-offset: 2px; | ||
cursor: pointer; | ||
font-weight: bold; | ||
width: 200px; | ||
margin-right: 10px; | ||
} |
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,22 @@ | ||
import React from 'react' | ||
import './PageNotFound.css' | ||
import {useNavigate } from 'react-router-dom' | ||
|
||
function PageNotFound() { | ||
|
||
const navigate = useNavigate() | ||
|
||
function handleClick() { | ||
navigate('/') | ||
} | ||
|
||
return ( | ||
<div class='section'> | ||
<h1 class='error'>404</h1> | ||
<p class='page'>The page you are looking for is not found</p> | ||
<button id='home-btn' onClick={handleClick}> Back to Home </button> | ||
</div> | ||
) | ||
} | ||
|
||
export default PageNotFound |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Lets use tailwind for css here