complete dual lobby

This commit is contained in:
Thibault Duplessis 2013-06-10 00:01:04 +02:00
parent a9e8b2c2b9
commit 4bc0358e9a
4 changed files with 15 additions and 10 deletions

View file

@ -1912,7 +1912,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
});
$.lichessOpeningPreventClicks = function() {
$('div.lichess_overboard, #hooks_wrap').hide();
$('#hooks_table, #hooks_chart').hide();
};
// hooks
@ -1932,6 +1932,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
var $hooks = $wrap.find('#hooks');
var $noHook = $wrap.find('.no_hook');
var $canvas = $wrap.find('.canvas');
var $table = $wrap.find('#hooks_table');
var $tbody = $table.find('tbody');
var $userTag = $('#user_tag');
var isRegistered = $userTag.length > 0
@ -2093,8 +2094,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
$.powerTip.destroy($(this));
$(this).remove();
});
// TODO uncomment
// $table.find('.' + hook.id).remove();
$table.find('.' + hook.id).remove();
}
function drawHooks() {

View file

@ -1480,7 +1480,6 @@ div.game_config div.color_submits button.random span {
overflow: hidden;
}
#hooks_table th {
/* cursor: pointer; */
border-bottom: 1px solid #ccc;
padding: 10px 12px;
}

View file

@ -105,7 +105,10 @@ body.dark div.user_show div.mod_zone,
body.dark div.user_show div.user-infos,
body.dark div.game_config input[type="text"],
body.dark #powerTip,
body.dark #powerTip > .title
body.dark #powerTip > .title,
body.dark #hooks_table th,
body.dark #hooks_table td,
body.dark #hooks_wrap > div.tabs > a
{
border-color: #444;
}
@ -117,10 +120,10 @@ body.dark #timeline > .entry {
body.dark .ui-slider,
body.dark div.progressbar,
body.dark #translation_call div.progressbar,
body.dark #top div.themepicker.shown div.theme:hover
{
body.dark #top div.themepicker.shown div.theme:hover {
background-color: #505050;
}
body.dark #hooks_wrap > div.tabs > a,
body.dark #top div.auth .links a:hover,
body.dark #top ul.language_links a:hover,
body.dark #top ul.language_links a.current
@ -147,7 +150,6 @@ body.dark #timeline time
body.dark #site_title span.extension {
color: #707070;
}
body.dark #top a.goto_nav:hover,
body.dark #top a.toggle:hover,
body.dark #top a.bgpicker:hover,
@ -165,6 +167,7 @@ body.dark #top span.new_messages {
background: #606060;
}
body.dark #hooks_table tr:nth-child(odd) td,
body.dark div.lichess_chat .lichess_messages,
body.dark div.undertable_inner,
body.dark div.lichess_goodies div.box,
@ -195,8 +198,10 @@ body.dark #hook_filter td > label:hover {
background: #000;
}
body.dark div.undertable tr:nth-child(even) td
{
body.dark div.undertable tr:nth-child(even) td,
body.dark #hooks_wrap,
body.dark #hooks_wrap > div.tabs > a:hover,
body.dark #hooks_wrap > div.tabs > a.active {
background: #303030;
}

1
todo
View file

@ -69,6 +69,7 @@ allow to filter anon
add fast tooltips to plots
replace plot with watch plot when game starts
real rematch against AI
lobby table sort
---