oldhaven/app/views/layouts/application.html.haml

77 lines
2.4 KiB
Plaintext
Raw Normal View History

!!!5
%html
%head
%title BeatHaven
%meta{ :charset => "utf-8" }
%link{ :rel => "shortcut icon", :href => "/favicon.ico" }
= stylesheet_link_tag "application"
= javascript_include_tag "http://code.jquery.com/jquery.min.js"
= javascript_include_tag "http://code.jquery.com/ui/1.8.14/jquery-ui.min.js"
= javascript_include_tag "application"
%body
.topbar-wrapper
.topbar
.topbar-inner
.container
%h3
2011-09-19 12:21:03 +04:00
%a#logo{ :href => "#/" } BeatHaven
%ul.nav
%li
%a{ :href => "http://blog.beathaven.org/", :target => "_blank" }= I18n.t 'global.news'
%li
%a.about{ :href => "#/about/" }= I18n.t 'global.about'
2011-09-10 02:13:02 +04:00
%form#search-form{ :action => "" }
%input#search{ :type => "text", :placeholder => I18n.t('global.search') }
2011-09-10 02:13:02 +04:00
#artist-load-spinner
2011-09-09 11:41:45 +04:00
= image_tag "artist_loader.gif"
%ul.nav.secondary-nav
2011-09-15 13:38:24 +04:00
%li
%a#login{ :href => "#/login/" }= I18n.t 'global.login'
%li.dropdown#authorized
2011-09-15 08:35:48 +04:00
%a.dropdown-toggle#username{ :href => "#/" } %username%
%ul.dropdown-menu
%li
2011-09-15 08:35:48 +04:00
%a#preferences{ :href => "#/settings/" }= I18n.t 'global.settings'
%li.divider
%li
2011-09-15 08:35:48 +04:00
%a#logout{ :href => "#/logout/" }= I18n.t 'global.logout'
.popover-wrapper
2011-09-08 14:56:10 +04:00
.popover.below#autocomplete-container
.arrow
.inner
2011-09-08 14:56:10 +04:00
%h3.title.start
.content#autocomplete-items
.container#main
.row
2011-09-08 05:48:33 +04:00
.span11.columns#content
 
.span5.columns
.ad_here= (I18n.t 'global.your_ad_here').html_safe
2011-09-08 05:48:33 +04:00
.player
2011-09-16 15:38:47 +04:00
%h5.now-playing= I18n.t 'global.do_add'
2011-09-08 05:48:33 +04:00
.progress
.loaded
.played
.buttons
2011-09-15 15:07:35 +04:00
%a.btn.small-round.prev «
2011-09-16 05:57:41 +04:00
%a.btn.large.play ►
%a.btn.large.pause II
2011-09-15 15:07:35 +04:00
%a.btn.small-round.next »
.secondary-buttons
2011-09-19 20:01:26 +04:00
%a.shuffle= (I18n.t 'player.shuffle').upcase
%a.repeat= (I18n.t 'player.repeat').upcase
%a.do_empty= (I18n.t 'player.do_empty').upcase
2011-09-08 05:48:33 +04:00
2011-09-15 10:15:50 +04:00
%ul.playlist
2011-09-08 14:56:10 +04:00
2011-09-08 17:10:52 +04:00
.fullscreen
.inner
2011-09-09 11:41:45 +04:00
= image_tag "loader.gif"
#vk_api_transport
2011-09-15 15:07:35 +04:00
#jplayer