OSDN Git Service

1def757f12e72c356911ca538856c4f471a4a9f1
[pettanr/pettanr.git] / app / views / layouts / test.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                 <%= csrf_meta_tags %>\r
10                 <title>Pettanr</title>\r
11                 <%= stylesheet_link_tag "system.css" %>\r
12                 <%= stylesheet_link_tag "peta.common.css" %>\r
13         </head>\r
14         <body>\r
15                 <div>\r
16                         <% if user_signed_in? %>\r
17                         <%= link_to "my home", :controller => '/home' %>\r
18                         <%= link_to "sign out", destroy_user_session_path, :method => :delete %>\r
19                         <% else %>\r
20                         <%= link_to "sign in", new_user_session_path %>\r
21                         <% end %>\r
22                 </div>\r
23                 <div>\r
24                         <% if admin_signed_in? %>\r
25                         <%= link_to "system", :controller => '/system' %>\r
26                         <%= link_to "sign out", destroy_admin_session_path, :method => :delete %>\r
27                         <% else %>\r
28                         <%= link_to "sign in", new_admin_session_path %>\r
29                         <% end %>\r
30                 </div>\r
31                 <div>\r
32                         <p class="notice">\r
33                                 <%= notice %>\r
34                         </p>\r
35                         <p class="alert">\r
36                                 <%= alert %>\r
37                         </p>\r
38                         <%= link_to 'comics', comics_path %>\r
39                         <%= link_to 'panels', panels_path %>\r
40                         <%= link_to 'original_pictures', original_pictures_path %>\r
41                         <%= link_to 'resource_pictures', resource_pictures_path %>\r
42                         <%= link_to 'panel_pictures', panel_pictures_path %>\r
43                         <%= link_to 'speech_balloons', speech_balloons_path %>\r
44                         <%= link_to 'balloons', balloons_path %>\r
45                         <%= link_to 'speeches', speeches_path %>\r
46                         :\r
47                         <%= link_to 'speech_balloon_templates', speech_balloon_templates_path %>\r
48                         :\r
49                         <%= link_to 'artists', artists_path %>\r
50                         <%= link_to 'system_pictures', system_pictures_path %>\r
51                 </div>\r
52                 <%= yield %>\r
53         \r
54                 <div style="border:1px red solid;padding:10px;margin:10px;">[ESC] キーを押すと Metro ホームに入るよ.ホームの一番最後のタイルをクリックすると このページに戻るよ.</div>\r
55         \r
56                 <%= javascript_include_tag "jquery-1.6.2.min" %>\r
57                 <%= javascript_include_tag "system" %>\r
58                 <%= javascript_include_tag "peta.common" %>\r
59                 <%= javascript_include_tag "peta.apps" %>\r
60                 <%= javascript_include_tag "pongame" %>\r
61         </body>\r
62 </html>\r