OSDN Git Service

temp
[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     </td>
57     <td width="200px" align="center" valign="middle">
58     </td>
59   </tr>
60 </table>
61 <% if @operators.artist -%>
62   <h2><%= link_to h(@operators.artist.name), main_app.artist_path(@operators.artist) -%></h2>
63   <h3><%= t('.updated_picture') -%></h3>
64   <table>
65     <tr height="100px">
66       <td width="200px" align="center" valign="middle">
67         <%= link_to t_m('OriginalPicture'), main_app.original_pictures_path %>
68         <%= link_to t('*'), new_original_picture_path %>
69       </td>
70       <td width="200px" align="center" valign="middle">
71         <%= link_to t_m('ResourcePicture'), '/home/resource_pictures' %>
72       </td>
73       <td width="200px" align="center" valign="middle">
74         <%=  %>
75       </td>
76       <td width="200px" align="center" valign="middle">
77         <%=  %>
78       </td>
79     </tr>
80   </table>
81 <% else -%>
82   <h2><%= t('.artist') -%></h2>
83   <h3><%= t('.updated_picture') -%></h3>
84   <h3><%= link_to t('.not_artist'), main_app.new_artist_path -%></h2>
85 <% end -%>