-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Updated UI of the app
- Loading branch information
Showing
9 changed files
with
833 additions
and
971 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
<h1>ADD BALANCE</h1> | ||
<hr /> | ||
<h3>Your Current Balance: <%= user.balance%></h3> | ||
<hr /> | ||
<br /> | ||
<form | ||
action="/addBalance" | ||
method="POST" | ||
class="bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4" | ||
> | ||
<div class="mb-4"> | ||
<label class="block text-gray-700 text-sm font-bold mb-2"> | ||
Enter amount | ||
</label> | ||
<input | ||
type="number" | ||
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" | ||
name="addAmount" | ||
placeholder="amount" | ||
/> | ||
<input | ||
type="submit" | ||
value="Add" | ||
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" | ||
/> | ||
<section class="text-gray-700 body-font md:ml-56 lg:ml-64 md:mx-auto md:pr-14 w-screen inline"> | ||
<div class="container px-5 py-10 mx-auto md:px-auto"> | ||
<div class="my-4 absolute-center"> | ||
<h2 class="text-gray-700 lg:text-6xl text-5xl font-semibold leading-none tracking-wider px-5">Add Balance</h2> | ||
</div> | ||
</form> | ||
<hr class="line"> | ||
<div class="container py-16 mx-auto"> | ||
<h3>Your Current Balance: <%= user.balance%></h3> | ||
<form action="/addBalance" method="POST" class="bg-white shadow-md rounded px-8 pt-6 pb-8 my-6"> | ||
<div class=" mb-4"> | ||
<label class="block text-gray-700 text-sm font-bold mb-2"> | ||
Enter amount | ||
</label> | ||
<input type="number" | ||
class="shadow appearance-none border rounded w-4/5 py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" | ||
name="addAmount" placeholder="amount" /> | ||
<input type="submit" value="Add" | ||
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" /> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</section> | ||
|
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 |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" | ||
integrity="sha256-46r060N2LrChLLb5zowXQ72/iKKNiw/lAmygmHExk/o=" | ||
crossorigin="anonymous" | ||
/> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script> | ||
|
||
<link type="text/css" rel="stylesheet" href="./css/style.css" /> | ||
<link type="text/css" rel="stylesheet" href="../css/style.css" /> | ||
<title>TradeByte</title> | ||
</head> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" | ||
integrity="sha256-46r060N2LrChLLb5zowXQ72/iKKNiw/lAmygmHExk/o=" crossorigin="anonymous" /> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script> | ||
|
||
<body> | ||
<div class="md:flex flex-col bg-gray-300 md:flex-row min-h-screen w-full"> | ||
<%- include('../partials/_nav.ejs') %> <%- body %> | ||
</div> | ||
<script type="application/javascript" src="./javascript/script.js"></script> | ||
<script | ||
type="application/javascript" | ||
src="../javascript/script.js" | ||
></script> | ||
</body> | ||
</html> | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap" rel="stylesheet" /> | ||
|
||
<link type="text/css" rel="stylesheet" href="../css/style.css" /> | ||
<link type="text/css" rel="stylesheet" href="../css/tailwind.css" /> | ||
<link rel="shortcut icon" href="../images/TradeByte-Favicon.png" type="image/x-icon"> | ||
<title>TradeByte</title> | ||
</head> | ||
|
||
<body> | ||
<div class="md:flex flex-col md:flex-row min-h-screen w-full"> | ||
<%- include('../partials/_nav.ejs') %> | ||
<%- body %> | ||
</div> | ||
<script type="application/javascript" src="../javascript/script.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.