restore homepage timeline
This commit is contained in:
parent
dcc67c7a11
commit
02adb6f9d5
|
@ -26,7 +26,7 @@ moreJs = moreJs) {
|
|||
<div class="score_container"><strong class="score">0</strong></div>
|
||||
<div class="side">
|
||||
<div class="box">
|
||||
<h1>@trans.training()</h1>
|
||||
<h1>@trans.coordinates()</h1>
|
||||
@if(ctx.isAuth) {
|
||||
@scoreOption.map { score =>
|
||||
<div class="scores">
|
||||
|
|
|
@ -50,6 +50,7 @@ i18n: @jsI18n()
|
|||
title = "",
|
||||
fullTitle = Some("lichess.org • " + trans.freeOnlineChess.str()),
|
||||
baseline = baseline.some,
|
||||
side = side.some,
|
||||
moreJs = moreJs,
|
||||
moreCss = cssTag("home.css"),
|
||||
underchat = underchat.some,
|
||||
|
|
|
@ -9,7 +9,6 @@ document.querySelector('#lichess .round'),
|
|||
@JsData(opening, identified, userInfos, play = true, attempt = none, win = none, animationDuration = animationDuration),
|
||||
openingRoutes.controllers,
|
||||
@Html(J.stringify(i18nJsObject(
|
||||
trans.training,
|
||||
trans.toTrackYourProgress,
|
||||
trans.signUp,
|
||||
trans.trainingSignupExplanation,
|
||||
|
|
|
@ -137,7 +137,7 @@ function renderCommentary(ctrl) {
|
|||
|
||||
function renderTrainingBox(ctrl) {
|
||||
return m('div.box', [
|
||||
m('h1', ctrl.trans('training')),
|
||||
m('h1', ctrl.trans('openings')),
|
||||
ctrl.data.user ? renderUserInfos(ctrl) : m('div.register', [
|
||||
m('p', ctrl.trans('toTrackYourProgress')),
|
||||
m('p.signup',
|
||||
|
|
Loading…
Reference in a new issue