Stats page

This commit is contained in:
Gregory Eremin
2011-10-24 14:15:00 +04:00
parent 50b5396f11
commit 2eec07dc4d
10 changed files with 66 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
%h2 BeatHaven statistics
%table.zebra-striped.stats
%tr
%td
%strong Artists
%td= @artists
%tr
%td
%strong Albums
%td= @albums
%tr
%td
%strong Tracks
%td= @tracks
%tr
%td
%strong Users
%td= @users
+19
View File
@@ -0,0 +1,19 @@
%h2 Статистика BeatHaven
%table.zebra-striped.stats
%tr
%td
%strong Исполнителей
%td= @artists
%tr
%td
%strong Альбомов
%td= @albums
%tr
%td
%strong Треков
%td= @tracks
%tr
%td
%strong Пользователей
%td= @users
+3 -1
View File
@@ -19,7 +19,9 @@
%li
%a{ :href => "http://blog.beathaven.org/", :target => "_blank" }= I18n.t 'global.news'
%li
%a.about{ :href => "#/about/" }= I18n.t 'global.about'
%a.about{ :href => "#/about/" }= I18n.t 'global.about'
%li
%a.stat{ :href => "#/stat/" }= I18n.t 'global.stat'
%form#search-form{ :action => "" }
%input#search{ :type => "text", :placeholder => I18n.t('global.search') }
#artist-load-spinner