2011-09-08 00:36:04 +00:00
|
|
|
!!!5
|
|
|
|
%html
|
|
|
|
%head
|
|
|
|
%title BeatHaven
|
|
|
|
%meta{ :charset => "utf-8" }
|
2011-10-24 10:50:37 +00:00
|
|
|
%meta{ :name => "csrf-token", content: form_authenticity_token }
|
|
|
|
%meta{ name: "description", content: "Ultimate Online Jukebox" }
|
|
|
|
%link{ rel: "shortcut icon", href: "/favicon.ico" }
|
|
|
|
%link{ rel: "apple-touch-icon", href: image_path("logo.png") }
|
|
|
|
%link{ rel: "search", type: "application/opensearchdescription+xml", title: "BeatHaven", href: "/opensearch.xml"}
|
2011-09-08 00:36:04 +00:00
|
|
|
= stylesheet_link_tag "application"
|
|
|
|
= javascript_include_tag "application"
|
|
|
|
%body
|
|
|
|
|
|
|
|
.topbar-wrapper
|
|
|
|
.topbar
|
|
|
|
.topbar-inner
|
|
|
|
.container
|
|
|
|
%h3
|
2011-09-19 08:21:03 +00:00
|
|
|
%a#logo{ :href => "#/" } BeatHaven
|
2011-09-08 00:36:04 +00:00
|
|
|
%ul.nav
|
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a{ :href => "http://blog.beathaven.org/", :target => "_blank" }= t('global.news')
|
2011-09-08 00:36:04 +00:00
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a.about{ :href => "#/about/" }= t('global.about')
|
2011-10-24 10:15:00 +00:00
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a.stat{ :href => "#/stat/" }= t('global.stat')
|
2011-09-09 22:13:02 +00:00
|
|
|
%form#search-form{ :action => "" }
|
2011-11-26 15:38:50 +00:00
|
|
|
%input#search{ :type => "text", :placeholder => t('global.search') }
|
2011-09-09 22:13:02 +00:00
|
|
|
#artist-load-spinner
|
2011-09-09 07:41:45 +00:00
|
|
|
= image_tag "artist_loader.gif"
|
2011-09-08 00:36:04 +00:00
|
|
|
%ul.nav.secondary-nav
|
2011-09-15 09:38:24 +00:00
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a#login{ :href => "#/login/" }= t('global.login')
|
2011-09-15 09:38:24 +00:00
|
|
|
%li.dropdown#authorized
|
2011-09-15 04:35:48 +00:00
|
|
|
%a.dropdown-toggle#username{ :href => "#/" } %username%
|
2011-09-08 00:36:04 +00:00
|
|
|
%ul.dropdown-menu
|
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a#preferences{ :href => "#/settings/" }= t('global.settings')
|
2011-09-08 00:36:04 +00:00
|
|
|
%li.divider
|
|
|
|
%li
|
2011-11-26 15:38:50 +00:00
|
|
|
%a#logout{ :href => "#/logout/" }= t('global.logout')
|
2011-09-08 00:36:04 +00:00
|
|
|
|
|
|
|
.popover-wrapper
|
2011-09-08 10:56:10 +00:00
|
|
|
.popover.below#autocomplete-container
|
2011-09-08 00:36:04 +00:00
|
|
|
.arrow
|
|
|
|
.inner
|
2011-09-08 10:56:10 +00:00
|
|
|
%h3.title.start
|
|
|
|
.content#autocomplete-items
|
2011-09-08 00:36:04 +00:00
|
|
|
|
|
|
|
.container#main
|
|
|
|
.row
|
2011-09-08 01:48:33 +00:00
|
|
|
.span11.columns#content
|
|
|
|
|
|
|
|
|
|
|
|
.span5.columns
|
2011-11-26 15:38:50 +00:00
|
|
|
.ad_here= t('global.your_ad_here').html_safe
|
2011-09-08 01:48:33 +00:00
|
|
|
.player
|
2011-11-26 15:38:50 +00:00
|
|
|
%h5.now-playing= t('global.do_add')
|
2011-09-08 01:48:33 +00:00
|
|
|
.progress
|
|
|
|
.loaded
|
|
|
|
.played
|
|
|
|
.buttons
|
2011-10-01 13:04:28 +00:00
|
|
|
.secondary-buttons
|
2011-11-26 15:38:50 +00:00
|
|
|
%a.shuffle{ :title => t('player.shuffle') }= image_tag "icns/shuffle.png"
|
|
|
|
%a.repeat{ :title => t('player.repeat') }= image_tag "icns/repeat.png"
|
|
|
|
%a.do_empty{ :title => t('player.do_empty') }= image_tag "icns/empty.png"
|
2011-10-01 13:04:28 +00:00
|
|
|
.primary-buttons
|
|
|
|
%a.btn.small-round.prev «
|
|
|
|
%a.btn.large.play ►
|
|
|
|
%a.btn.large.pause II
|
|
|
|
%a.btn.small-round.next »
|
|
|
|
.quality-buttons
|
2011-11-26 15:38:50 +00:00
|
|
|
%a.q-good{ :title => t('player.thumbs_up') }= image_tag "icns/thumbs-up.png"
|
|
|
|
%a.q-bad{ :title => t('player.thumbs_down') }= image_tag "icns/thumbs-down.png"
|
2011-10-01 13:04:28 +00:00
|
|
|
|
|
|
|
|
2011-09-08 01:48:33 +00:00
|
|
|
|
2011-09-15 06:15:50 +00:00
|
|
|
%ul.playlist
|
2011-09-08 10:56:10 +00:00
|
|
|
|
2011-09-08 13:10:52 +00:00
|
|
|
.fullscreen
|
|
|
|
.inner
|
2011-09-09 07:41:45 +00:00
|
|
|
= image_tag "loader.gif"
|
|
|
|
|
|
|
|
#vk_api_transport
|
2011-09-15 11:07:35 +00:00
|
|
|
#jplayer
|