mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
added develop notification bar on RAILS_ENV != production
This commit is contained in:
parent
671652c4c4
commit
a871511c24
3 changed files with 11 additions and 0 deletions
|
@ -38,7 +38,12 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="<%= @controller.controller_name %>">
|
<body class="<%= @controller.controller_name %>">
|
||||||
|
|
||||||
<div id="topbar">
|
<div id="topbar">
|
||||||
|
<% if RAILS_ENV != "production" -%>
|
||||||
|
<div id="develop-notify-bar"> </div>
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
<div id="date">
|
<div id="date">
|
||||||
<h1>
|
<h1>
|
||||||
<% if @count -%>
|
<% if @count -%>
|
||||||
|
|
BIN
public/images/construction.gif
Normal file
BIN
public/images/construction.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -277,6 +277,12 @@ a.show_successors:hover, a.link_to_successors:hover {background-image: url(../im
|
||||||
|
|
||||||
#navlist a:hover { color: #CCC; }
|
#navlist a:hover { color: #CCC; }
|
||||||
|
|
||||||
|
#develop-notify-bar {
|
||||||
|
line-height:0.5;
|
||||||
|
background-image: url(/images/construction.gif);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
}
|
||||||
|
|
||||||
#topbar {
|
#topbar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue