Spruce up design
This commit is contained in:
parent
23b0c53b26
commit
c4e4c73b04
1 changed files with 17 additions and 7 deletions
|
@ -1,12 +1,22 @@
|
||||||
<h2>Bossfight: <%= @username %></h2>
|
<h2>Bossfight: <%= @username %></h2>
|
||||||
|
|
||||||
<% if @first_negative %>
|
<div class="col-md-3">
|
||||||
Raider who broke the walls: <%= @first_negative.attacker %><br/>
|
<ul class="list-group">
|
||||||
<%end%>
|
<li class="list-group-item text-right">
|
||||||
|
<span class="pull-left"><strong>Kill Date:</strong></span>
|
||||||
<% if @soldiers_lost_to_date %>
|
<%= @first_negative.created_at if @first_negative %>
|
||||||
Soliders killed before walls broken: <%= readable_number(@soldiers_lost_to_date) %>
|
<li class="list-group-item text-right">
|
||||||
<% end %>
|
<span class="pull-left"><strong>Killing Blow:</strong></span>
|
||||||
|
<%= @first_negative.attacker if @first_negative %>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item text-right">
|
||||||
|
<span class="pull-left"><strong>Soliders Killed:</strong></span>
|
||||||
|
<%= readable_number(@soldiers_lost_to_date) if @soliders_lost_to_date %>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
<% require 'pp' %>
|
<% require 'pp' %>
|
||||||
<% pp @contributers %>
|
<% pp @contributers %>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue