packages feed

battleships-1.0.0: templates/placeships.hamlet

<div .placeContent>
  <div .left>
    <div .boardBox>
      <h3>_{MsgPlaceShips}
      <div id="mapBackground">
        <div .water>&nbsp;
        <div .grid>&nbsp;
        <canvas id="map">
  <div .right>
    <div .toolBox>
      <h3>_{MsgAvailableShips}
      <table id="status">
        <thead>
          <tr>
            <td>_{MsgShipLength}
            <td># _{MsgShipsAvailable}
        <tbody>
        <tfoot>
          <tr>
            <td>_{MsgShipsTotal}
            <td id="tdTotalShips">
      <hr>
      <div>
        <button .linkButton .yellowButton id="btnReset">_{MsgResetFleet}
        <button .linkButton .yellowButton id="btnRandom">_{MsgPlaceRandom}
      <hr>
      <div>
        <form id="fleetForm" action="@{PlaceShipsR options}" method="POST">
          <input id="fleetData" name="fleetData" type="hidden" >
          <input .linkButton .redButton id="btnSubmit" type="submit" value=_{MsgStartPlaying} disabled>