added develop notification bar on RAILS_ENV != production

This commit is contained in:
sf 2011-10-10 14:14:27 -04:00
parent 671652c4c4
commit a871511c24
3 changed files with 11 additions and 0 deletions

View file

@ -38,7 +38,12 @@
</head>
<body class="<%= @controller.controller_name %>">
<div id="topbar">
<% if RAILS_ENV != "production" -%>
<div id="develop-notify-bar">&nbsp;</div>
<% end -%>
<div id="date">
<h1>
<% if @count -%>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -277,6 +277,12 @@ a.show_successors:hover, a.link_to_successors:hover {background-image: url(../im
#navlist a:hover { color: #CCC; }
#develop-notify-bar {
line-height:0.5;
background-image: url(/images/construction.gif);
background-repeat: repeat-x;
}
#topbar {
position: fixed;
top: 0px;