Sha256: fd48fce3afca07240eb410f646e89376db5a7ddf3a747066331e246357a1e42c

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>sport.db Web Admin</title>
  <%= stylesheet_link_tag    'sport_db_admin/application', :media => 'all' %>
  <%= javascript_include_tag 'sport_db_admin/application' %>
  <%= csrf_meta_tags %>
</head>
<body>

 <p>
  <%= link_to 'Events', events_path() %>  &bull;
  <%= link_to 'Clubs', clubs_path() %>  &bull;
  <%= link_to 'National Teams', national_teams_path() %>  &bull;
  <%= link_to 'Countries & Cities', countries_path() %>  &bull;
  <%= link_to 'Regions', regions_path() %>  &bull;
  <%= link_to 'Rounds', rounds_path() %>  &bull;
  <%= link_to 'Past Games', past_games_path() %> &bull;
  <%= link_to 'Upcoming Games', games_path() %>  &bull;
  <%= link_to 'About', about_path() %>
  <!-- todo: add some more links -->
  
  <% if sportdb_api_defined? %>
     .::.
  
  <!-- fix/check: does it work for nested routes /e.g. db/api/v1 or /api/v1 ?? -->
  <%= link_to 'Web Service / HTTP JSON API', api_path() %>
  <% end %>
 </p>

<div class='content'>
<%= yield %>
</div>

<div class='version'>
<%= powered_by %>
</div>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-admin-0.2.0 app/views/layouts/sport_db_admin/sport_db_admin.html.erb