<h1>Metrics</h1>
<div class="row">
  <div class="span6">
    <form class="form-inline" action="" method="post">
      <fieldset>
        <label for="repository">Repository</label>
        <select name="repository">
          <% for repository in @repositories %>
            <option <%= selected?(repository.name, params[:repository])
            %>><%= repository.name %></option>
          <% end %>
        </select>
        <button type="submit" class="btn">Select</button>
      </fieldset>
    </form>
  </div>
</div>
<div class="row center">
  <div class="span12 dashboard">
    <div class="row">
      <div class="span4">
        <strong>Completeness</strong>
        <div id="completeness-meter" class="metric">
        </div>
      </div>
      <div id="weighted-completeness-meter" class="span4">
        <strong>Weighted Completeness</strong>
        <div class="metric">
        </div>
      </div>
      <div id="richness-of-information-meter" class="span4">
        <strong>Richness of Information</strong>
        <div class="metric">
        </div>
      </div>
    </div>

    <div class="row">
      <div class="span4">
        <strong>Accuracy</strong>
        <div id="accuracy-meter" class="metric">
        </div>
      </div>
  </div>
</div>

<h1>Metrics</h1>
<div class="row">
  <div class="span6">
    <form class="form-inline" action="" method="post">
      <fieldset>
        <label for="repository">Repository</label>
        <select name="repository">
          <% for repository in @repositories %>
            <option <%= selected?(repository.name, params[:repository])
            %>><%= repository.name %></option>
          <% end %>
        </select>
        <!-- <button type="submit" class="btn">Select</button> --!>
      </fieldset>
    </form>
  </div>
</div>
<div class="row center">
  <div class="span12 dashboard">
    <div class="row">
      <div class="span4">
        <strong>Completeness</strong>
        <div id="completeness-meter" class="metric">
        </div>
      </div>
      <div id="weighted-completeness-meter" class="span4">
        <strong>Weighted Completeness</strong>
        <div class="metric">
        </div>
      </div>
      <div id="richness-of-information-meter" class="span4">
        <strong>Richness of Information</strong>
        <div class="metric">
        </div>
      </div>
    </div>

    <div class="row">
      <div class="span4">
        <strong><a href="/metrics/accuracy">Accuracy</a></strong>
        <div id="accuracy-meter" class="metric">
        </div>
      </div>
  </div>
</div>

Remove repository submit button temporarily
Remove repository submit button temporarily

I just noticed that I do not need the repository submit button on the
metrics dashboard. After all the current repository is read dynamically
with JavaScript. I will add it a later point when the metric scores are
loaded from the database.

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