OSDN Git Service

t#31301:rename action name
authoryasushiito <yas@pen-chan.jp>
Mon, 27 May 2013 05:12:25 +0000 (14:12 +0900)
committeryasushiito <yas@pen-chan.jp>
Mon, 27 May 2013 05:12:25 +0000 (14:12 +0900)
app/views/home/comics.html.erb [new file with mode: 0644]
app/views/home/ground_colors.html.erb [new file with mode: 0644]
app/views/home/ground_pictures.html.erb [new file with mode: 0644]
app/views/home/panel_colors.html.erb [new file with mode: 0644]
app/views/home/panel_pictures.html.erb [new file with mode: 0644]
app/views/home/panels.html.erb [new file with mode: 0644]
app/views/home/resource_pictures.html.erb [new file with mode: 0644]
app/views/home/stories.html.erb [new file with mode: 0644]

diff --git a/app/views/home/comics.html.erb b/app/views/home/comics.html.erb
new file mode 100644 (file)
index 0000000..c304a54
--- /dev/null
@@ -0,0 +1,9 @@
+<h1><%= t '.title' -%></h1>
+<p id="notice"><%= notice %></p>
+
+<table>
+  <% @comics.each do |comic| %>
+    <%= render 'comics/list_item', :comic => comic, :author => @author %>
+  <% end %>
+</table>
+<%= link_to t('comics.new.title'), new_comic_path %>
diff --git a/app/views/home/ground_colors.html.erb b/app/views/home/ground_colors.html.erb
new file mode 100644 (file)
index 0000000..962807e
--- /dev/null
@@ -0,0 +1,14 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th><%= t_m 'GroundColor.color_id' -%></th>
+    <th><%= t_m 'GroundColor.panel_id' -%></th>
+    <th><%= t_m 'GroundColor.z' -%></th>
+    <th><%= t_m 'GroundColor.updated_at' -%></th>
+  </tr>
+
+  <% @ground_colors.each do |gc| %>
+    <%= render 'ground_colors/list_item', :ground_color => gc, :author => @author %>
+  <% end -%>
+</table>
diff --git a/app/views/home/ground_pictures.html.erb b/app/views/home/ground_pictures.html.erb
new file mode 100644 (file)
index 0000000..dc5fafc
--- /dev/null
@@ -0,0 +1,19 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th><%= t_m 'GroundPicture.panel_id' -%></th>
+    <th><%= t_m 'GroundPicture.picture_id' -%></th>
+    <th><%=   -%></th>
+    <th><%= t_m 'GroundPicture.z' -%></th>
+    <th><%= t_m 'GroundPicture.repeat' -%></th>
+    <th><%= t_m 'GroundPicture.x' -%></th>
+    <th><%= t_m 'GroundPicture.y' -%></th>
+    <th><%= t_m 'GroundPicture.created_at' -%></th>
+    <th><%= t_m 'GroundPicture.updated_at' -%></th>
+  </tr>
+
+  <% @ground_pictures.each do |gp| %>
+    <%= render 'list_item', :ground_picture => gp %>
+  <% end -%>
+</table>
diff --git a/app/views/home/panel_colors.html.erb b/app/views/home/panel_colors.html.erb
new file mode 100644 (file)
index 0000000..1af79fc
--- /dev/null
@@ -0,0 +1,15 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th><%= t_m 'PanelColor.panel_id' -%></th>
+    <th><%= t_m 'PanelColor.code' -%></th>
+    <th><%= t_m 'PanelColor.z' -%></th>
+    <th><%= t_m 'PanelColor.created_at' -%></th>
+    <th><%= t_m 'PanelColor.updated_at' -%></th>
+  </tr>
+
+  <% @panel_colors.each do |pc| %>
+    <%= render 'list_item', :panel_color => pc %>
+  <% end -%>
+</table>
diff --git a/app/views/home/panel_pictures.html.erb b/app/views/home/panel_pictures.html.erb
new file mode 100644 (file)
index 0000000..abd6cf5
--- /dev/null
@@ -0,0 +1,16 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th><%= t_m 'PanelPicture.picture_id' -%></th>
+    <th><%=  -%></th>
+    <th><%= t_m 'PanelPicture.panel_id' -%></th>
+    <th><%= t_m 'PanelPicture.link' -%></th>
+    <th><%= t_m 'PanelPicture.caption' -%></th>
+    <th><%= t_m 'PanelPicture.updated_at' -%></th>
+  </tr>
+
+<% @panel_pictures.each do |panel_picture| %>
+  <%= render 'panel_pictures/list_item', :panel_picture => panel_picture %>
+<% end %>
+</table>
diff --git a/app/views/home/panels.html.erb b/app/views/home/panels.html.erb
new file mode 100644 (file)
index 0000000..e95104b
--- /dev/null
@@ -0,0 +1,9 @@
+<h1><%= t '.title' -%></h1>
+<p id="notice"><%= notice %></p>
+
+<% @panels.each do |panel| %>
+  <div>
+    <%= render 'panels/standard', :panel => panel, :author => @author %>
+  </div>
+<% end %>
+<%= link_to t('panels.new.title'), new_panel_path %>
diff --git a/app/views/home/resource_pictures.html.erb b/app/views/home/resource_pictures.html.erb
new file mode 100644 (file)
index 0000000..ead33de
--- /dev/null
@@ -0,0 +1,38 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <tr>
+    <th></th>
+    <th></th>
+    <th><%= t_m 'ResourcePicture.artist_id' -%></th>
+    <th><%= t_m 'ResourcePicture.ext' -%></th>
+    <th><%= t_m 'ResourcePicture.width' -%></th>
+    <th><%= t_m 'ResourcePicture.height' -%></th>
+    <th><%= t_m 'ResourcePicture.filesize' -%></th>
+  </tr>
+<% @resource_pictures.each do |resource_picture| %>
+  <tr>
+    <td>
+      <%= link_to tag(:img, resource_picture.tmb_opt_img_tag), resource_picture_path(resource_picture) %>
+    </td>
+    <td>
+      <%= render resource_picture.credit_template, :picture => resource_picture %>
+    </td>
+    <td>
+      <%= link_to(h(truncate(resource_picture.artist.name, :length => 8)), artist_path(resource_picture.artist)) %>
+    </td>
+    <td>
+      <%= h resource_picture.ext %>
+    </td>
+    <td>
+      <%= resource_picture.width %>px
+    </td>
+    <td>
+      <%= resource_picture.height %>px
+    </td>
+    <td>
+      <%= resource_picture.filesize %>bytes
+    </td>
+  </tr>
+<% end %>
+</table>
diff --git a/app/views/home/stories.html.erb b/app/views/home/stories.html.erb
new file mode 100644 (file)
index 0000000..47e0cac
--- /dev/null
@@ -0,0 +1,8 @@
+<h1><%= t '.title' -%></h1>
+
+<table>
+  <% @stories.each do |story| %>
+    <%= render 'stories/list_item', :story => story, :author => @author %>
+  <% end %>
+</table>
+<%= link_to t('stories.new.title'), new_story_path %>