Sha256: 9f86f11b13db7706869e15df97d64a4ec42a503a17dabb1b91af67a9c72fdb59

Contents?: true

Size: 1.4 KB

Versions: 7

Compression:

Stored size: 1.4 KB

Contents

doctype html
html xmlns='http://www.w3.org/1999/xhtml' lang=I18n.locale
  head
    meta charset="utf-8"
    meta http-equiv="x-ua-compatible" content="ie=edge"

    title= escape_once(strip_tags(title) + " | #{Locomotive.config.name}")

    meta name="viewport" content="width=device-width, initial-scale=1"

    link rel="icon" type="image/png" href="#{asset_url('locomotive/favicon.png')}" sizes="32x32"

    link href="https://fonts.googleapis.com/css?family=Muli:400,300|Noto+Sans:400,700" rel="stylesheet" type="text/css"

    javascript:
      window.Locomotive = { mounted_on: '#{Locomotive.mounted_on}' }

    = javascript_include_tag  'locomotive'
    = stylesheet_link_tag     'locomotive/account', media: 'screen'

    javascript:
      window.locale                     = '#{I18n.locale}';
      window.content_locale             = '#{::Mongoid::Fields::I18n.locale}';

      $(document).ready(function() {

        window.application_view = new Locomotive.Views.SimpleView({
          flash:      #{{flash_messages_to_json}},
          view:       #{backbone_view_class_name}
        });
        window.application_view.render();

      });

    = csrf_meta_tag

    = yield :head

  body class=[controller.controller_name, controller.action_name, flash.empty? ? '' : 'with-flash'].join(' ')
    .public-background
      = yield :header
      .public-container
        .public-wrapper
          = yield

    = yield :footer

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locomotivecms-3.1.2 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.1.1 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.1.0 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.1.0.rc3 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.1.0.rc2 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.1.0.rc1 app/views/locomotive/layouts/account.html.slim
locomotivecms-3.0.1 app/views/locomotive/layouts/account.html.slim