Skip to content

Commit

Permalink
Fix mayukh18#7: updated page design using bootstrap 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mpark86 committed Oct 3, 2019
1 parent d0df6b3 commit f6df4ab
Showing 1 changed file with 58 additions and 38 deletions.
96 changes: 58 additions & 38 deletions templates/profile.html
Expand Up @@ -4,16 +4,14 @@
<head>
<meta charset="UTF-8">
<title>Profile</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Bootstrap 4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- Ubuntu font -->
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
</head>

<body style="font-size:3em;background-color:#050268;">
<body style="font-size:2em;background-color:#E1F0FD;background-image: linear-gradient( #64B7FF, #E2F2FF)">

<div id="fb-root"></div>

Expand Down Expand Up @@ -48,41 +46,63 @@
});
}
</script>
<!--Html code starts here-->
<!--Html code starts here-->

<div class="container-fluid" style="padding: 50px;padding-left: 50px;">
<div class="jumbotron">
<div class="row">
<div class="col-lg-12">
<form id="xxx" method="post">
<div class="form-group">
<h1 class="text-center" style="margin:5%;color: #0A0908;">Welcome to your profile</h1>
<hr style="width: 100%; color:#0A0908; height: 1px; background-color:#0A0908;" />
<label style="color:#0A0908;">
Level:
</label>
<p>{{ level }}</p>
</div>
<div class="form-group">
<label for="bio" style="color:#0A0908;">Bio:</label>
<input type="text" name="bio" class="form-control" value="{{ bio }}" style="height:100px;font-size:30pt" placeholder="Write your bio here (max 80 letters)"/>
</div>
<div class="form-group">
<label for="interests" style="color:#0A0908;">Intrests:</label>
<input type="text" name="interests" class="form-control" value="{{ interests }}" style="height:100px;font-size:30pt" placeholder="Enter upto 3 interests separated by commas"/>
</div>
<input type="hidden" id="idd" name="psid" value="{{ id }}" />
<div class="text-center">
<h3>Click Save below to save your profile</h3>
<input type="submit" value="Submit" class="btn btn-default btn-primary" style="height:90px;width:500px;font-size:40pt;">
</div>
</form>
<div class="container-fluid" style="font-family: 'Ubuntu', sans-serif;padding: 50px;padding-left: 50px;">
<div class="row">
<div class="col-sm-11 mx-auto">
<div class="shadow-lg rounded">
<div class="card" style="background-color: #FAFAFA">
<form id="xxx" method="post">
<h1 class="display-3 font-weight-bold text-center" style="margin:5%;color: #0A0908;">Welcome to your profile</h1>
<hr class="mx-3 my-5" style="border: 0.5px solid">
<div class="form-label-group mx-3">
<label for="level" style="color:#0A0908;">
Level :
</label>
<span name="level">{{ level }}</span>
</div>
<div class="form-label-group mx-3">
<label for="bio" style="color:#0A0908;">Bio :</label>
<textarea class="form-control" name="bio" rows="5" style="font-size: 20pt"
placeholder="Write your bio here (max 80 letters)">{{ bio }}</textarea>
</div>
<div class="form-label-group mx-3 mt-3">
<label for="interests" style="color:#0A0908;">Intrests :</label>
<input type="text" name="interests" class="form-control" value="{{ interests }}"
style="height:50;font-size:20pt"
placeholder="Enter upto 3 interests separated by commas" />
</div>
<input type="hidden" id="idd" name="psid" value="{{ id }}" />
<div class="text-center">
<h4 class="mt-5 mb-3">Click save below to save your profile</h3>
</div>
<div class="row">
<div class="col-sm-6 offset-3">
<input type="submit" value="Save" class="btn btn-primary btn-lg btn-block mb-3">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--Html ends here-->
</div>
<!--Html ends here-->

<!-- latest jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<!-- latest popper.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<!-- javascript plugin -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>

</body>-->
</body>

</html>

0 comments on commit f6df4ab

Please sign in to comment.