Sha256: ec69c73369b22a8223b91b5f0134343a57a66c8421d1bbde8796dff1213b5fd0

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

doctype html
html lang="en"
  head
    title #{APPLICATION_NAME}
    meta charset="utf-8"
    meta name="viewport" content="initial-scale=1.0"
    meta name="description" content="Compound Management Web Application"
    meta name="author" content="Compound Management"

    = stylesheet_link_tag "bootstrap", :media => "all"
    style
      | body {padding-top: 60px;}
    = stylesheet_link_tag "bootstrap-responsive", :media => "all"
    = stylesheet_link_tag "application", :media => "all"

    /!-- HTML5 shim, for IE6-8 support of HTML5 elements
    /[if lt IE 9]
      = javascript_include_tag "html5.js"

    = csrf_meta_tags

    /! Fav and touch icons
    link rel="shortcut icon" href="#{image_path('cm_app.ico')}"
    link rel="apple-touch-icon" href="#{image_path('cm_app.png')}"
body 
  /! Navigation Bar
  == yield :navigation

  /! Main content
  div class="container-fluid"
    div class="row-fluid"
      div class="span12"
        /! Flash messages
        - flash.each do |type, msg|
          div class="alert alert-#{type.to_s}"
            = msg
        /! content
        == yield 

  /! Footer
  = render :partial => 'layouts/footer'       

  /! For fast page loads
  = javascript_include_tag "application"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmstyle-0.1.3 lib/app/views/layouts/application.slim
cmstyle-0.1.2 lib/app/views/layouts/application.slim
cmstyle-0.1.1 lib/app/views/layouts/application.slim
cmstyle-0.1.0 lib/app/views/layouts/application.slim
cmstyle-0.0.18 lib/app/views/layouts/application.slim
cmstyle-0.0.17 lib/app/views/layouts/application.slim