Skip to content
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

add new webpages #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions templates/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="en">

<head>
<script src="https://kit.fontawesome.com/17d7ad0c5c.js" crossorigin="anonymous"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Covid-19 Detection</title>

<style>
body
{
background-image:url(/templates/partials/background.jpg);
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}

.heading
{
font-size:xx-large;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: rgb(2, 18, 54);
text-align: center;
}
.about
{
font-size: x-large;
color: rgb(0, 0, 0);
text-align: center;
}
.transbox
{
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin:110px 33vw;
background-color: #ffffff;
border: 1px solid black;
opacity: 0.85;
width:450px;
height:200px;
border-radius:8px;
font-size: large;
text-align: center;
font-weight: 300;
color: rgb(51, 4, 28);

}
.transbox form
{
margin-top: 50px;
}
.transbox form input
{
font-weight:bold;
}
marquee
{
font-weight: bolder;
font-size: x-large;
color: rgb(255, 0, 0);
}
</style>

</head>

<body>

<div class="heading">
<h1>Covid-19 Detection</h1>
</div>
<div class="about">
<p>This website will detect Covid-19 infection from a person's Lung CT Scan with an accuracy of 96%</p>
</div>
<div class="transbox">
<h3>Please upload your Lung CT Scan </h3>
<form action = "/" method = "post" enctype="multipart/form-data">
<input type="file" name="file" />
<input type = "submit" value="Upload">
</form>
</div>
<marquee direction="right" behavior="alternate">
Remember to wear mask and use a sanatizer at all times!!!.....
</marquee>

</body>
</html>
117 changes: 117 additions & 0 deletions templates/negative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<!DOCTYPE html>
<html lang="en">

<head>
<script src="https://kit.fontawesome.com/17d7ad0c5c.js" crossorigin="anonymous"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Covid-19 Detection</title>

<style>
body
{
background-image:url(/templates/partials/background.jpg);
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}

.heading
{
font-size:xx-large;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: rgb(2, 18, 54);
text-align: center;
}
.about
{
font-size: x-large;
color: rgb(0, 0, 0);
text-align: center;
}
.scanimage
{
margin-top: 70px;
margin-left: 130px;
}
.scanimage img
{
width: 250px;
height: 250px;

}
.transbox
{
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin:70px 100px 0px 140px;
background-color: #ffffff;
border: 1px solid black;
opacity: 0.85;
width:450px;
height:200px;
border-radius:8px;
font-size: large;
text-align: center;
font-weight: 300;
color: rgb(0, 0, 0);
}
.suggestions
{
margin: 50px 0px 0px 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: large;
color: #ffffff;
}
.suggestions li
{
margin-top: 10px;
font-weight: 200%;
}

.main
{
display: flex;
}
marquee
{
font-weight: bolder;
font-size: x-large;
color: rgb(255, 0, 0);
}
</style>

</head>

<body>

<div class="heading">
<h1>Covid-19 Detection</h1>
</div>
<div class="about">
<p>This website will detect Covid-19 infection from a person's Lung CT Scan with an accuracy of 96%</p>
</div>
<div class="main">

<div class="scanimage">
<img src="/templates/partials/CT_scan.jpg" alt="CT scan image">
</div>
<div class="transbox">
<h3>Your Report is </h3><h3 style="color:green;margin-left: 0px;">NEGATIVE</h3><h3 style="color:red"><b>NOTE:</b>This is not a clinical result</h3>

</div>
<div class="suggestions">
<ul style="list-style-type: square;" align="left" >
<h3>Please seek medical diagnosis by a doctor <br>if you continue having the following symptomps:</h3>
<li>Trouble breathing</li>
<li>Persistent chest pain or pressure</li>
<li>Inability to stay awake</li>
<li>Pale, gray or blue-colored skin, lips or nail beds — depending on skin tone</li>
</ul>
</div>
</div>
<marquee direction="right" behavior="alternate">
Remember to wear mask and use a sanatizer at all times!!!.....
</marquee>
</body>
</html>
Binary file added templates/partials/CT_scan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/partials/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 120 additions & 0 deletions templates/positive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html lang="en">

<head>
<script src="https://kit.fontawesome.com/17d7ad0c5c.js" crossorigin="anonymous"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Covid-19 Detection</title>

<style>
body
{
background-image:url(/templates/partials/background.jpg);
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}

.heading
{
font-size:xx-large;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: rgb(2, 18, 54);
text-align: center;
}
.about
{
font-size: x-large;
color: rgb(0, 0, 0);
text-align: center;
}
.scanimage
{
margin-top: 70px;
margin-left: 130px;
}
.scanimage img
{
width: 250px;
height: 250px;

}
.transbox
{
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin:70px 100px 0px 140px;
background-color: #ffffff;
border: 1px solid black;
opacity: 0.85;
width:450px;
height:200px;
border-radius:8px;
font-size: large;
text-align: center;
font-weight: 300;
color: rgb(0, 0, 0);
}
.suggestions
{
margin: 60px 0px 0px 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: large;
color: #ffffff;
}
.suggestions li
{
margin-top: 10px;
font-weight: 200%;
}

.main
{
display: flex;
}
marquee
{
font-weight: bolder;
font-size: x-large;
color: rgb(255, 0, 0);
}
</style>

</head>

<body>

<div class="heading">
<h1>Covid-19 Detection</h1>
</div>
<div class="about">
<p>This website will detect Covid-19 infection from a person's Lung CT Scan with an accuracy of 96%</p>
</div>
<div class="main">

<div class="scanimage">
<img src="/templates/partials/CT_scan.jpg" alt="CT scan image">
</div>
<div class="transbox">
<h3>Your Report is </h3><h3 style="color:red;margin-left: 0px;">POSITIVE <br><br>Contact your local hospital immediately.</h3>

</div>
<div class="suggestions">
<ul style="list-style-type: square;" align="left" >
<li>DON'T PANIC</li>
<li>Keep yourself isolated for 2-3 weeks even from your family.</li>
<li>Try not to meet anyone during this period.</li>
<li>Try keeping thermomter and pulse oximeter.</li>
<li>Drink juice, water and other healthy drinks.</li>
<li>Do Yoga.</li>
<li>Be Positive.</li>
</ul>
</div>
</div>
<marquee direction="right" behavior="alternate">
Remember to wear mask and use a sanatizer at all times!!!.....
</marquee>

</body>
</html>