Sha256: 2a5137bbd8572c61ce1f7bcaaf452c3e71ac232ec2b3270963278d787d53b82e
Contents?: true
Size: 1.79 KB
Versions: 2
Compression:
Stored size: 1.79 KB
Contents
<% if @reports.count == 0 %> <div class="doh"> <p>Unable to find a Rackamole MongoDb database on this connection <%=Wackamole::Control.connection.host%>:<%=Wackamole::Control.connection.port%>.</p> <p>Make sure you moled database follows this naming convention</p> <p>mole_{<i>application name in lower case</i>}_{<i>environment</i>}_mdb</p> </div> <% else %> <% @reports.each do |report| %> <div class="mission"> <p class="app_name"><%= report['app'] %></p> <% report['envs'].keys.sort.each do |env| %> <div class="environment"> <div class="env"> <%= link_to env, "/dashboard/#{report['app']}/#{env}", :class => 'site_link app_link' %> </div> <div class="details"> <table border='0' width="100%"> <% report['envs'][env].each do |type, count| %> <% diff = compute_diff( report['app'], env, type, count )%> <tr> <td class="<%=assign_class( type, count, diff )%>" align="left"> <%=type.capitalize %> </td> <td> <%=count%> </td> <td> ‹<%= delta?( diff ) %>› </td> <% if type != 'features' and count > 0%> <td align='right'> <%= link_to_remote 'fixed', "/mission/fixed/#{report['app']}/#{env}/#{type}", :class => "fixed" %> </td> <% else %> <td> <p style="width:30px"></p> </td> <% end %> </tr> <% end %> </table> </div> </div> <% end %> </div> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wackamole-0.0.3 | views/mission/_report.erb |
wackamole-0.0.2 | views/mission/_report.erb |