Skip to content

Commit 66c88d2

Browse files
committed
updated login page UI
1 parent 797a1fe commit 66c88d2

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

auth2.0/index.html

+16-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ <h2 style='color: gold;'>Poolesville High School Interactive Map</h2>
1818
<div class='break'></div>
1919
<div class="login-content" style="display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-around">
2020
<div class="sign-in-section" style="text-align: left;">
21-
<h2 style='text-align: center;'>Sign in:</h2>
21+
<h2 style='text-align: left;'>Sign in:</h2>
2222
<ul style="list-style-type: none; padding: 0;">
23-
<li>You can log in with your mcpsmd.org account (see pictures), or a temporary visitor code.</li>
23+
<li>You can log in with your mcpsmd.org account (see pictures at bottom/side), or a temporary visitor code.</li>
2424
<br>
2525
<li style="color: red;">Your password is NEVER accessed or saved by the PHS Interactive Map's login system.</li>
2626
<br>
@@ -32,22 +32,33 @@ <h2 style='text-align: center;'>Sign in:</h2>
3232
<a href="/info#sensitiveinfo">Why does this application require a login?</a>
3333
</li>
3434
</ul>
35-
<div class="login-buttons" style="text-align: center; margin-top: 20px;">
36-
<button style="margin: 0 auto;" onclick="startSignIn()">Sign into MCPS account</button>
35+
<div class="login-buttons" style="text-align: left; margin-top: 20px;">
36+
<button style="" onclick="startSignIn()">Sign into MCPS account</button>
3737
<br>
3838
<br> --OR-- <br>
3939
<br>
4040
<input id="viscode" style="font-size: 24px; background-color: black; border: 1px solid #999; color: white;">
41+
<br>
42+
<br>
4143
<button style="margin: 0 auto; font-size: 18px;" onclick="localStorage.setItem('acstoken', `visitor:${document.getElementById('viscode').value}`); var params = new URLSearchParams(document.location.href.split('?')[1].split('#')[0]), destination = params.get('redirectonsuccess'); destination && (destination.includes(':/') ? confirm(`This application wants to redirect you to ${destination}. Is that OK?`) && (document.location = destination) : document.location = destination);">Use visitor code</button>
4244
</div>
4345
</div>
44-
<div class="disclaimer" style="text-align: center; margin-top: 40px;">
46+
<div class="disclaimer" style="text-align: left; margin-top: 40px;">
4547
<h2>Disclaimer:</h2>
4648
<ul style="list-style-type: none; padding: 0;">
4749
<li>Don't rely on this application as your sole source of information in an emergency.</li>
4850
<br>
4951
<li>Don't share map printouts, screenshots, datasets, etc. with anyone except <br>for other MCPS students, staff, and authorized visitors (parents, subs, etc). <br>See "Why does this application require a login?" for an explanation. </li>
5052
</ul>
53+
<h2>Other information:</h2>
54+
<ul style='list-style-type: none; padding: 0;'>
55+
<li><a href=''>Credits</a></li>
56+
<li><a href='/info#opensource'>Links to Github</a>
57+
<li><a href='/info#contact'>Contact developer</a>
58+
<li><a href='/info#emergency'>Emergency information disclaimer (full text)</a>
59+
<li><a href='/info#useofdata'>Use of account data + data security notice (full text)</a>
60+
<li><a href='/info#sensitiveinfo'>Sensitive information control notice (full text)</a>
61+
</ul>
5162
</div>
5263
</div>
5364
<div class="login-help" style="text-align: center; margin-top: 40px;">

0 commit comments

Comments
 (0)