remove custom solution to visually show that you are running in development

environment and replace with rack-dev-mark gem
This commit is contained in:
Reinier Balt 2014-06-25 22:09:45 +02:00
parent 14ed010f7c
commit 5ed2de3ab0
5 changed files with 2 additions and 9 deletions

View file

@ -31,6 +31,7 @@ gem "htmlentities"
gem "swf_fu"
gem "rails_autolink"
gem "cache_digests"
gem "rack-dev-mark"
# To use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

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

View file

@ -35,8 +35,6 @@
<body class="<%= controller.controller_name %>">
<div id="topbar">
<%= NOTIFY_BAR.html_safe %>
<div id="date">
<h1>
<% if @count -%>

View file

@ -26,6 +26,6 @@ Rails.application.configure do
# config.action_controller.session_store :cookie_store, :key => 'TracksCucumber'
# config.action_controller.session = { :key => 'TracksDev' }
NOTIFY_BAR="<div id=\"develop-notify-bar\">&nbsp;</div>"
config.rack_dev_mark.enable = true
end