Skip to content

Commit

Permalink
Merge pull request #2 from atomical/bug/div-not-closed-in-matterhorn-…
Browse files Browse the repository at this point in the history
…section

fixed container div
  • Loading branch information
mbklein committed Jan 29, 2014
2 parents ecbb3a9 + aad8d6a commit 4da42ab
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions app/views/about_page/about/_matterhorn.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
<h2>Matterhorn Services</h2>
<div class="progress" style="width: 300px; float: right;">
<div class="bar bar-success" style="width: <%= profile.storage['percentage_free'] %>%;"> </div>
<div style="width: 100%; position: absolute;font-weight: bold;padding-left:10px; padding-top: 1px; color: white;"> <%= profile.storage['percentage_free_text'] %></div>
<div style="width: 100%; position: absolute;font-weight: bold;padding-left:10px;"> <%= profile.storage['percentage_free_text'] %></div>
</div>
<div>
<div>
<ul class="unstyled">

<div class="progress" style="width: 300px; float: right;">
<div class="bar bar-success" style="width: <%= profile.storage['percentage_free'] %>%;"> </div>
<div style="width: 100%; position: absolute;font-weight: bold;padding-left:10px; padding-top: 1px; color: white;">
<%= profile.storage['percentage_free_text'] %>
</div>
<div style="width:
100%; position: absolute;font-weight: bold;padding-left:10px;">
<%= profile.storage['percentage_free_text'] %>
</div>
</div>

<% profile.to_h['service'].sort { |a,b| a['type'] <=> b['type'] }.each do |service| %>
<%
active = service['active'] ? '<span class="label label-success">active</span>' : '<span class="label label-important">inactive</span>'
Expand Down

0 comments on commit 4da42ab

Please sign in to comment.