remove study layout template
This commit is contained in:
parent
0c3e871015
commit
5192286bb2
|
@ -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)
|
|
|
@ -23,18 +23,23 @@ socketVersion: @socketVersion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@moreCss = {
|
||||||
|
@cssTag("analyse.css")
|
||||||
|
@cssTag("study.css")
|
||||||
|
}
|
||||||
|
|
||||||
@side = {
|
@side = {
|
||||||
<div class="side_box study_box"></div>
|
<div class="side_box study_box"></div>
|
||||||
}
|
}
|
||||||
|
|
||||||
@underchat = {
|
@base.layout(
|
||||||
@views.html.game.watchers()
|
|
||||||
}
|
|
||||||
|
|
||||||
@study.layout(
|
|
||||||
title = s.name.value,
|
title = s.name.value,
|
||||||
side = side,
|
side = side.some,
|
||||||
underchat = underchat,
|
chat = chat.dom().some,
|
||||||
moreJs = moreJs) {
|
underchat = views.html.game.watchers().some,
|
||||||
|
moreCss = moreCss,
|
||||||
|
moreJs = moreJs,
|
||||||
|
chessground = false,
|
||||||
|
withLangAnnotations = false) {
|
||||||
<div class="analyse cg-512">@miniBoardContent</div>
|
<div class="analyse cg-512">@miniBoardContent</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue