Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Provide a fallback and upgrade path for IE6/7/8 users
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Constantinou committed Dec 16, 2014
1 parent efe901d commit daa124a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/views/layout.server.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@
<!--Livereload script rendered -->
<script type="text/javascript" src="http://{{request.hostname}}:35729/livereload.js"></script>
{% endif %}

<!--[if lt IE 9]>
<section class="browsehappy jumbotron hide">
<h1>Hello there!</h1>
<p>You are using an old browser which we unfortunately do not support.</p>
<p>Please <a href="http://browsehappy.com/">click here</a> to update your browser before using the website.</p>
<p><a href="http://browsehappy.com" class="btn btn-primary btn-lg" role="button">Yes, upgrade my browser!</a></p>
</section>
<![endif]-->
</body>

</html>
7 changes: 6 additions & 1 deletion public/modules/core/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@
}
.ng-valid.ng-dirty {
border-color: #78FA89;
}
}
.browsehappy.jumbotron.hide,
body.ng-cloak
{
display: block;
}

0 comments on commit daa124a

Please sign in to comment.