OSDN Git Service

54accf3ef6c796070cb06d6ebce184d3faa05591
[pettanr/pettanr.git] / app / views / home / index.html.erb
1 <h1><%= t '.title' -%></h1>
2 <h2><%= link_to h(@operators.author.name), main_app.author_path(@operators.author) -%></h2>
3 <h3><%= t('.updated_scroll') -%></h3>
4 <table>
5   <tr height="100px">
6     <td width="200px" align="center" valign="middle">
7       <%= link_to t_m('Scroll'), '/home/scrolls' %>
8       <%= link_to t('*'), new_scroll_path %>
9     </td>
10     <td width="200px" align="center" valign="middle">
11       <%= link_to t_m('ScrollPanel'), '/home/scroll_panels' %>
12       <%= link_to t('*'), new_scroll_panel_path %>
13     </td>
14     <td width="200px" align="center" valign="middle">
15       <%= link_to t_m('Comic'), '/home/comics' %>
16       <%= link_to t('*'), new_comic_path %>
17     </td>
18     <td width="200px" align="center" valign="middle">
19       <%= link_to t_m('Story'), '/home/stories' %>
20       <%= link_to t('*'), new_story_path %>
21     </td>
22   </tr>
23   <tr height="100px">
24     <td width="200px" align="center" valign="middle">
25       <%= link_to t_m('StorySheet'), '/home/story_sheets' %>
26       <%= link_to t('*'), new_story_sheet_path %>
27     </td>
28     <td width="200px" align="center" valign="middle">
29       <%= link_to t_m('Sheet'), '/home/sheets' %>
30       <%= link_to t('*'), new_sheet_path %>
31     </td>
32     <td width="200px" align="center" valign="middle">
33       <%= link_to t_m('SheetPanel'), '/home/sheet_panels' %>
34       <%= link_to t('*'), new_sheet_panel_path %>
35     </td>
36     <td width="200px" align="center" valign="middle">
37       <%= link_to t_m('Panel'), '/home/panels' %>
38       <%= link_to t('*'), new_panel_path %>
39     </td>
40   </tr>
41 </table>
42 <h3><%= t('.used_element') -%></h3>
43 <table>
44   <tr height="100px">
45     <td width="200px" align="center" valign="middle">
46       <%= link_to t_m('PanelPicture'), '/home/panel_pictures' %>
47     </td>
48     <td width="200px" align="center" valign="middle">
49       <%= link_to t_m('SpeechBalloon'), '/home/speech_balloons' %>
50     </td>
51     <td width="200px" align="center" valign="middle">
52       <%= link_to t_m('GroundPicture'), '/home/ground_pictures' %>
53     </td>
54     <td width="200px" align="center" valign="middle">
55       <%= link_to t_m('GroundColor'), '/home/ground_colors' %>
56       <%= link_to t('*'), new_ground_color_path %>
57     </td>
58     <td width="200px" align="center" valign="middle">
59     </td>
60   </tr>
61 </table>
62 <% if @operators.artist -%>
63   <h2><%= link_to h(@operators.artist.name), main_app.artist_path(@operators.artist) -%></h2>
64   <h3><%= t('.updated_picture') -%></h3>
65   <table>
66     <tr height="100px">
67       <td width="200px" align="center" valign="middle">
68         <%= link_to t_m('OriginalPicture'), main_app.original_pictures_path %>
69         <%= link_to t('*'), new_original_picture_path %>
70       </td>
71       <td width="200px" align="center" valign="middle">
72         <%= link_to t_m('ResourcePicture'), '/home/resource_pictures' %>
73       </td>
74       <td width="200px" align="center" valign="middle">
75         <%=  %>
76       </td>
77       <td width="200px" align="center" valign="middle">
78         <%=  %>
79       </td>
80     </tr>
81   </table>
82 <% else -%>
83   <h2><%= t('.artist') -%></h2>
84   <h3><%= t('.updated_picture') -%></h3>
85   <h3><%= link_to t('.not_artist'), main_app.new_artist_path -%></h2>
86 <% end -%>