1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
7 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
8 <meta http-equiv="Content-Script-Type" content="text/javascript" />
9 <meta http-equiv="Content-Style-Type" content="text/css" />
10 <%= google_jsapi_tag %>
11 <%= google_load_tag 'jquery', '1.3' %>
12 <%= google_load_tag 'jqueryui', '1.7' %>
13 <%= javascript_include_tag 'jquery.ui.datepicker-ja' %>
14 <%= javascript_include_tag 'jquery.json-2.2' %>
15 <%= javascript_include_tag 'application' %>
17 <%- javascript_tag do -%>
19 window._token = "<%= form_authenticity_token() %>";
23 <%= stylesheet_link_tag 'base' %>
24 <%= stylesheet_link_tag 'mint' %>
25 <%= stylesheet_link_tag 'jquery-ui-1.7.2.custom' %>
26 <%= yield :stylesheet %>
27 <%= yield :multi_auth_additional_head %>
28 <title>Mint - <%= @title %></title>
29 <script type="text/javascript">
31 jQuery(document).ready(function(){
32 if (navigator.cookieEnabled) {
33 $("#cookie_check").hide();
35 $("#cookie_check").show();
45 <%= link_to image_tag('mint_logo003.jpg'), '/' %>
50 <li><%= link_to 'Home', root_path %></li>
52 <li><%= link_to 'Reports', :controller => 'reports' %></li>
53 <li><%= link_to 'Settings', settings_path %></li>
54 <li><%= link_to 'Logout', { :controller => '/auth', :action => 'logout' }, :method => :post %></li>
56 <li><%= link_to 'Signup', :controller => '/signup' %></li>
57 <li><%= link_to 'Login', :controller => '/auth' %></li>
59 <li><%= link_to 'Help', help_path %></li>
60 <%- show_to :admin do -%>
61 <%= link_to "admin", :controller => "/admin" %>
68 <%- if current_user.have_profile? -%>
69 <p><%= current_user.affiliation.try(:name) %></p>
70 <p><%= current_user.name %></p>
73 <%= link_to 'ユーザ情報', user_path %> からあなたの設定を確認してください。
74 名前やメールアドレスを設定していない場合は、レポートにそれらが出力されません。
78 <%- ProblemGroup.all(:order => 'position').each do |g| -%>
79 <li><%= link_to g.label, :controller => "/problems", :action => "quiz", :id => g %></li>
85 <div id="rightcolumn">
86 <div id="cookie_check" style="display:none">
87 <%=h("Please enable cookie.") %>
90 <%=h("Please enable javascript and cookie.") %>
92 <div class="notice"><p><%= flash[:notice] %></p></div>
93 <div class="error"><p><%= flash[:error] %></p></div>
99 <p>Powered by <%= link_to 'Mint', "http://sourceforge.jp/projects/mint/simple/" %></p>
103 <%- javascript_tag do -%>