Skip to content

Instantly share code, notes, and snippets.

@robmadole
Created February 12, 2016 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robmadole/ba96fb7aada69c7d1e08 to your computer and use it in GitHub Desktop.
Save robmadole/ba96fb7aada69c7d1e08 to your computer and use it in GitHub Desktop.
<div class="flash flash-danger">
<div class="container">
<noscript>
<link href="https://fonticons-free-fonticons.netdna-ssl.com/kits/a97ca672/a97ca672.css" media="all" rel="stylesheet">
<div class="flash-message flash-message-noscript show">
<h3 class="flash-title margin-top-none margin-bottom-sm"><i class="ficon ficon-oi"></i> Oi. You need to enable JavaScript.</h3>
<p class="flash-copy">Managing your assets with Fort Awesome relies on JavaScript. <a class="flash-link" href="http://www.enable-javascript.com" target="_blank">Enable JavaScript</a> and then we'll get you going.</p>
</div>
</noscript>
<div id="browser-not-supported" class="flash-message flash-message-browser-not-supported">
<h3 class="flash-title margin-top-none margin-bottom-sm"><i class="ficon ficon-oi"></i> Oi. Your browser is not supported.</h3>
<p class="flash-copy">
<% if browser.ie? and browser.version.to_i <= 10 %>
You're using <%= browser.name %> <%= browser.version %>, a very old browser. Did you know that Microsoft has abandoned support (including security fixes) for it? <a class="flash-link" href="http://browsehappy.com/" target="_blank">Be safe and upgrade</a>.
<% else %>
Your browser is too old and missing some key goodies. To manage your assets with Fort Awesome, you'll need to use <a class="flash-link" href="http://browsehappy.com/" target="_blank">a more modern web browser</a>.
<% end %>
</p>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment