Skip to content

Commit

Permalink
Restyle Created Result page (#175)
Browse files Browse the repository at this point in the history
* Added result page

* removed .idea

* fixed

* fixed

* added container structure.

* Fixed typo

* Restyled by whitespace

Co-authored-by: Rutuja Dhanawade <[email protected]>
Co-authored-by: RutujaD182 <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
4 people committed Sep 28, 2020
1 parent e7d2406 commit ed8f67b
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 5 deletions.
65 changes: 65 additions & 0 deletions static/css/style_result.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
body{
background-color: #9d00e6 !important;
}

#logo{
height:90px;
width:90px;
position: relative;
top: 4px;
left: 4px;
}

h1 {
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 100px !important;
padding-top:20px;
text-align: center;
}
#heading{
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
width: 35% ;
}
h4 {
text-align: center;
padding-bottom:30px;
}

#result1{
position: absolute;
bottom: 0px;
left: 0px;
max-width:100%
height:auto;
}
#result3{
position: absolute;
right: 0px;
top: 0px;
max-width:100%
height:auto;
}
#result2{
position: absolute;
right: 0px;
bottom: 0px;
}
.imageBtn{

background-color: #30c8dd;
border-color: #42a5de;
color: black;
padding: 17px 80px;
text-align: center;
text-decoration: none;
display: inline-block;
margin-left: 20%;
margin-top:7%;
margin-right:auto;
font-size: 16px;
font-family: "Comic Sans MS", cursive, sans-serif;

}
Binary file added static/images/result1.png
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 static/images/result2.png
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 static/images/result3.png
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 static/images/result4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 34 additions & 5 deletions templates/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,42 @@
<head>
<title>Result page</title>
<link rel="shortcut icon" type="image/png" href="{{url_for('static', filename='images/icon.png')}}">
<link rel="stylesheet" href="{{url_for('static', filename='css/style.css')}}">

<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/style_result.css')}}">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">

</head>
<body>
<div class="container">
<h2>Welcome to the result page.</h2>
<a href="/">Go back to landing page.</a>
<body >

<!-- <h2>Welcome to the result page.</h2>-->
<!-- <a href="/">Go back to landing page.</a>-->


<img id="logo" src="{{url_for('static', filename='images/logo.png')}}">
<div class="container">
<div class="row">
<img id="heading" src="{{url_for('static', filename='images/result4.png')}}">
</div>
<!-- <h1><span> Result </span></h1>-->
<div class="row">
<div class="col-sm">
<button type="button" class="imageBtn"><b>Malaria Cell</b></button>
</div>
<div class="col-sm">
<button type="button" class="imageBtn"><b>Not Malaria Cell</b></button>
</div>
</div>
<img id="result1" src="{{url_for('static', filename='images/result1.png')}}">
<img id="result2" src="{{url_for('static', filename='images/result2.png')}}">
<img id="result3" src="{{url_for('static', filename='images/result3.png')}}">

</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>

</body>

<script src="static/js/script.js"></script>
</body>
Expand Down

0 comments on commit ed8f67b

Please sign in to comment.