mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 06:48:49 +01:00
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:
commit
45884bbe05
6 changed files with 5 additions and 9 deletions
1
Gemfile
1
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 |
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -35,8 +35,6 @@
|
|||
<body class="<%= controller.controller_name %>">
|
||||
|
||||
<div id="topbar">
|
||||
<%= NOTIFY_BAR.html_safe %>
|
||||
|
||||
<div id="date">
|
||||
<h1>
|
||||
<% if @count -%>
|
||||
|
|
|
|||
|
|
@ -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\"> </div>"
|
||||
config.rack_dev_mark.enable = true
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue