diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-07 21:57:26 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-07 21:57:26 -0800 |
commit | 3e08d71c631c18addec74c805e4b9446428b27bf (patch) | |
tree | 1c7b3d7620232ca81ca7d0ac5d7fd9a4696aa2aa | |
parent | d38022db1a3ad57526d44e47ee4b40215f5e7c7b (diff) | |
download | pathery-3e08d71c631c18addec74c805e4b9446428b27bf.tar.xz |
Refit navigation with the added points column
-rw-r--r-- | css/stats.css | 2 | ||||
-rw-r--r-- | includes/datas.php | 3 | ||||
-rw-r--r-- | js/scores.js | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/css/stats.css b/css/stats.css index 7e3fc6b..37a0722 100644 --- a/css/stats.css +++ b/css/stats.css @@ -227,7 +227,7 @@ td, th { background-color: #222223; } .scoreContainer2 { - width:410px; + width:475px; height:500px; margin-left:auto; margin-right:auto; diff --git a/includes/datas.php b/includes/datas.php index f0d9067..522317d 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -875,8 +875,7 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) { $medal = 'gold'; // if is blind map. - if ($isBlindMap AND $myBestMoves < $moves) - $row['moves'] = '???'; + if ($isBlindMap AND $myBestMoves < $moves) $row['moves'] = '???'; $output['users'][$i] = $row; $output['users'][$i]['secondsSinceScored'] = $secondsSinceScored; diff --git a/js/scores.js b/js/scores.js index 7d91576..d9a2842 100644 --- a/js/scores.js +++ b/js/scores.js @@ -114,7 +114,7 @@ function scoresFormatPage(JO) { //console.log("jo object", JO);
var navi = '';
if (JO.pageCount > 1) {
- navi = "<tr><th class='unselectable' colspan='3' style='text-align:center;'>"+formatPageNavi(JO, "scoresShowPage", JO.mapid)+"</th></tr>";
+ navi = "<tr><th class='unselectable' colspan='4' style='text-align:center;'>"+formatPageNavi(JO, "scoresShowPage", JO.mapid)+"</th></tr>";
p = p+navi;
}
|