Skip to content

Commit

Permalink
css wasn't being pointed to right, and hiding the login button wasnt …
Browse files Browse the repository at this point in the history
…working either
  • Loading branch information
Hyphen-ated committed May 15, 2015
1 parent 0331098 commit 041f937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/assets/djbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ $.ajax({
success: function(response) {
if(response) {
usingAuth = true;
document.getElementById("user").style.visibility = "visible";
document.getElementById("login").style.visibility = "visible";
document.getElementById("userStuff").style.display = "block";
} else {
usingAuth = false;
document.getElementById("nextButton").style.visibility = "visible";
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script type='text/javascript' src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>

<script src='/djbot/ui/djbot.js'></script>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="/djbot/ui/style.css" type="text/css"/>


<div id="everything">
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/assets/style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#userstuff {
#userStuff {
float:top;
display:none;
}

#user {
float:left;
padding-left: 10px;
visibility: hidden;
}

#login {
float:left;
visibility: hidden;
}

#musicHolder {
Expand Down

0 comments on commit 041f937

Please sign in to comment.