1
0
Fork 0
oldhaven/app/views/layouts/application.html.haml

87 lines
3.1 KiB
Plaintext
Raw Normal View History

!!!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"}
= 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
%ul.nav
%li
%a{ :href => "http://blog.beathaven.org/", :target => "_blank" }= I18n.t 'global.news'
%li
2011-10-24 10:15:00 +00:00
%a.about{ :href => "#/about/" }= I18n.t 'global.about'
%li
%a.stat{ :href => "#/stat/" }= I18n.t 'global.stat'
2011-09-09 22:13:02 +00:00
%form#search-form{ :action => "" }
%input#search{ :type => "text", :placeholder => I18n.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"
%ul.nav.secondary-nav
2011-09-15 09:38:24 +00:00
%li
%a#login{ :href => "#/login/" }= I18n.t 'global.login'
%li.dropdown#authorized
2011-09-15 04:35:48 +00:00
%a.dropdown-toggle#username{ :href => "#/" } %username%
%ul.dropdown-menu
%li
2011-09-15 04:35:48 +00:00
%a#preferences{ :href => "#/settings/" }= I18n.t 'global.settings'
%li.divider
%li
2011-09-15 04:35:48 +00:00
%a#logout{ :href => "#/logout/" }= I18n.t 'global.logout'
.popover-wrapper
2011-09-08 10:56:10 +00:00
.popover.below#autocomplete-container
.arrow
.inner
2011-09-08 10:56:10 +00:00
%h3.title.start
.content#autocomplete-items
.container#main
.row
2011-09-08 01:48:33 +00:00
.span11.columns#content
 
.span5.columns
.ad_here= (I18n.t 'global.your_ad_here').html_safe
2011-09-08 01:48:33 +00:00
.player
2011-09-16 11:38:47 +00:00
%h5.now-playing= I18n.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
%a.shuffle{ :title => I18n.t('player.shuffle') }= image_tag "icns/shuffle.png"
%a.repeat{ :title => I18n.t('player.repeat') }= image_tag "icns/repeat.png"
%a.do_empty{ :title => I18n.t('player.do_empty') }= image_tag "icns/empty.png"
.primary-buttons
%a.btn.small-round.prev «
%a.btn.large.play ►
%a.btn.large.pause II
%a.btn.small-round.next »
.quality-buttons
%a.q-good{ :title => I18n.t('player.thumbs_up') }= image_tag "icns/thumbs-up.png"
%a.q-bad{ :title => I18n.t('player.thumbs_down') }= image_tag "icns/thumbs-down.png"
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