Sha256: 22b14e7a21bc520b851029f164dc3faab75d82d20b4ab6bbdc806d90d81c0cb4

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.1.1 app/views/sport_db_admin/pages/about.html.erb
sportdb-admin-0.1.0 app/views/sport_db_admin/pages/about.html.erb