Browse Source

no more support for old ie

pull/1/head
Nicolae Claudius 11 years ago
parent
commit
1128a4738f
  1. 9
      app/assets/stylesheets/application-ie.css.scss
  2. 3
      app/views/layouts/admin.html.erb
  3. 3
      app/views/layouts/users.html.erb
  4. 1
      config/environments/production.rb

9
app/assets/stylesheets/application-ie.css.scss

@ -1,9 +0,0 @@
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*/
@import 'font-awesome-ie7.min';

3
app/views/layouts/admin.html.erb

@ -9,9 +9,6 @@
<title><%= content_for?(:title) ? yield(:title) : "EntryDNS" %></title> <title><%= content_for?(:title) ? yield(:title) : "EntryDNS" %></title>
<%= stylesheet_link_tag "application" %> <%= stylesheet_link_tag "application" %>
<!--[if lte IE 8]>
<%= stylesheet_link_tag "application-ie", :media => "all" %>
<![endif]-->
<%= javascript_include_tag "application" %> <%= javascript_include_tag "application" %>
<%= csrf_meta_tag %> <%= csrf_meta_tag %>
</head> </head>

3
app/views/layouts/users.html.erb

@ -9,9 +9,6 @@
<title><%= content_for?(:title) ? yield(:title) : "EntryDNS" %></title> <title><%= content_for?(:title) ? yield(:title) : "EntryDNS" %></title>
<%= stylesheet_link_tag "application" %> <%= stylesheet_link_tag "application" %>
<!--[if lte IE 8]>
<%= stylesheet_link_tag "application-ie", :media => "all" %>
<![endif]-->
<%= javascript_include_tag "application" %> <%= javascript_include_tag "application" %>
<%= csrf_meta_tag %> <%= csrf_meta_tag %>
</head> </head>

1
config/environments/production.rb

@ -55,7 +55,6 @@ Entrydns::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js ) # config.assets.precompile += %w( search.js )
config.assets.precompile += %w( application-ie.css )
# Disable delivery errors, bad email addresses will be ignored # Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false # config.action_mailer.raise_delivery_errors = false

Loading…
Cancel
Save