update paths

This commit is contained in:
garrettmills
2019-11-22 13:23:59 -06:00
parent b550b5d1db
commit c6e3175f3c
45 changed files with 159 additions and 159 deletions

View File

@@ -1,12 +1,12 @@
<html>
<head>
<script type="text/javascript" src="/depPage/setup/head.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/head.js"></script>
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript" src="/login/signIn.js"></script>
<script type="text/javascript" src="/old-sites/c2015/login/signIn.js"></script>
</head>
<body>
<script type="text/javascript" src="/depPage/setup/header.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/header.js"></script>
<div class="desc">/ My Projects / Web Development / Google Auth Implementation</div>
<div class="content">
<h2>Google Auth</h2>
@@ -17,8 +17,8 @@
and (upon refreshing) the Name identifier will update. If you then click sign out, it will log you out of the website,
and the Name identifier will change back to 'Guest'.
</p>
<img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signinblank.png"/>
<img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signin.png"/>
<!-- <img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signinblank.png"/> -->
<!-- <img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signin.png"/> -->
<p>
I have not implemented a handler for protecting pages yet, but I am currently working on it, and plan to integrate it with my JSURL Project so that webpages can forward to a login handler, and be redirected back to a set page after authentication, as follows:
<br/><br/>
@@ -26,12 +26,12 @@
<br/><br/>
So for example, if you click the link below, it will log you in and send you to the Projects page.
<br/><br/>
<a href="http://glmills.gq/login/index.html?doLoginRedir=/projects">http://glmills.gq/login/index.html?doLoginRedir=/projects</a>
<a href="/old-sites/c2015/login/index.html?doLoginRedir=/projects">http://glmills.gq/login/index.html?doLoginRedir=/projects</a>
<br/><br/>
This is not implemented yet, however. The in-progress source code is available in the aforementioned files. For those of you curious
about how I handled sign ins, here you go:
</p>
<!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><table><tr><td><pre style="margin: 0; line-height: 125%">
<!-- HTML generated using hilite.me --><div style="background: rgba(60,60,60,0.5); overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><table><tr><td><pre style="margin: 0; line-height: 125%">
</pre></td><td><pre style="margin: 0; line-height: 125%"><span style="color: #008800; font-weight: bold">function</span> onSignIn(googleUser) {
<span style="color: #008800; font-weight: bold">var</span> profile <span style="color: #333333">=</span> googleUser.getBasicProfile();
id <span style="color: #333333">=</span> profile.getId();

View File

@@ -1,12 +1,12 @@
<html>
<head>
<script type="text/javascript" src="/depPage/setup/head.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/head.js"></script>
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript" src="/login/signIn.js"></script>
<script type="text/javascript" src="/old-sites/c2015/login/signIn.js"></script>
</head>
<body>
<script type="text/javascript" src="/depPage/setup/header.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/header.js"></script>
<div class="desc">/ My Projects / Web Development</div>
<div class="content">
<h2><a href="jsurl/">JavaScript Variables From URLs</a></h2>

View File

@@ -1,12 +1,12 @@
<html>
<head>
<script type="text/javascript" src="/depPage/setup/head.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/head.js"></script>
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript" src="/login/signIn.js"></script>
<script type="text/javascript" src="/old-sites/c2015/login/signIn.js"></script>
</head>
<body>
<script type="text/javascript" src="/depPage/setup/header.js"></script>
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/header.js"></script>
<div class="desc">/ My Projects / Web Development / JSURL</div>
<div class="content">
<h2>Retrive Variables from URLs</h2>
@@ -20,10 +20,10 @@
</p>
<h4>To use, simply call the following file:</h4>
<p>
<a href="/lib/jsurl/getvars.js">http://lib.glmills.gq/jsurl/gervars.js</a>
<a href="/old-sites/c2015/lib/jsurl/getvars.js">http://lib.glmills.gq/jsurl/gervars.js</a>
</p>
<h4>Or to test the mechanic, visit:</h4>
<a href="/lib/jsurl/">http://lib.glmills.gq/jsurl/</a>
<a href="/old-sites/c2015/lib/jsurl/">http://lib.glmills.gq/jsurl/</a>
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
</body>