Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better noice about member accounts

  • Loading branch information...
commit 91af3cf04b23a96741d05fe373a3d879558deeef 1 parent 1fd99fe
@dustball dustball authored
Showing with 17 additions and 3 deletions.
  1. +1 −0  static/signin.css
  2. +1 −1  static/signin.js
  3. +15 −2 templates/main.html
View
1  static/signin.css
@@ -8,3 +8,4 @@ input {font-size:130%; margin:.5em }
-moz-border-radius: 8px;
border-radius: 8px;
}
+.domainbenefits li {margin-bottom:16px}
View
2  static/signin.js
@@ -109,7 +109,7 @@ String.prototype.capitalize = function(){
function clickmember() {
var em = document.getElementById("em").value;
if (em.indexOf("@hackerdojo.com")==-1) {
- alert("That e-mail address does not match a valid @hackerdojo.com e-mail.");
+ $("#dojodomain").fadeIn();
return false;
} else {
main_screen_turn_on = true;
View
17 templates/main.html
@@ -128,6 +128,19 @@ <h3 style="margin:0">Cancel</h3>
</h1>
</div>
+<div id="dojodomain" class="corners" style="padding:2em; display:none; color:black; position:absolute; z-index:2; top:15%; left:15%; width:60%; border:2px solid red; background:#faa ">
+ <h2 style="margin-top:0">Please use your @hackerdojo.com address</h2>
+ <ul class="domainbenefits">
+ <li>Every member gets a <code>@hackerdojo.com</code> account
+ <li>Your <code>@hackerdojo.com</code> account is used for all kinds of things at the Dojo: e-mail, RFID keys, event hosting, signin, kudos, etc.
+ <li>You probably already have one in the form of <code>firstname.lastname@hackerdojo.com</code>
+ <li>If you need one, you can get one at <nobr><code>http://signup.hackerdojo.com/upgrade/needaccount</code></nobr>
+ </ul>
+ <p>
+ <a href="#" onclick="$('#dojodomain').fadeOut(); $('#em').focus();">OK</a>
+ </p>
+</div>
+
<div id="privacy" class="corners" style="padding:1em; display:none; position:absolute; z-index:2; top:25%; left:25%; width:40%; border:2px solid black; background:#dbf2dc; font-size:80% ">
<h2>E-mail Privacy</h2>
<p>The Dojo will not sell, rent, or give out your e-mail address to
@@ -137,7 +150,7 @@ <h3 style="margin:0">Cancel</h3>
events and other happenings (which of course, you can opt-out of).</p>
<p>We hate spam & we're not evil ;)</p>
<p>
- <a href="#" onclick="document.getElementById('privacy').style.display='none'; document.getElementById('em').focus();">Close</a>
+ <a href="#" onclick="$('#privacy').fadeOut(); $('#em').focus();">Close</a>
</p>
</div>
@@ -146,7 +159,7 @@ <h3 style="margin:0">Cancel</h3>
<h2>Please Sign In</h2>
E-mail:
<input id="em" type="text" name="email">
- <a style="color:green; font-size:9px" href="#" onclick="document.getElementById('privacy').style.display='block';">E-mail Privacy</a>
+ <a style="color:green; font-size:9px" href="#" onclick="$('#privacy').fadeIn();">E-mail Privacy</a>
<br>
<input type="button" value="Member" onclick="clickmember()" />
<input type="button" value="Guest" onclick="go('Guest')" />

0 comments on commit 91af3cf

Please sign in to comment.
Something went wrong with that request. Please try again.