From 6cbd0f874c9d11e7f1883f804a069e1478673389 Mon Sep 17 00:00:00 2001 From: yanxd Date: Fri, 14 Mar 2014 17:29:45 +0800 Subject: [PATCH] =?UTF-8?q?store=20table=E7=94=A8div=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/stores/index.html.erb | 47 ++++++++++++++++++--------------- public/stylesheets/nyan.css | 43 ++++++++++++++++++++++-------- 2 files changed, 58 insertions(+), 32 deletions(-) diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index 4df1b8239..8ad37f504 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -8,28 +8,33 @@

<%= @str_arr.shift %>

- - - - - - - - - - <% k.each do |c1|%> - - - - - - <% end %> - -
<%=l(:label_attachment)%><%=l(:field_downloads)%><%=l(:button_download)%>
<%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> <%= c1.downloads %> - <%= link_to_attachment c1, {:download => true, :text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%> -
+ +
+
+
<%=l(:label_attachment)%>
+
<%=l(:field_downloads)%>
+
<%=l(:button_download)%>
+
+
+ +
+ <% k.each do |c1|%> +
+
+ <%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> +
+
+ <%= c1.downloads %> +
+
+ <%= link_to_attachment c1, {:download => true, :text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%> +
+
+ <% end -%> +
+ -<% reset_cycle; end %> +<% end; reset_cycle %>