##// END OF EJS Templates
calendar javascripts and stylesheets removed from base layout. they're now only added to html header when needed....
Jean-Philippe Lang -
r148:979892a109bd
parent child
Show More
@@ -37,3 +37,10
37
37
38 <%= submit_tag l(:button_submit) %>
38 <%= submit_tag l(:button_submit) %>
39 <%= end_form_tag %>
39 <%= end_form_tag %>
40
41 <% content_for :header_tags do %>
42 <%= javascript_include_tag 'calendar/calendar' %>
43 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
44 <%= javascript_include_tag 'calendar/calendar-setup' %>
45 <%= stylesheet_link_tag 'calendar' %>
46 <% end %>
@@ -46,4 +46,11 if (document.getElementById) {
46 }
46 }
47 //]]>
47 //]]>
48 </script>
48 </script>
49 <% end %>
50
51 <% content_for :header_tags do %>
52 <%= javascript_include_tag 'calendar/calendar' %>
53 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
54 <%= javascript_include_tag 'calendar/calendar-setup' %>
55 <%= stylesheet_link_tag 'calendar' %>
49 <% end %> No newline at end of file
56 <% end %>
@@ -9,13 +9,8
9 <%= stylesheet_link_tag "print", :media => "print" %>
9 <%= stylesheet_link_tag "print", :media => "print" %>
10 <%= javascript_include_tag :defaults %>
10 <%= javascript_include_tag :defaults %>
11 <%= javascript_include_tag 'menu' %>
11 <%= javascript_include_tag 'menu' %>
12 <%= javascript_include_tag 'calendar/calendar' %>
13 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
14 <%= javascript_include_tag 'calendar/calendar-setup' %>
15 <%= stylesheet_link_tag 'calendar' %>
16 <%= stylesheet_link_tag 'jstoolbar' %>
12 <%= stylesheet_link_tag 'jstoolbar' %>
17 <!-- page specific tags -->
13 <!-- page specific tags --><%= yield :header_tags %>
18 <%= yield :header_tags %>
19 </head>
14 </head>
20
15
21 <body>
16 <body>
@@ -35,3 +35,10
35 </div>
35 </div>
36 <%= javascript_tag "Element.hide('repository');" if @project.repository.nil? %>
36 <%= javascript_tag "Element.hide('repository');" if @project.repository.nil? %>
37 </div>
37 </div>
38
39 <% content_for :header_tags do %>
40 <%= javascript_include_tag 'calendar/calendar' %>
41 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
42 <%= javascript_include_tag 'calendar/calendar-setup' %>
43 <%= stylesheet_link_tag 'calendar' %>
44 <% end %> No newline at end of file
@@ -47,4 +47,11 if (document.getElementById) {
47 }
47 }
48 //]]>
48 //]]>
49 </script>
49 </script>
50 <% end %>
51
52 <% content_for :header_tags do %>
53 <%= javascript_include_tag 'calendar/calendar' %>
54 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
55 <%= javascript_include_tag 'calendar/calendar-setup' %>
56 <%= stylesheet_link_tag 'calendar' %>
50 <% end %> No newline at end of file
57 <% end %>
@@ -28,3 +28,10
28 <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
28 <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
29 </div>
29 </div>
30 <!--[eoform:user]-->
30 <!--[eoform:user]-->
31
32 <% content_for :header_tags do %>
33 <%= javascript_include_tag 'calendar/calendar' %>
34 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
35 <%= javascript_include_tag 'calendar/calendar-setup' %>
36 <%= stylesheet_link_tag 'calendar' %>
37 <% end %> No newline at end of file
@@ -6,4 +6,11
6 <p><%= f.text_field :description, :size => 60 %></p>
6 <p><%= f.text_field :description, :size => 60 %></p>
7 <p><%= f.text_field :effective_date, :size => 10, :required => true %><%= calendar_for('version_effective_date') %></p>
7 <p><%= f.text_field :effective_date, :size => 10, :required => true %><%= calendar_for('version_effective_date') %></p>
8 <!--[eoform:version]-->
8 <!--[eoform:version]-->
9 </div> No newline at end of file
9 </div>
10
11 <% content_for :header_tags do %>
12 <%= javascript_include_tag 'calendar/calendar' %>
13 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
14 <%= javascript_include_tag 'calendar/calendar-setup' %>
15 <%= stylesheet_link_tag 'calendar' %>
16 <% end %> No newline at end of file
@@ -19,7 +19,7 div.calendar { position: relative; }
19 }
19 }
20
20
21 .calendar .nav {
21 .calendar .nav {
22 background: #467aa7 url(menuarrow.gif) no-repeat 100% 100%;
22 background: #467aa7;
23 }
23 }
24
24
25 .calendar thead .title { /* This holds the current "month, year" */
25 .calendar thead .title { /* This holds the current "month, year" */
General Comments 0
You need to be logged in to leave comments. Login now