OSDN Git Service

marge client version 0.5.2.
[pettanr/pettanr.git] / app / views / layouts / system.html.erb
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html xmlns:v="urn:schemas-microsoft-com:vml">
3         <head>
4                 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5                 <meta http-equiv="Content-Language" content="ja">
6                 <meta http-equiv="Content-Script-Type" content="text/javascript">
7                 <meta http-equiv="Content-Style-Type" content="text/css">
8                 <meta http-equiv="imagetoolbar" content="no">
9                 <%= csrf_meta_tags %>
10                 <title>Pettanr</title>
11                 <%= stylesheet_link_tag "system.css" %>
12                 <%= stylesheet_link_tag "peta.common.css" %>
13         </head>
14         <body>
15                 <a href="/">ぺったんR</a>
16                 <div>
17                         <% if user_signed_in? %>
18                         <%= link_to "my home", :controller => '/home' %>
19                         <%= link_to "ログアウト", destroy_user_session_path, :method => :delete %>
20                         <% else %>
21                         <%= link_to "ログイン", new_user_session_path %>
22                         <% end %>
23                 </div>
24                 <div>
25                         <% if admin_signed_in? %>
26                         <%= link_to "system", :controller => '/system' %>
27                         <%= link_to "ログアウト", destroy_admin_session_path, :method => :delete %>
28                         <% else %>
29                         <%= link_to "管理者", new_admin_session_path %>
30                         <% end %>
31                 </div>
32                 <div>
33                         <p class="notice">
34                                 <%= notice %>
35                         </p>
36                         <p class="alert">
37                                 <%= alert %>
38                         </p>
39                 </div>
40                 <div>
41                         <%= link_to "browse", :controller => '/system', :action => :browse%>
42                         <%= link_to "approve", :controller => '/system', :action => :waiting_list%>
43                         <%= link_to "token", :controller => '/system', :action => :auth_token%>
44                 </div>
45                 <%= yield %>
46         
47         <div style="border:1px red solid;padding:10px;margin:10px;">[ESC] キーを押すと Metro ホームに入るよ.ホームの一番最後のタイルをクリックすると このページに戻るよ.</div>
48         
49                 <%= javascript_include_tag "jquery-1.6.2.min" %>
50                 <%= javascript_include_tag "system" %>
51                 <%= javascript_include_tag "peta.common" %>
52                 <%= javascript_include_tag "peta.apps" %>
53                 <%= javascript_include_tag "pongame" %>
54         </body>
55 </html>