Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application.html.haml « layouts « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a55a832e6339c4cfdd4db81c95755f3d823f5a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

!!!
%html{lang: I18n.locale.to_s, dir: (rtl? ? "rtl" : "ltr")}
  %head{prefix: og_prefix}
    %meta{name: "viewport", content: "width=device-width, initial-scale=1"}/

    - content_for :javascript do
      = javascript_include_tag :main, :templates
      = load_javascript_locales

    = include_color_theme
    = render "head"
    = translation_missing_warnings

  %body{class: "page-#{controller_name} action-#{action_name}"}
    = yield :before_content

    %noscript
      .noscript
        %h3= t("error_messages.need_javascript")

    = content_for?(:content) ? yield(:content) : yield

    = yield :after_content

    .blueimp-gallery.blueimp-gallery-controls#blueimp-gallery
      .slides
      %a.prev
        .entypo-chevron-small-left
      %a.next
        .entypo-chevron-small-right
      %a.close
        .entypo-cross
      %a.play-pause
      %ol.indicator

    #flash-container= flash_messages

    %a.entypo-chevron-up.back-to-top#back-to-top{title: t("layouts.application.back_to_top"), href: "#"}