OSDN Git Service

905f1f19f530a9d44cdd494ec2737b3a3200d6fb
[pettanr/pettanr.git] / app / views / layouts / test.html.erb
1 <!DOCTYPE html>\r
2 <html>\r
3 <head>\r
4   <title>Pettanr</title>\r
5   <%= stylesheet_link_tag    "application" %>\r
6   <%= javascript_include_tag "application" %>\r
7   <%= csrf_meta_tags %>\r
8 </head>\r
9 <body>\r
10 \r
11 <div>\r
12 <% if user_signed_in? %>\r
13   <%= link_to "my home", :controller => '/home' %>\r
14   <%= link_to "sign out", destroy_user_session_path, :method => :delete %>\r
15 <% else %>\r
16   <%= link_to "sign in", new_user_session_path %>\r
17 <% end %>\r
18 </div>\r
19 <div>\r
20 <% if admin_signed_in? %>\r
21   <%= link_to "system", :controller => '/system' %>\r
22   <%= link_to "sign out", destroy_admin_session_path, :method => :delete %>\r
23 <% else %>\r
24   <%= link_to "sign in", new_admin_session_path %>\r
25 <% end %>\r
26 </div>\r
27 <div>\r
28  <p class="notice"><%= notice %></p>\r
29  <p class="alert"><%= alert %></p>\r
30 <%= link_to 'comics', comics_path %>\r
31 <%= link_to 'panels', panels_path %>\r
32 <%= link_to 'original_pictures', original_pictures_path %>\r
33 <%= link_to 'resource_pictures', resource_pictures_path %>\r
34 <%= link_to 'panel_pictures', panel_pictures_path %>\r
35 <%= link_to 'balloons', balloons_path %>\r
36 <%= link_to 'speeches', speeches_path %>\r
37  : \r
38 <%= link_to 'speech_balloons', speech_balloons_path %>\r
39 <%= link_to 'balloon_templates', balloon_templates_path %>\r
40 <%= link_to 'speech_templates', speech_templates_path %>\r
41  : \r
42 <%= link_to 'artists', artists_path %>\r
43 <%= link_to 'system_pictures', system_pictures_path %>\r
44 </div>\r
45 <%= yield %>\r
46 \r
47 </body>\r
48 </html>\r