- template list/show is loaded from central server

- buy a template downloads and creates it in DB
- changes in designs index
This commit is contained in:
chris committed 2012-12-06 23:20:27 +08:00
1 parent eb53343bdb
commit 6f1748d2b3
12 files changed
+195 -96

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
<tr class="with_action">
<td><%= check_box_tag 'to_delete[]', design.id, false, :class => "checkbox_in_list" %></td>
<td>
<td class="span1"><%= check_box_tag 'to_delete[]', design.id, false, :class => "checkbox_in_list" %></td>
<td class="span2">
<%= design.title %>
<div class="quick-edit">
<ul class="nav nav-pills hide">
@@ -9,6 +9,6 @@
</ul>
</div>
</td>
<td><%= design.author %></td>
<td><%= design.intro %></td>
<td class="span7"><%= design.intro %></td>
<td class="span2"><%= design.author %></td>
</tr>
+1 -1
View File
@@ -1,8 +1,8 @@
<thead>
<tr>
<th class="span1 strong"></th>
<th class="span7"></th>
<th class="span2"></th>
<th class="span7"></th>
<th class="span2"></th>
</tr>
</thead>
@@ -1,4 +1,4 @@
<%= render_sort_bar(true, delete_admin_designs_path(:direction => params[:direction], :sort => params[:sort], :sort_options => params[:sort_options]),
['title', 'title','span7', :title],
['author', 'author', 'span2', :author],
['intro', 'intro', 'span2', :intro]).html_safe %>
['title', 'title','span2', :title],
['intro', 'intro', 'span7', :intro],
['author', 'author', 'span2', :author]).html_safe %>