initial import boxroom 0.6.2
[boxroom-stian.git] / app / views / layouts / group.rhtml
blobc89ccdfbeed32c1de52ac6e082ac396bcb4d1ee4
1 <html>\r
2 <head>\r
3     <title>Boxroom</title>\r
4     <%= stylesheet_link_tag 'boxroom' %>\r
5     <%= javascript_include_tag 'application' %>\r
6     <script type="text/javascript">\r
7         if(IE)\r
8         {\r
9             window.onload = ResizeContentDiv;\r
10             window.onresize = ResizeContentDiv;\r
11         }\r
12     </script>\r
13 </head>\r
14 <body>\r
16     <div id="top">\r
17         <div class="header">\r
18             <div class="userSettings">\r
19                 <%= render_partial 'shared/logged_in_user_menu' %>\r
20             </div>\r
22             <div class="search">\r
23                 <%= render_partial 'shared/search_form' %>\r
24             </div>\r
25         </div>\r
27         <div class="topNavigation">\r
28             <div class="links">\r
29                 <%= render_partial 'shared/go_to_menu' %>\r
30             </div>\r
31         </div>\r
32     </div>\r
34     <div id="middle">\r
35         <div class="actionLinks">\r
36             <% if @logged_in_user.is_admin? %>\r
37             <%= link_to 'Create group', { :action => 'new' } %>\r
38             <% end %>\r
39         </div>\r
41         <div class="content">\r
42             <table cellspacing="0" cellpadding="0">\r
43                 <tr>\r
44                     <td>\r
45                         <%= yield %>\r
46                     </td>\r
47                 </tr>\r
48             </table>\r
49         </div>\r
50     </div>\r
52     <div id="bottom">\r
53         <div class="footer">\r
54             &#0169; <a href="http://boxroom.rubyforge.org">Mischa Berger</a>, <%= Time.now.year %>\r
55         </div>\r
56     </div>\r
58 </body>\r
59 </html>