Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Arch1tect committed Mar 13, 2016
1 parent 473d755 commit 49b5508
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
13 changes: 5 additions & 8 deletions dev/client/controlpanel/style/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ div#socketchatbox-online {}
padding: 20px;
}
.socketchatbox-scriptHistoryScript {
margin-top: 20px;
margin-top: 10px;
max-height: 100px;
overflow-y: scroll;
}
Expand Down Expand Up @@ -153,13 +153,10 @@ div#socketchatbox-online {}
/*border-top: 1px solid lightgray;*/
}

.table {

background: #F6F6F6 !important;
}
.table {background: #FBFBFB !important;}

.socketchatbox-userdetail {
/*border: 1px solid lightgray;*/
border-top: 1px dashed lightgray;
background: #FFFFFF;
margin-top: 20px;
display:none;
Expand Down Expand Up @@ -240,7 +237,7 @@ div#socketchatbox-online {}
}

.socketchatbox-userdetail-actions-each:nth-child(even) {
background: #F5F5F5;
background: #F7F7F7;
}


Expand All @@ -257,7 +254,7 @@ div#socketchatbox-online {}
height: 100px;
width: 100%;
outline: none;
padding-right: 5px;
padding-left: 20px;
border: 1px solid lightgray;
}
.breakable {
Expand Down
2 changes: 1 addition & 1 deletion dev/client/controlpanel/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<button class="prevScript"> < </button>
<button class="nextScript"> > </button>
<button class="cloneScript">clone</button>
<div class="socketchatbox-scriptHistoryScript"></div>
<pre class="socketchatbox-scriptHistoryScript"></pre>
</div>
<textarea placeholder="Type script here..." rows="3" cols="50"></textarea>
<div id="socketchatbox-scriptSentStatus"></div>
Expand Down
11 changes: 5 additions & 6 deletions dev/server/handlers/roomHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ var roomHandler = {};
var roomDict = {};


//TODO: add back md5.encode(inToken)
roomHandler.validToken = function (inToken) {return inToken in roomDict;}
//TODO: add back md5.encode(inToken)
roomHandler.getUsersInRoom = function(inToken) {return roomDict[inToken].userDict;}

roomHandler.validToken = function (inToken) {return inToken in roomDict;} //TODO: add back md5.encode(inToken)

roomHandler.getUsersInRoom = function(inToken) {return roomDict[inToken].userDict;} //TODO: add back md5.encode(inToken)


// check if the socket's user already in a room
// Check if the socket's user already in a room
// otherwise, use the input roomID
// else go to lobby
roomHandler.socketJoin = function(socket, roomID) {


var user = socket.user;

if (typeof(user.roomID) == 'undefined') {
Expand Down

0 comments on commit 49b5508

Please sign in to comment.