-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
4 changed files
with
64 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>LB Diff</title> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css"> | ||
</head> | ||
<body> | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="columns is-mobile"> | ||
{# <div class="column"></div> #} | ||
<div class="column is-full-mobile is-four-fifths-tablet is-three-quarters-desktop is-two-thirds-widescreen is-two-thirds-fullhd" style="margin: auto"> | ||
<h1 class="title is-4"> | ||
Movies that <input id="user1" class="input is-1" placeholder="LB username"></input> has watched, but <input id="user2" class="input is-1" placeholder="LB username"></input> hasn't! | ||
</h1> | ||
<p class="subtitle"> | ||
<a class="button is-link" onclick="redirect()">Compare</a> | ||
</p> | ||
</div> | ||
{# <div class="column"></div> #} | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
<script> | ||
function redirect() { | ||
let user1 = document.getElementById('user1').value; | ||
let user2 = document.getElementById('user2').value; | ||
window.location = "/" + user1 + "/vs/" + user2; | ||
} | ||
</script> | ||
</html> |