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

Improved the UI #512

Merged
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
10 changes: 9 additions & 1 deletion Level1/MarketPlace/index.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
.main{
margin: 23px;
}


#btn{

border-radius: 12px ;
margin-top: 52px;
color: white;
background-color: blue;
margin-left: 70px ;
margin-left: 200px ;
}
.id1{
font-size: 30px;
Expand All @@ -14,6 +18,7 @@ color: black;
}
.frm{
/*border: 2px solid red;*/
margin-top: 24px;
padding-left: 590px;
font-size: 30px;
color: blue;
Expand Down Expand Up @@ -59,3 +64,6 @@ font-size: 28px;
margin-left: 700px ;
}

.heading{
text-align: center;
}
98 changes: 47 additions & 51 deletions Level1/MarketPlace/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,58 +11,54 @@
<link rel="stylesheet" type="text/css" href="./index.css">
</head>
<body>
<div class="main">

<form class ="frm">
<div class="form-group">
<label>Id</label>
<input type="text" class = "id1" id="frt-id" placeholder="Enter the id ">
<br>
<div class="form-group">
<label>Fruit Name</label>
<input type="text" class = "id1" id="frt-name" placeholder="Name of the fruit">
</div>
<div class="form-group">
<label>Cost</label>
<input type="text" class = "id1" id="frt-cost" placeholder="Cost of the fruit">
</div>
<!-- <center> -->
<input type="button" id = "btn" value = "SUBMIT" >
<!-- </center> -->
</div>
</form>

<hr class ="line" >
<!-- The fruit list table -->
<div>
<center>
<b><h2 style="background-color: orange;">The list of the fruit's is below </h2><p>Mantained and manage by the <span style="color:red">Owner</span></p>
<table id ="tb" border="2px">
<thead>
<th>
Id
</th>
<th>
Name
</th>
<th>
Cost
</th>
</thead>
<tbody>
</tbody>
</table>
</div>
<div>
<br>
<center>
<h2 id ="byer" style="background-color: orange";>BUYER SECTION </h2>
</center>
<b><i><p>Type the Id of the fruit which u want to buy and pay exact amount neither less nor more this may cancel ur contract</p></i>
<center>
<span id= "spn">ID</span><input class="id1" id = "in" type="text" name="">
</center>
<input type="button" id = "btn1" value = "BUY" ><br><br>
<input type="button" id = "btn2" value = "VIEW" >
<div>
<h1 class="heading">Fruit Market</h1>
</div>

<form class="frm">
<div class="form-group">
<label for="frt-id">Id</label>
<input type="text" class="id1" id="frt-id" placeholder="Enter the id">
</div>
<div class="form-group">
<label for="frt-name">Fruit Name</label>
<input type="text" class="id1" id="frt-name" placeholder="Name of the fruit">
</div>
<div class="form-group">
<label for="frt-cost">Cost</label>
<input type="text" class="id1" id="frt-cost" placeholder="Cost of the fruit">
</div>
<input type="button" id="btn" value="SUBMIT">
</form>

<hr class="line">

<div>
<h2 style="background-color: orange;">The list of the fruits is below</h2>
<p>Maintained and managed by the <span style="color: red;">Owner</span></p>
<table id="tb" border="2px">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Cost</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>

<div>
<h2 id="buyer-section" style="background-color: orange;">BUYER SECTION</h2>
<p>Type the Id of the fruit which you want to buy and pay the exact amount, neither less nor more, as this may cancel your contract</p>
<span id="spn">ID</span><input class="id1" id="in" type="text" name="">
<input type="button" id="btn1" value="BUY"><br><br>
<input type="button" id="btn2" value="VIEW">
</div>
</div>

</body>
</html>