summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/scores.js6
-rw-r--r--pages/chat.php39
2 files changed, 29 insertions, 16 deletions
diff --git a/js/scores.js b/js/scores.js
index 72b2cd6..840ba33 100644
--- a/js/scores.js
+++ b/js/scores.js
@@ -229,7 +229,7 @@ var membersOrderBy = 'dateJoined';
var membersOrder = 'DESC';
function membersRequestPage(page) {
- console.log('membersRequestPage', page);
+ //console.log('membersRequestPage', page);
if (typeof(ajax) != 'object') {
setTimeout(function() {membersRequestPage(page)},200);
return false;
@@ -283,7 +283,7 @@ function membersShowPage(page, orderBy, force) {
}
page = page - 0;
- console.log('membersShowPage', page);
+ //console.log('membersShowPage', page);
if (membersPreparePage(page) == false) {
membersCurrentPage = page;
//Signify some sort of loadingness?
@@ -321,7 +321,7 @@ function membersPreparePage (page) {
}
function membersUpdatePage(page, html) {
- console.log("Updating Page", page);
+ //console.log("Updating Page", page);
membersPreparePage(page);
membersPages[page].html = html;
if (page == membersCurrentPage) {
diff --git a/pages/chat.php b/pages/chat.php
index 51444ae..7b55daa 100644
--- a/pages/chat.php
+++ b/pages/chat.php
@@ -18,29 +18,39 @@ if (!$accepted) {
<style>
.chatMessage {
width:99%;
- min-height:36px;
+ min-height:32px;
margin:4px;
display:block;
clear:both;
}
.chatColumn1 {
float:left;
- min-height:36px;
- width:15%;
- margin:2px;
+ min-height:31px;
+ width:9%;
+ margin:1px;
padding:2px;
height:100%;
background-color:#222;
text-overflow: ellipsis;
white-space:nowrap;
display:block;
+ border-bottom-left-radius: 10px;
+ border-top-left-radius: 10px;
}
.chatColumn2 {
float:left;
- min-height:36px;
- width:81%;
+ min-height:31px;
+ width:4%;
background-color:#222;
- margin:2px;
+ margin:1px;
+ padding-right:3px;
+}
+.chatColumn3 {
+ float:left;
+ min-height:31px;
+ width:83%;
+ background-color:#222;
+ margin:1px;
padding:2px;
border-bottom-right-radius: 20px;
border-top-right-radius: 20px;
@@ -60,18 +70,19 @@ if (!$accepted) {
}
.chatUsername {
font-family:Comic Sans MS, Comic Sans MS5, cursive;
- min-height:36px;
+ min-height:34px;
text-overflow: ellipsis;
padding: 5px 5px 5px 5px;
}
.chatText {
font-family:Comic Sans MS, Comic Sans MS5, cursive;
- min-height:36px;
+ min-height:34px;
padding: 5px 5px 5px 5px;
}
.chatInputMessage {
font-family:Comic Sans MS, Comic Sans MS5, cursive;
border: 1px solid gray;
+ background-color:#999;
width: 700px;
margin: 4px;
}
@@ -149,17 +160,17 @@ function getChatDone(data) {
//console.log("INSIDE BUILD START");
p = '';
p = p+ " <div class='chatColumn1'>";
-
p = p+ " <span class='chatTimestamp'>["+timestamp+"]</span>";
+ p = p+ "</div>";
+
+ p = p+ " <div class='chatColumn2'>";
p = p+ " <div class='grid_td chatBadge' style='float:left; width:35px; height:35px; background:"+user.wallColor+" url(images/marks/"+user.wallEmblem+");'>";
p = p+ " <div style='background-color:transparent;' class='grid_td_inner grid_td_rocks'>";
p = p+ " </div>";
p = p+ " </div>";
p = p+ " </div>";
-
-
- p = p+ " <div class='chatColumn2'>";
+ p = p+ " <div class='chatColumn3'>";
p = p+ "<span class='chatUsername'><a href='achievements?id="+user.userID+"' style='color:"+user.displayColor+"'>";
p = p+ user.displayName+"</a>:</span>";
@@ -242,6 +253,7 @@ function htmlEncode(value){
</script>
+<div class='wrapper'>
<h3>Pathery Chat - BETA</h3>
<div class='chatContainer2'>
@@ -258,6 +270,7 @@ function htmlEncode(value){
</div>
+</div>
<?