Merge pull request #1691 from TracksApp/dev-mark

remove custom solution to visually show that you are running in developm...
This commit is contained in:
Reinier Balt 2014-06-26 10:53:34 +02:00
commit 45884bbe05
6 changed files with 5 additions and 9 deletions

View file

@ -48,6 +48,7 @@ group :development do
gem 'tolk', '>=1.5.0'
gem "bullet"
gem "rack-mini-profiler"
gem "rack-dev-mark"
end
group :test do

View file

@ -115,6 +115,8 @@ GEM
nokogiri
polyglot (0.3.5)
rack (1.5.2)
rack-dev-mark (0.4.5)
rack (>= 1.1)
rack-mini-profiler (0.9.1)
rack (>= 1.1.3)
rack-test (0.6.2)
@ -226,6 +228,7 @@ DEPENDENCIES
jquery-rails
mocha
mysql2
rack-dev-mark
rack-mini-profiler
rails (~> 4.1.0)
rails_autolink

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