Sha256: 99d81df685e32ad6e54aff4f41b9c4fba7320c7138496ad0c6de73b69beb13d9

Contents?: true

Size: 1.83 KB

Versions: 76

Compression:

Stored size: 1.83 KB

Contents

<h1>Media</h1>

<div id='left_content' class='hide-products'>
  <div id='categories'></div>
  <div id='controls'></div>
</div>
<div id='right_content'>
  <div id='uploader'></div>
  <div id='media'></div>
</div>

<% content_for :caboose_css do %>
<%= stylesheet_link_tag 'caboose/admin_media_index' %>
<%= stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/plupload/2.1.3/jquery.ui.plupload/css/jquery.ui.plupload.css' %>
<% end %>

<% content_for :caboose_js do %>
<%= javascript_include_tag 'caboose/model/all' %>
<%= javascript_include_tag 'caboose/admin_media_index.js' %>
<%= javascript_include_tag 'caboose/jquery-ui.drag-multiple.min.js' %>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/plupload/2.1.3/plupload.full.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/plupload/2.1.3/jquery.ui.plupload/jquery.ui.plupload.min.js"></script>

<script type="text/javascript" src="http://feather.aviary.com/imaging/v2/editor.js"></script>
<script type="text/javascript">

var controller = false;
$(document).ready(function() {
  controller = new MediaController({
    top_cat_id: <%= raw Caboose.json(@media_category ? @top_media_category.id : false) %>,
    cat_id: <%= raw Caboose.json(@media_category ? @media_category.id : false) %>,
    s3_upload_url: '<%= raw @s3_upload_url %>',		      		  	
	  aws_access_key_id: '<%= raw @aws_access_key_id %>',		
	  policy: '<%= raw @policy %>',
	  signature: '<%= raw @signature %>',
	  refresh_unprocessed_images: true,
    allow_edit: true,
    assets_path: "<%= Rails.env.production? ? ('https://' + Caboose::cdn_domain + '/assets/') : '/assets/' %>"
  });
});

</script>
<% end %>

<%
# Adobe Image Editor SDK Credentials
# CLIENT SECRETf42be039-1af0-41d8-89bb-fdebdb557d3d
# CLIENT ID (DEVELOPMENT MODE)*933414ee42934e8b81d8cd2226a5a13b
%>

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
caboose-cms-1.0.2 app/views/caboose/media/admin_index.html.erb
caboose-cms-1.0.1 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.228 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.227 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.226 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.225 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.224 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.223 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.222 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.221 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.220 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.219 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.218 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.217 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.216 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.215 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.214 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.213 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.212 app/views/caboose/media/admin_index.html.erb
caboose-cms-0.9.211 app/views/caboose/media/admin_index.html.erb