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

88 lines
3.4 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" }
2011-11-29 10:29:20 +00:00
%meta{ property: "og:title", content: "BeatHaven" }
%meta{ property: "og:description", content: "Ultimate Online Jukebox" }
2011-11-29 10:41:20 +00:00
%meta{ property: "og:image", content: image_path("thumb.png") }
2011-10-24 10:50:37 +00:00
%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"}
2012-09-27 21:58:18 +00:00
= stylesheet_link_tag "application"
= javascript_include_tag "application"
2011-11-28 20:44:51 +00:00
= javascript_include_tag "http://userapi.com/js/api/openapi.js?45", charset: "windows-1251"
%body
2011-11-27 23:13:14 +00:00
#fb-root
2012-09-27 21:58:18 +00:00
.topbar-wrapper
.topbar
.topbar-inner
.container
%h3
%a#logo.page-link{ :href => "/" } BeatHaven
%ul.nav
%li
2011-11-29 17:32:15 +00:00
%a.foreign-link{ :href => "https://twitter.com/#!/beat_haven", :target => "_blank" }= t('global.news')
%li
%a.page-link.about{ :href => "/about/" }= t('global.about')
2011-10-24 10:15:00 +00:00
%li
%a.page-link.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"
%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%
%ul.dropdown-menu
%li
2011-11-26 15:38:50 +00:00
%a#preferences{ :href => "#/settings/" }= t('global.settings')
%li.divider
%li
2011-11-26 15:38:50 +00:00
%a#logout{ :href => "#/logout/" }= t('global.logout')
2012-09-27 21:58:18 +00:00
.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
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-29 10:41:20 +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-09-15 06:15:50 +00:00
%ul.playlist
2011-11-27 23:13:14 +00:00
.row
.span11= render "like"
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
2011-11-29 17:03:28 +00:00
= render "user/settings"