Skip to content

Commit

Permalink
update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
danswick committed Feb 21, 2015
1 parent 61ea9ee commit 6dcfeb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ body {
font-weight: 600;
}

#idForm span {
height: 40px;
margin: 10px 0px;
}

#idForm #survey-button {
font-weight: 600;
color: #fff;
Expand Down Expand Up @@ -148,7 +153,7 @@ header h4 {
padding: 12px 19px;
border: 4px solid #fff;
display: inline-block;
margin: 0px 0px 35px 0px;
/*margin: 0px 0px 35px 0px;*/
background-color: #98bdce;
transition-duration: 200ms;
}
Expand Down
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $('#idForm').submit(function( e ) {
location.href = 'http://deltalumin.com/webpage/?' + $(this).serialize();
console.log(ID);
} else {
alert("Please enter a valid ID number (1-4 for now)"); // need to update alert during pilot phase
document.getElementById('warningText').innerHTML = "Please enter a valid ID number (1-4 for now).";
}
});

Expand Down
2 changes: 2 additions & 0 deletions user-portal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ <h4>Helping you make smarter decisions about energy use.</h4>
<br>
<input class="textInput" type="text" name="userID">
<br>
<span id="warningText"><span></span></span>
<br>
<input id="survey-button" type="submit" value="Go to your dashboard">
</form>

Expand Down

0 comments on commit 6dcfeb7

Please sign in to comment.