-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from WolfSlayer2/main
Fix the Button UI
- Loading branch information
Showing
4 changed files
with
72 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<%- include('partials/header') %> | ||
|
||
<div class="jumbotron centered"> | ||
<div class="container"> | ||
<i class="fas fa-key fa-6x"></i> | ||
<h1 class="display-3">Secrets</h1> | ||
<p class="lead">Don't keep your secrets, share them anonymously!</p> | ||
<hr /> | ||
<a class="btn btn-light btn-lg" href="/register" role="button">Register</a> | ||
<a class="btn btn-dark btn-lg" href="/login" role="button">Login</a> | ||
<div class="jumbotron centered"> | ||
<div class="container"> | ||
<i class="fas fa-key fa-6x"></i> | ||
<h1 class="display-3">Secrets</h1> | ||
<p class="lead">Don't keep your secrets, share them anonymously!</p> | ||
<hr /> | ||
<div class="d-flex justify-content-center"> | ||
<a class="btn btn-light btn-lg col-2 mx-2" href="/register" role="button">Register</a> | ||
<a class="btn btn-dark btn-lg col-2 mx-2" href="/login" role="button">Login</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#navbar" id="myBtn" title="Go to top"> | ||
<img | ||
src="https://img.icons8.com/ios-filled/50/000000/long-arrow-up.png" | ||
style="width: 70%; height: 70%; color: white; position: relative; left: 7px" | ||
/> | ||
</a> | ||
<a href="#navbar" id="myBtn" title="Go to top"> | ||
<img src="https://img.icons8.com/ios-filled/50/000000/long-arrow-up.png" | ||
style="width: 70%; height: 70%; color: white; position: relative; left: 7px" /> | ||
</a> | ||
|
||
<%- include('partials/footer') %> | ||
<%- include('partials/footer') %> |
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,61 +1,51 @@ | ||
<%- include('partials/header') %> | ||
|
||
<div class="container mt-5" style="margin-bottom: 197px"> | ||
<h1>Login</h1> | ||
<div class="container mt-5" style="margin-bottom: 197px"> | ||
<h1>Login</h1> | ||
|
||
<div class="row"> | ||
<div class="col-sm-8"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<!-- Makes POST request to /login route --> | ||
<form action="/login" method="POST"> | ||
<div class="form-group"> | ||
<label for="email">Email</label> | ||
<input type="email" class="form-control" name="username" /> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input type="password" class="form-control" name="password" /> | ||
</div> | ||
<button type="submit" class="btn btn-dark">Login</button> | ||
</form> | ||
<div class="row"> | ||
<div class="col-sm-8"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<!-- Makes POST request to /login route --> | ||
<form action="/login" method="POST"> | ||
<div class="form-group"> | ||
<label for="email">Email</label> | ||
<input type="email" class="form-control" name="username" /> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input type="password" class="form-control" name="password" /> | ||
</div> | ||
<button type="submit" class="btn btn-dark col-2">Login</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-sm-4"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<a | ||
class="btn btn-block btn-social btn-google" | ||
href="/auth/google" | ||
role="button" | ||
> | ||
<i class="fab fa-google"></i> | ||
Sign In with Google | ||
</a> | ||
<div class="col-sm-4"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<a class="btn btn-block btn-social btn-google" href="/auth/google" role="button"> | ||
<i class="fab fa-google"></i> | ||
Sign In with Google | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="card"> | ||
<div class="card-body"> | ||
<a | ||
class="btn btn-block btn-social btn-facebook" | ||
href="/auth/facebook" | ||
role="button" | ||
> | ||
<i class="fab fa-facebook"></i> | ||
Sign In with Facebook | ||
</a> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<a class="btn btn-block btn-social btn-facebook" href="/auth/facebook" role="button"> | ||
<i class="fab fa-facebook"></i> | ||
Sign In with Facebook | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#navbar" id="myBtn" title="Go to top"> | ||
<img | ||
src="https://img.icons8.com/ios-filled/50/000000/long-arrow-up.png" | ||
style="width: 70%; height: 70%; color: white; position: relative; left: 7px" | ||
/> | ||
</a> | ||
<%- include('partials/footer') %> | ||
<a href="#navbar" id="myBtn" title="Go to top"> | ||
<img src="https://img.icons8.com/ios-filled/50/000000/long-arrow-up.png" | ||
style="width: 70%; height: 70%; color: white; position: relative; left: 7px" /> | ||
</a> | ||
<%- include('partials/footer') %> |
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,20 +1,23 @@ | ||
<%- include('partials/header') %> | ||
|
||
<div class="jumbotron text-center"> | ||
<div class="container"> | ||
<i class="fas fa-key fa-6x"></i> | ||
<h1 class="display-3">You've Discovered My Secret!</h1> | ||
<div class="jumbotron text-center"> | ||
<div class="container"> | ||
<i class="fas fa-key fa-6x"></i> | ||
<h1 class="display-3">You've Discovered My Secret!</h1> | ||
|
||
<% usersWithSecrets.forEach(function(user){ %> | ||
<p class="secret-text"><%=user.secret%></p> | ||
<% }) %> | ||
<% usersWithSecrets.forEach(function(user){ %> | ||
<p class="secret-text"> | ||
<%=user.secret%> | ||
</p> | ||
<% }) %> | ||
|
||
|
||
<hr> | ||
|
||
<a class="btn btn-light btn-lg" href="/logout" role="button">Log Out</a> | ||
<a class="btn btn-dark btn-lg" href="/submit" role="button">Submit a Secret</a> | ||
<hr> | ||
<div class="d-flex justify-content-center"> | ||
<a class="btn btn-light btn-lg col-2 mx-1" href="/logout" role="button">Log Out</a> | ||
<a class="btn btn-dark btn-lg col-2 mx-1" href="/submit" role="button">Submit a Secret</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<%- include('partials/footer') %> | ||
<%- include('partials/footer') %> |