Orbit/app/views/admin/assets/index.html.erb

31 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2012-08-13 16:59:01 +00:00
<%= render 'filter' %>
<table id="asset_sort_list" class="table main-list">
<thead>
<tr>
<th class="span1"></th>
<th class="span4"></th>
<th class="span1-2"></th>
<th class="span1-2"></th>
<th class="span1-2"></th>
<th class="span1-2"></th>
<th class="span1-2"></th>
</tr>
</thead>
<tbody id="tbody_assets" class="sort-holder">
<%= render :partial => 'asset', :collection => @assets %>
</tbody>
</table>
2012-05-16 03:07:11 +00:00
<div class="form-actions form-fixed pagination-right">
2012-09-12 11:12:50 +00:00
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:add), new_admin_asset_path, :remote => true, :class => 'btn btn-primary pull-right' %>
2012-05-16 03:07:11 +00:00
<div id="asset_pagination" class="paginationFixed">
2012-05-16 22:28:29 +00:00
<%= paginate @assets, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil, :sort_options => params[:sort_options]}, :remote => true %>
2012-05-16 03:07:11 +00:00
</div>
</div>
<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "/static/jquery.cycle.all.latest.js" %>
<%= javascript_include_tag "inc/modal-preview" %>
<% end %>