From 6cc0836e8cb561a2e155d2a4851f6e86256fe5ec Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:05:29 -0700 Subject: [PATCH 1/7] Update index.html --- index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index acf351d..9e45ee2 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,8 @@ text-align: center; margin: auto 0; margin-top: 5em; + color: white; + background-color: #171A22; font-family: Courier, monospace; } @@ -29,11 +31,11 @@ #footer { margin-top: 5em; font-size: 50%; - color: #555; + color: #bfbfbf; } #footer a { - color: #555; + color: #bfbfbf; text-decoration: none; border-bottom: 1px dotted; } @@ -126,6 +128,7 @@

Find GitHub User ID

From 2b0ff01c5d50bbe7425390812c6adf32f492b8c1 Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:05:43 -0700 Subject: [PATCH 2/7] Create README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ea649af --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# github_id +Find out a github user's id + + +I just added a dark mode... From 3a0e612a39cb2e3fdb303531424e7ca2dc3d60e5 Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:08:01 -0700 Subject: [PATCH 3/7] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index ea649af..aa47880 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,2 @@ # github_id Find out a github user's id - - -I just added a dark mode... From 7d9eba5a20a5ca0f6808d1508f3fff41ca339f9e Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:11:34 -0700 Subject: [PATCH 4/7] Update index.html --- index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/index.html b/index.html index 9e45ee2..935a618 100644 --- a/index.html +++ b/index.html @@ -56,10 +56,6 @@ }); } - function add_twitter_link_for (username, id) { - var tweet = $('').text("Tweet this").attr('href', "https://twitter.com?status=" + encodeURIComponent("Found out I'm GitHub user " + id + " by using http://caius.github.com/github_id/#" + username + " #GitHub_id")).insertAfter("#success h1") - } - function show_user (username, id) { $('#username').text(username) $('#id').text(id) @@ -87,7 +83,6 @@ var name = $("#github_username").val().trim() get_github_id_for(name, function(username, id) { - add_twitter_link_for(username, id) show_user(username, id) document.location.hash = "#" + username }) From f69b097284b0f695e9926ebc390be3ec10148671 Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:13:09 -0700 Subject: [PATCH 5/7] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 935a618..72d4e70 100644 --- a/index.html +++ b/index.html @@ -59,7 +59,7 @@ function show_user (username, id) { $('#username').text(username) $('#id').text(id) - $('form').hide() + $('form').show() $('#success').show() } From 23b126d0713cfd8f0331fe2b10408e901cb30f21 Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:17:45 -0700 Subject: [PATCH 6/7] Update index.html --- index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 72d4e70..2588c50 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,16 @@ form p { display: none; } + + .go-back-button { + color: white; + text-decoration: none; + transition: color .5s ease-in-out; + } + + .go-back-button:hover, .go-back-button:focus { + color: #1D9AF1; + } #footer { margin-top: 5em; @@ -59,8 +69,9 @@ function show_user (username, id) { $('#username').text(username) $('#id').text(id) - $('form').show() + $('form').hide() $('#success').show() + $('#goback').show() } $(document).ready(function() { @@ -109,6 +120,7 @@
From 970d4e639333dfd5f44346ae0776798af131d3ca Mon Sep 17 00:00:00 2001 From: Itz-Hyperz Date: Thu, 14 Jul 2022 15:23:16 -0700 Subject: [PATCH 7/7] Update to add non exist user check This is used in another pull request that is made and actively pending. [#7](https://github.com/caius/github_id/pull/7) Co-authored-by: <41001169+fukusuket@users.noreply.github.com> --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 2588c50..2ad9744 100644 --- a/index.html +++ b/index.html @@ -62,6 +62,7 @@ if (id) { callback(username, id) } + $("form p").text(username + " not found.") return false }); }