Sha256: ecc84a6c69eb3b5b37e77eb7b885d917b3c3c353fe700b5916365cd8457dfc98

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 KB

Contents


<h2>What's <code>sport.db</code>?</h2>

<p>
A free open sports database &amp; schema.
  <a href="https://github.com/geraldb/sport.db">More &raquo;</a>
</p>

<hr>


<table>
  <tr><td style='text-align: right'><%= Badge.count %>   </td><td>Badges</td></tr>
  <tr><td style='text-align: right'><%= Event.count %>   </td><td>Events</td></tr>
  <tr><td style='text-align: right'><%= Game.count %>    </td><td>Games</td></tr>
  <tr><td style='text-align: right'><%= Group.count %>   </td><td>Groups</td></tr>
  <tr><td style='text-align: right'><%= League.count %>  </td><td>Leagues</td></tr>
  <tr><td style='text-align: right'><%= Round.count %>   </td><td>Rounds</td></tr>
  <tr><td style='text-align: right'><%= Season.count %>  </td><td>Seasons</td></tr>
  <tr><td style='text-align: right'><%= Team.count %>    </td><td>Teams</td></tr>

  <!-- todo: split in two sections, that is, world.db and sport.db -->
  
  <tr><td style='text-align: right'><%= Country.count %> </td><td>Countries</td></tr>
  <tr><td style='text-align: right'><%= Region.count %>  </td><td>Regions</td></tr>
  <tr><td style='text-align: right'><%= City.count %>    </td><td>Cities</td></tr>
  <tr><td style='text-align: right'><%= WorldDb::Models::Tag.count %>    </td><td>Tags</td></tr>
  <tr><td style='text-align: right'><%= WorldDb::Models::Tagging.count %>    </td><td>Taggings</td></tr>

  <!-- todo: add prop count -->

  <tr><td style='text-align: right'><%= LogDb::Models::Log.count %>   </td><td>Logs</td></tr>
  
  <tr><td></td><td></td></tr>
  <tr><td style='text-align: right'><%= Badge.count+
              City.count+
              Country.count+
              Event.count+
              Game.count+
              Group.count+
              League.count+
              Region.count+
              Round.count+
              Season.count+
              Team.count+
              LogDb::Models::Log.count + 
              WorldDb::Models::Tag.count+
              WorldDb::Models::Tagging.count %></td><td>Total</td></tr>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-admin-0.3.0 app/views/sport_db_admin/pages/about.html.erb
sportdb-admin-0.2.0 app/views/sport_db_admin/pages/about.html.erb