update todolist + minor tweaks

pull/83/head
Thibault Duplessis 2013-12-20 14:13:38 +01:00
parent c685ec6213
commit 43b55f789f
3 changed files with 28 additions and 25 deletions

View File

@ -166,7 +166,7 @@ case class Game(
def start = started.fold(this, copy(
status = Status.Started,
mode = Mode(mode.rated && (players forall (_.hasUser))),
mode = Mode(mode.rated && userIds.distinct.size == 2),
updatedAt = DateTime.now.some
))

View File

@ -1,28 +1,28 @@
<div style='z-index: 999999; border: 1px solid #F7941D; padding: 5px 0 0 5px; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: absolute;top:24px;right:0'>
<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'>
<a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a>
</div>
<div style='width: 916px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
<div style='width: 75px; float: left;'>
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/>
</div>
<div style='width: 496px; margin-right: 15px; float: left; font-family: Arial, sans-serif;'>
<div style='font-size: 16px; font-weight: bold; margin-top: 10px;'>
<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'>
<a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a>
</div>
<div style='width: 916px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
<div style='width: 75px; float: left;'>
<img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/>
</div>
<div style='width: 496px; margin-right: 15px; float: left; font-family: Arial, sans-serif;'>
<div style='font-size: 16px; font-weight: bold; margin-top: 10px;'>
Your browser cannot run Lichess!
</div>
<div style='font-size: 13px; margin-top: 6px; line-height: 12px;'>
Sorry, but your browser does not support WebSockets.<br />
We recommend using the latest version of Firefox, Chrome, Safari or Opera.
</div>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.mozilla.org/firefox' target='_blank'><img src='/assets/images/browser-firefox.png' style='border: none;' alt='Get Firefox'/></a>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.google.com/chrome' target='_blank'><img src='/assets/images/browser-chrome.png' style='border: none;' alt='Get Google Chrome'/></a>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.opera.com/download/' target='_blank'><img src='/assets/images/browser-opera.png' style='border: none;' alt='Get Opera'/></a>
</div>
</div>
<div style='font-size: 13px; margin-top: 6px; line-height: 12px;'>
Sorry, but your browser does not support WebSockets.<br />
We recommend using the latest version of Firefox, Chrome, Safari or Opera.
</div>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.mozilla.org/firefox' target='_blank'><img src='/assets/images/browser-firefox.png' style='border: none;' alt='Get Firefox'/></a>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.google.com/chrome' target='_blank'><img src='/assets/images/browser-chrome.png' style='border: none;' alt='Get Google Chrome'/></a>
</div>
<div style='width: 80px; float: left;'>
<a href='http://www.opera.com/download/' target='_blank'><img src='/assets/images/browser-opera.png' style='border: none;' alt='Get Opera'/></a>
</div>
</div>
</div>

3
todo
View File

@ -100,3 +100,6 @@ analysis board (see chess.com)
1 game played, rating slow!=standard http://en.lichess.org/@/fuckface/all
watcher game sounds only on first color
up ratings by 300 -> closer to FICS
from position + clock = fail (due to turns != played turns)
streamed export of PGN http://en.lichess.org/forum/lichess-feedback/download-all-games#5
mongodb aggregation TypeError: Object 1133 has no method 'forEach' near 'game.forEach(function(player)