File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ body { padding:0; margin:0; }
8
8
.header ul li a : hover { background : # 333 ;}
9
9
.header ul li .current a { background : # ce1212 ; font-weight : bold; color : # fff ;}
10
10
11
+ .header .namespace { position : absolute; right : 75px ; top : 10px ; color : # 7A7A7A ; }
12
+
11
13
.subnav { padding : 2px 5% 7px 5% ; background : # ce1212 ; font-size : 90% ;}
12
14
.subnav li { display : inline;}
13
15
.subnav li a { color : # fff ; text-decoration : none; margin-right : 10px ; display : inline-block; background : # dd5b5b ; padding : 5px ; -webkit-border-radius : 3px ; -moz-border-radius : 3px ;}
Original file line number Diff line number Diff line change 6
6
< link href ="<%= u 'reset.css' %> " media ="screen " rel ="stylesheet " type ="text/css ">
7
7
< link href ="<%= u 'style.css' %> " media ="screen " rel ="stylesheet " type ="text/css ">
8
8
< script src ="<%= u 'jquery-1.3.2.min.js' %> " type ="text/javascript "> </ script >
9
- < script src ="<%= u 'jquery.relatize_date.js' %> " type ="text/javascript "> </ script >
9
+ < script src ="<%= u 'jquery.relatize_date.js' %> " type ="text/javascript "> </ script >
10
10
< script src ="<%= u 'ranger.js' %> " type ="text/javascript "> </ script >
11
11
</ head >
12
12
< body >
16
16
<%= tab tab_name %>
17
17
<% end %>
18
18
</ ul >
19
+ <% if Resque . redis . namespace != :resque %>
20
+ < abbr class ="namespace " title ="Resque's Redis Namespace ">
21
+ <%= Resque . redis . namespace %>
22
+ </ abbr >
23
+ <% end %>
19
24
</ div >
20
-
25
+
21
26
<% if @subtabs %>
22
27
< ul class ='subnav '>
23
28
<% for subtab in @subtabs %>
24
29
< li <%= class_if_current "#{ current_section } /#{ subtab } " %> > < a href ="<%= current_section %> / <%= subtab %> "> < span > <%= subtab %> </ span > </ a > </ li >
25
30
<% end %>
26
31
</ ul >
27
32
<% end %>
28
-
33
+
29
34
< div id ="main ">
30
35
<%= yield %>
31
36
</ div >
32
37
33
38
< div id ="footer ">
34
39
< p > Powered by < a href ="http://github.com/defunkt/resque "> Resque</ a > v<%= Resque ::Version %> </ p >
35
- < p > Connected to Redis on <%= Resque . redis . server %> </ p >
40
+ < p > Connected to Redis namespace <%= Resque . redis . namespace %> on <%= Resque . redis . server %> </ p >
36
41
</ div >
37
42
38
43
</ body >
You can’t perform that action at this time.
0 commit comments