<!--[if lte IE 7 ]>
<div style="position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;background:#fff;">
  <div style="margin-top:150px;text-align:center;line-height:1.4;color:#333;">
    The web interface cannot be displayed because your browser is not supported.<br>
    Please switch to a <a target="_blank"
                          href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.
  </div>
</div>
<!--<![endif]-->

<% if flash[:notice] || flash[:warning] || flash[:error] %>
  <script>
    <% if flash[:notice] %>info('<%= escape_javascript(flash[:notice])-%>');<% end %>
    <% if flash[:warning] %>warning('<%= escape_javascript(flash[:warning])-%>');<% end %>
    <% if flash[:error] %>error('<%= escape_javascript(flash[:error])-%>');<% end %>
  </script>
<% end %>

<%= yield :extra_script -%>

</body>
</html>
