source: branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb @ 80511

Last change on this file since 80511 was 80511, checked in by derek@…, 9 years ago

Initial commit of statistics collection Ruby on Rails app.

What is implemented as of this commit:

  • Accepts and stores submitted data (system information, installed ports)
  • Integrated ports and categories from mpwa along with port browsing and search
  • Seed database with all ports and categories (seeds.rb) - data comes from mpwa script
  • Displays charts regarding system information using google charts api
  • Raw dump of submitted active ports table - no charts yet
File size: 602 bytes
Line 
1<div id="content">
2  <p>
3    <strong>Name:</strong> <%= @port.name %>
4  </p>
5
6  <p>
7    <strong>Current Version:</strong> <%= @port.version %>
8  </p>
9
10  <% unless @port.description.nil? %>
11    <p>
12      <strong>Description:</strong> <%= @port.description %>
13    </p>
14  <% end %>
15
16  <% unless @port.licenses.nil? %>
17    <p>
18      <strong>Licenses:</strong> <%= @port.licenses %>
19    </p>
20  <% end %>
21
22  <p>
23    <strong>Categories</strong>
24    <%=h @port.categories %>
25  </p>
26
27  <% unless @port.variants.nil? %>
28    <p>
29      <strong>Variants:</strong> <%=h @port.variants %>
30    </p>
31  <% end %>
32
33</div>
Note: See TracBrowser for help on using the repository browser.