Skip to content

Commit

Permalink
Create index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hippogamesunity authored Jul 22, 2023
1 parent df54901 commit 1b88e4f
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html>
<style>
body
{
margin: 0;
background-color: #303030;
}
span
{
color: #ffffff;
font-family: Arial;
text-align: center;
}
#header
{
display: block;
margin-top: 20px;
line-height: 50px;
background-color: #202020;
font-size: 20px;
}
#checkmark
{
color: #00ff00;
}
#message
{
display: block;
line-height: 50px;
font-size: 15px;
}
</style>
<head>
<title>Simple Google Sign-In</title>
</head>
<body>
<span id="header"><span id="checkmark"></span> LOGIN SUCCESSFUL</span>
<span id="message">Now you can return to the app. The tab will be closed in <span id="timer">0</span>.</span>
</body>
<script type="text/javascript">
const delay = 5;

for (let i = 0; i <= delay; i++)
{
if (i < delay)
{
setTimeout("document.getElementById('timer').innerHTML='" + (delay - i) + "';", 1000 * i);
}
else
{
setTimeout("window.close();", 1000 * delay);
}
}
</script>
<html>

0 comments on commit 1b88e4f

Please sign in to comment.