remove study layout template

This commit is contained in:
Thibault Duplessis 2017-01-27 11:29:11 +01:00
parent 0c3e871015
commit 5192286bb2
2 changed files with 13 additions and 25 deletions

View file

@ -1,17 +0,0 @@
@(title: String, side: Html, underchat: Html, moreJs: Html)(body: Html)(implicit ctx: Context)
@moreCss = {
@cssTag("analyse.css")
@cssTag("study.css")
}
@base.layout(
title = title,
side = side.some,
chat = chat.dom().some,
underchat = underchat.some,
moreCss = moreCss,
moreJs = moreJs,
chessground = false,
robots = false,
withLangAnnotations = false)(body)

View file

@ -23,18 +23,23 @@ socketVersion: @socketVersion
}
}
@moreCss = {
@cssTag("analyse.css")
@cssTag("study.css")
}
@side = {
<div class="side_box study_box"></div>
}
@underchat = {
@views.html.game.watchers()
}
@study.layout(
@base.layout(
title = s.name.value,
side = side,
underchat = underchat,
moreJs = moreJs) {
side = side.some,
chat = chat.dom().some,
underchat = views.html.game.watchers().some,
moreCss = moreCss,
moreJs = moreJs,
chessground = false,
withLangAnnotations = false) {
<div class="analyse cg-512">@miniBoardContent</div>
}