Sha256: 72960d05c7546d43f8c39f65adf895ca89fd46e1316adcb5aad0b542cd3cf402

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

<script type="text/javascript" charset="utf-8">
function sendBackToCkeditor(fileUrl){
  window.opener.CKEDITOR.tools.callFunction( <%= params["CKEditorFuncNum"] %> , fileUrl );
  return window.close();
}
</script>

<div class="gallery mb1" id="photos">  
  <%= link_to "javascript:void(0);", :class => "btn btn-success",  :"data-toggle" => "collapse", :"data-target" => "#photo-uploader" do %>
    <i class="icon-upload icon-white"></i> <%= t('fullstack.admin.upload', :default => "Upload") %>
  <% end %>

    <div  id="photo-uploader" class="photo-uploader collapse"
        data-session-key="<%= request.session_options[:key] %>"
        data-session-id="<%= request.session_options[:id] %>"
        data-url="<%= admin_ckeditor_pictures_path %>">
    </div>

    <h4 class="page-header"><%= t('fullstack.admin.resources.photos', :default => "Photos") %> <span class="badge counter"><%= @assets.size %></span></h4>

<ul class="thumbnails">
  <% @assets.each do |asset| %>
      <%= render :partial => "picture", :locals => { :picture => asset } %>
  <% end %>
</div>

</div>

<div>
  <%= paginate(@assets) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-ckeditor-0.1.4 app/views/admin/ckeditor/pictures/index.html.erb
fullstack-ckeditor-0.1.3 app/views/admin/ckeditor/pictures/index.html.erb