Sha256: a1ac422c3421197081c4f8158ee78974dd416c83094511013df995f3bc37cd74

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

html(ng-app="<%= module_name %>" ng-controller="GlobalCtrl")
  head
    title(ng-bind="title")
    meta(name="fragment" content="!")
    meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no")
    meta(name="keywords" content="{{status.meta.keywords}}")
    meta(name="description" content="{{status.meta.description}}")

    = csrf_meta_tags
    = stylesheet_link_tag "application", media: "all"

    = render 'sprangular/shared/templates'

  body(ng-class="status.bodyClasses")
    #initializing(ng-hide='status.initialized' ng-cloak)
      ng-include(src="'assets/layout/initializing.html'")

    #initialized(ng-show='status.initialized' ng-cloak)
      ng-include(src="'assets/layout/loading.html'" ng-show="status.isLoading()")
      ng-include(src="'assets/layout/flash.html'" ng-show="flash.hasMessages()")

      #wrap
        ng-include(src="'assets/layout/header.html'")

        #main.container-fluid(ng-view autoscroll="true" ng-cloak)

      ng-include(src="'assets/layout/footer.html'")

    = javascript_include_tag "application"

    = yield

    = render 'sprangular/shared/analytics'

    - if I18n.locale != :en
      = javascript_include_tag "angular-i18n/angular-locale_#{I18n.locale}.js"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 lib/generators/sprangular/install/templates/layout.slim.tt