<div id="analysis" class="pill-pane active">
  <div class="dashboard row">
    <div class="col-md-12">

      <table class="table">
        <thead>
          <tr>
            <th>License</th>
            <th>Count</th>
          </tr>
        </thead>
        <tbody>
        <% @snapshot.send(@metric)['analysis'].each do |license, count| %>
          <tr>
            <td class="<%= @analysis.include?(license) ? 'successful' : 'unsuccessful' %>"><%= license.gsub("\uff0e", '.') %></td>
            <td class="<%= @analysis.include?(license) ? 'successful' : 'unsuccessful' %>"><%= count %></td>
          </tr>
        <% end %>
        </tbody>
      </table>

    </div>
  </div>
</div>
<div id="statistics" class="pill-pane">
</div>


<div id="analysis" class="pill-pane active">
  <div class="dashboard row">
    <div class="col-md-12">
      <h3><span class="fa fa-clipboard"></span> Licenses</h3>
      <h4>Number of different licenses and open or not</h4>
      <table class="table">
        <thead>
          <tr>
            <th>License ID</th>
            <th>Count</th>
          </tr>
        </thead>
        <tbody>
          <% @snapshot.send(@metric.id)['analysis'].sort_by { |k, v| - v }.each do |license, count| %>
          <tr>
            <td class="<%= @analysis.include?(license) ? 'successful' : 'unsuccessful' %>"><%= license.gsub("\uff0e", '.') %></td>
            <td class="<%= @analysis.include?(license) ? 'successful' : 'unsuccessful' %>"><%= count %></td>
          </tr>
        <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>
<div id="statistics" class="pill-pane">
  <div class="dashboard col-md-12 info alert-info error-page">
    <h3><span class="glyphicon glyphicon-warning-sign"></span> No statistics for this metric</h3>
  </div>
</div>


Update openness metric view to new design
Update openness metric view to new design

Just updated the openness metric view. Here only few changes had to be
made.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
