battleships-1.0.0: templates/replay.hamlet
<div .boards>
<div .leftBoard>
<div .boardContent>
<h3>
_{MsgYourFleet}
$forall (i, humanGrid) <- humanGrids
<div .board id="humanboard#{show i}">
#{humanGrid}
<div>
<div .rightBoard>
<div .boardContent>
<h3>
_{MsgOpponentsFleet}
$forall (i, aiGrid) <- aiGrids
<div .board id="aiboard#{show i}">
#{aiGrid}
<div>
<div .actionBox>
<a .linkButton .redButton href="#" #first>
|<<
<a .linkButton .redButton href="#" #prev>
<<
<a .linkButton .redButton href="#" #pause>
_{MsgPauseButtonLabel}
<a .linkButton .redButton href="#" #next>
>>
<a .linkButton .redButton href="#" #last>
>>|
<div .clear>
<script>
var numSteps = #{numSteps};