OSDN Git Service

t#29796:update licensing views
[pettanr/pettanr.git] / app / views / layouts / system.html.erb
index 44e2df4..97ced9d 100644 (file)
@@ -1,55 +1,40 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html xmlns:v="urn:schemas-microsoft-com:vml">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-               <meta http-equiv="Content-Language" content="ja">
-               <meta http-equiv="Content-Script-Type" content="text/javascript">
-               <meta http-equiv="Content-Style-Type" content="text/css">
-               <meta http-equiv="imagetoolbar" content="no">
-               <%= csrf_meta_tags %>
-               <title>Pettanr</title>
-               <%= stylesheet_link_tag "system.css" %>
-               <%= stylesheet_link_tag "peta.common.css" %>
-       </head>
-       <body>
-               <a href="/">ぺったんR</a>
-               <div>
-                       <% if user_signed_in? %>
-                       <%= link_to "my home", :controller => '/home' %>
-                       <%= link_to "ログアウト", destroy_user_session_path, :method => :delete %>
-                       <% else %>
-                       <%= link_to "ログイン", new_user_session_path %>
-                       <% end %>
-               </div>
-               <div>
-                       <% if admin_signed_in? %>
-                       <%= link_to "system", :controller => '/system' %>
-                       <%= link_to "ログアウト", destroy_admin_session_path, :method => :delete %>
-                       <% else %>
-                       <%= link_to "管理者", new_admin_session_path %>
-                       <% end %>
-               </div>
-               <div>
-                       <p class="notice">
-                               <%= notice %>
-                       </p>
-                       <p class="alert">
-                               <%= alert %>
-                       </p>
-               </div>
-               <div>
-                       <%= link_to "browse", :controller => '/system', :action => :browse%>
-                       <%= link_to "approve", :controller => '/system', :action => :waiting_list%>
-                       <%= link_to "token", :controller => '/system', :action => :auth_token%>
-               </div>
-               <%= yield %>
-        
-        <div style="border:1px red solid;padding:10px;margin:10px;">[ESC] キーを押すと Metro ホームに入るよ.ホームの一番最後のタイルをクリックすると このページに戻るよ.</div>
-        
-               <%= javascript_include_tag "jquery-1.6.2.min" %>
-               <%= javascript_include_tag "system" %>
-               <%= javascript_include_tag "peta.common" %>
-               <%= javascript_include_tag "peta.apps" %>
-               <%= javascript_include_tag "pongame" %>
-       </body>
+<!DOCTYPE html>
+<html>
+<head>
+  <title>Pettanr</title>
+  <%= stylesheet_link_tag    "application" %>
+  <%= javascript_include_tag "application" %>
+  <%= csrf_meta_tags %>
+</head>
+<body>
+
+<a href="/">ぺったんR</a>
+<div>
+<% if user_signed_in? %>
+  <%= link_to "my home", '/home' %>
+  <%= link_to "ログアウト", main_app.destroy_user_session_path, :method => :delete %>
+<% else %>
+  <%= link_to "ログイン", main_app.new_user_session_path %>
+<% end %>
+</div>
+<div>
+<% if admin_signed_in? %>
+  <%= link_to "system", '/system' %>
+  <%= link_to "ログアウト", main_app.destroy_admin_session_path, :method => :delete %>
+<% else %>
+  <%= link_to "管理者", main_app.new_admin_session_path %>
+<% end %>
+</div>
+<div>
+ <p class="notice"><%= notice %></p>
+ <p class="alert"><%= alert %></p>
+</div>
+<div>
+  <%= link_to "browse", '/system/browse' %>
+  <%= link_to "approve", '/system/waiting_list' %>
+  <%= link_to "token", '/system/auth_token' %>
+</div>
+<%= yield %>
+
+</body>
 </html>