Skip to content

Instantly share code, notes, and snippets.

@TheRealNeil
Created January 16, 2018 13:47
Show Gist options
  • Save TheRealNeil/c8dd8cd0e45dd40e6bb039d702aee3c0 to your computer and use it in GitHub Desktop.
Save TheRealNeil/c8dd8cd0e45dd40e6bb039d702aee3c0 to your computer and use it in GitHub Desktop.
DNA - New Application Layout
!!!
%html{:lang => "en"}
%head
%meta{charset: "utf-8"}
%meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}
%meta{content: "width=device-width, initial-scale=1", name: "viewport"}
%meta{content: "", name: "description"}
%meta{content: "", name: "author"}
%meta{content: "none", name: "msapplication-config"}
%title DNA
/ HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
/[if lt IE 9]
= javascript_include_tag "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js", "https://oss.maxcdn.com/respond/1.4.2/respond.min.js"
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
= render 'layouts/application_bar' unless params[:controller] == 'home'
.container-fluid.d-flex.full-height
= render 'layouts/side_navigation' unless params[:controller] == 'home'
.overflow-y-scroll
= yield
-#.row.no-gutters.full-height
-# .col-12.col-sm-auto.bg-light.border-right-1.border-bottom-1
-# = render 'layouts/side_navigation' unless params[:controller] == 'home'
-# .col
-# #main_content.container-fluid
-# = render "shared/flash_messages"
-# = yield
:css
#main-container {
padding-left: 200px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment