Merge pull request #38 from Popsch/banner

clearly mark the 'development' mode in the web interface
This commit is contained in:
Reinier Balt 2011-10-27 04:17:13 -07:00
commit 6e20e374bb
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;