OSDN Git Service

add enter home button.
[pettanr/pettanr.git] / app / views / layouts / application.html.erb
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <html xmlns:v="urn:schemas-microsoft-com:vml">\r
3         <head>\r
4                 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
5                 <meta http-equiv="Content-Language" content="ja">\r
6                 <meta http-equiv="Content-Script-Type" content="text/javascript">\r
7                 <meta http-equiv="Content-Style-Type" content="text/css">\r
8                 <meta http-equiv="imagetoolbar" content="no">\r
9                 <title>Pettanr</title>\r
10                 <%= stylesheet_link_tag "system.css" %>\r
11                 <%= stylesheet_link_tag "peta.common.css" %>\r
12                 <%= csrf_meta_tags %>\r
13         </head>\r
14         <body>\r
15                 <div id="server-content" class="">\r
16                         <%= yield %>\r
17                 </div>\r
18                 <div id="esc-msg" style="border:1px red solid;padding:10px;margin:10px;cursor:pointer;">[ESC] キーを押すと Metro ホームに入るよ.ホームの一番最後のタイルをクリックすると このページに戻るよ.</div>\r
19                 <div id="server-page-close-button" class="button" style="width:100px;margin:1em;">ホームへ</div>\r
20                 <%= javascript_include_tag "jquery-1.6.2.min" %>\r
21                 <%= javascript_include_tag "system" %>\r
22                 <% if current_user %>\r
23 \r
24                   <script type="text/javascript">\r
25                     current_author = {\r
26                       id: <%= @author ? @author.id : 0 %>,\r
27                       name: "<%= @author ? h(@author.name) : '' %>"\r
28                     }\r
29                     <% if @artist and @artist.id %>\r
30                       current_artist = {\r
31                         id: <%= @artist.id %>,\r
32                         name: "<%= h(@artist.name) %>"\r
33                       }\r
34                     <% end %>\r
35                   </script>\r
36                 <% end %>\r
37                 <%= javascript_include_tag "peta.common" %>\r
38                 <%= javascript_include_tag "peta.apps" %>\r
39                 <%= javascript_include_tag "pongame" %>\r
40         </body>\r
41 </html>\r