railsrumble/r13-team-357

View on GitHub
app/views/layouts/login.html.haml

Summary

Maintainability
Test Coverage
!!! 5
/[if IE 8]      <html class="no-js lt-ie10 lt-ie9" lang="en-us">
/[if IE 9]      <html class="no-js lt-ie10 lt-ie9" lang="en-us">
/[if lt IE 10]  <html class="no-js lt-ie10" lang="en-us">
%html{lang: 'en', class: 'no-js'}
  %head
    %title= "#{t('app_title')} - #{yield :title}"
    %meta(http-equiv="content-type" content="text/html" charset="utf-8")
    %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
    %meta(name="description" content="")
    %meta(name="author" content="")
    %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'}
    %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)")
    %meta(name='apple-mobile-web-app-capable' content='yes')
    %meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')

    %link(rel="shortcut icon" href="#{image_url('favicon.png')}")

    / Stylesheets (Don't change include order)
    = stylesheet_link_tag 'application', '//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css'
    = yield :head

  %body.login

    .wrapper
      = yield

    / Footer
    = render partial: 'layouts/partials/footer'

    / Google Analytics
    = render partial: 'layouts/partials/trackers'