Merge pull request #1412 from rubenvereecken/meh
Table headers are now unhoverable
This commit is contained in:
commit
cc0ea25262
2 changed files with 62 additions and 58 deletions
app/templates/play/ladder
|
@ -3,6 +3,7 @@ div#columns.row
|
|||
div.column.col-md-4
|
||||
div(id="histogram-display-#{team.name}", class="histogram-display",data-team-name=team.name)
|
||||
table.table.table-bordered.table-condensed.table-hover
|
||||
thead
|
||||
tr
|
||||
th(colspan=2)
|
||||
th(colspan=3, style="color: #{team.primaryColor}")
|
||||
|
@ -15,6 +16,7 @@ div#columns.row
|
|||
th(data-i18n="general.name").name-col-cell Name
|
||||
th
|
||||
|
||||
tbody
|
||||
- var topSessions = team.leaderboard.topPlayers.models;
|
||||
- var showJustTop = team.leaderboard.inTopSessions() || me.get('anonymous');
|
||||
- if(!showJustTop && topSessions.length == 20) topSessions = topSessions.slice(0, 10);
|
||||
|
|
|
@ -20,12 +20,14 @@ p.simulation-count
|
|||
|
|
||||
span#games-in-queue= numberOfGamesInQueue || 0
|
||||
table.table.table-bordered.table-condensed.table-hover
|
||||
thead
|
||||
tr
|
||||
th
|
||||
th(data-i18n="general.player").name-col-cell Player
|
||||
th(data-i18n="ladder.games_simulated") Games simulated
|
||||
th(data-i18n="ladder.games_played") Games played
|
||||
th(data-i18n="ladder.ratio") Ratio
|
||||
tbody
|
||||
- var topSimulators = simulatorsLeaderboardData.topSimulators.models;
|
||||
- var showJustTop = simulatorsLeaderboardData.inTopSimulators() || me.get('anonymous');
|
||||
- if(!showJustTop) topSimulators = topSimulators.slice(0, 10);
|
||||
|
|
Reference in a new issue