shorten chess table when possible
parent
6a3b4096c3
commit
65fe2e3a88
|
@ -7,7 +7,7 @@ import play.api.templates.Html
|
|||
|
||||
trait AssetHelper {
|
||||
|
||||
val assetVersion = 91
|
||||
val assetVersion = 92
|
||||
|
||||
def cssTag(name: String) = css("stylesheets/" + name)
|
||||
|
||||
|
|
|
@ -519,7 +519,11 @@ $.widget("lichess.game", {
|
|||
});
|
||||
},
|
||||
centerTable: function() {
|
||||
this.$table.css('top', (256 - this.$table.height() / 2) + 'px');
|
||||
var self = this;
|
||||
self.$table.find(".lichess_control").each(function() {
|
||||
$(this).toggleClass("none", $(this).html().trim() == "");
|
||||
});
|
||||
self.$table.css('top', (256 - self.$table.height() / 2) + 'px');
|
||||
},
|
||||
initClocks: function() {
|
||||
var self = this;
|
||||
|
|
1
todo
1
todo
|
@ -49,7 +49,6 @@ tournament detect leavers and withdraw them (started) (also use force resign)
|
|||
-> or show current tournament on every page, with (join) and (redraw) buttons
|
||||
tournament warmup games
|
||||
send lobby new forum posts html through websockets
|
||||
in table, hide lichess_control when it's empty (watcher mode)
|
||||
BUG tournament idle resign: based on 20 seconds added time! can make black resign by playing after 19s
|
||||
tournament join, sometimes withdraws by cron
|
||||
AI thinks during your time (premove?) http://en.lichess.org/forum/lichess-feedback/y-u-so-greedy-with-time-stockfish#4
|
||||
|
|
Loading…
Reference in New Issue