Sha256: 86f49523155c64f3f338dd22b995aa753f92b4f3be11081ad8c8d0fe52c8dda0

Contents?: true

Size: 942 Bytes

Versions: 7

Compression:

Stored size: 942 Bytes

Contents

<style>

  .boards-container {
    display: inline-flex;
  }

  .error-text {
    color: #d9534f;
  }

  .boom-text {
    margin-top: 20px;
  }

  .title {
    color: #b4bcc2;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9pt;
  }

  .board {
    margin: 0 15px;
  }

</style>

<% if @result[:error] %>
  <p class="error-text">
    <%=I18n.t @result[:error], @result %>
  </p>
<% end %>

<div class="boards-container">

  <% @result[:boards].each do |it| %>
    <div class="board">
      <p class="title"><%=I18n.t it.title %></p>
      <p>
        <% if it.board.boom %>
          <img src="<%= @boom_image %>" />
        <% else %>
          <gs-board>
            <%= it.board.gbb %>
          </gs-board>
        <% end %>
      </p>
    </div>
  <% end %>

</div>

<% if @result[:reason] %>
  <div class="boom-text">
    <strong>BOOM</strong>
    <pre><%=@result[:reason]%></pre>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mumuki-gobstones-runner-1.5.2 lib/render/boards.html.erb
mumuki-gobstones-runner-1.5.1 lib/render/boards.html.erb
mumuki-gobstones-runner-1.5.0 lib/render/boards.html.erb
mumuki-gobstones-runner-1.4.0 lib/render/boards.html.erb
mumuki-gobstones-runner-1.3.0 lib/render/boards.html.erb
mumuki-gobstones-runner-1.2.0 lib/render/boards.html.erb
mumuki-gobstones-runner-1.1.0 lib/render/boards.html.erb