-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f8a151
commit 6c74072
Showing
5 changed files
with
32 additions
and
115 deletions.
There are no files selected for viewing
Binary file not shown.
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,12 +1,7 @@ | ||
{% extends 'layout.html' %} | ||
{% block content %} | ||
<div class="container"> | ||
<div class="jumbotron"> | ||
<h1 class="display-4">Welcome User!</h1> | ||
<hr class="my-4"> | ||
<p class="lead"> | ||
<a class="btn btn-primary btn-lg" href="/logout" role="button">Logout</a> | ||
</p> | ||
</div> | ||
<h1>Welcome User!</h1> | ||
<div class="input__wrapper"> | ||
<a class="btn" href="/logout" role="button">Logout</a> | ||
</div> | ||
{% endblock %} |
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,11 +1,15 @@ | ||
{% extends 'layout.html' %} | ||
{% block content %} | ||
<h1>Login</h1> | ||
<form action="/" method="post" class="box"> | ||
<input type="text" name="username" id="username" placeholder="Username" required/> | ||
<br> | ||
<input type="password" name="password" id="password" placeholder="Password" required/> | ||
<br> | ||
<input type="submit" class="button" value="Log In"/> | ||
</form> | ||
<h1>Login</h1> | ||
<form action="/" method="post" class="box"> | ||
<div class="input__wrapper"> | ||
<input type="text" name="username" id="username" placeholder="Username" class="input__field" required/> | ||
</div> | ||
<div class="input__wrapper"> | ||
<input type="password" name="password" id="password" placeholder="Password" class="input__field" required/> | ||
</div> | ||
<div class="input__wrapper"> | ||
<input type="submit" class="btn" value="Log In" /> | ||
</div> | ||
</form> | ||
{% endblock %} |
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,49 +1,23 @@ | ||
{% extends 'layout.html' %} | ||
{% block content %} | ||
<style> | ||
body{ | ||
background: coral; | ||
} | ||
.myblock{ | ||
border:1px solid black; | ||
border-radius: 4%; | ||
background: rgba(0,0,0,0.5); | ||
margin-top:20%; | ||
padding:3%; | ||
} | ||
.h1{ | ||
margin-bottom:5% ; | ||
color:coral; | ||
} | ||
.mybtn{ | ||
background: rgba(0,0,0,0.5); | ||
} | ||
|
||
</style> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-3 col-md-3 col-sm-12"></div> | ||
<div class="col-lg-6 col-md-6 col-sm-12 myblock"> | ||
<h1 class="h1">Signup Form</h1> | ||
<form action="/signup" method="POST" class="form-group"> | ||
<div class="form-group"> | ||
<input type="text" name="username" placeholder="Username" class="form-control"> | ||
</div> | ||
<div class="form-group"> | ||
<input type="email" name="email" placeholder="Email" class="form-control"> | ||
</div> | ||
<div class="form-group"> | ||
<input type="password" name="password" placeholder="Password" class="form-control"> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-block btn-dark mybtn">Submit</button> | ||
<a href="/login" class="btn btn-block btn-dark mybtn link">Login</a> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-lg-3 col-md-3 col-sm-12"></div> | ||
<h1>Signup Form</h1> | ||
<form action="/signup" method="POST" class="form-group"> | ||
<div class="input__wrapper"> | ||
<input type="text" name="username" placeholder="Username" class="form-control"> | ||
</div> | ||
<div class="input__wrapper"> | ||
<input type="email" name="email" placeholder="Email" class="form-control"> | ||
</div> | ||
</div> | ||
<div class="input__wrapper"> | ||
<input type="password" name="password" placeholder="Password" class="form-control"> | ||
</div> | ||
<div class="input__wrapper"> | ||
<button type="submit" class="btn">Submit</button> | ||
<a href="/login" class="btn">Login</a> | ||
</div> | ||
</form> | ||
|
||
|
||
|
||
{% endblock %} |