Sha256: 9417eb4bd9089082cbb5b394524b77614dd47e777cce4d382c5afff90c901ca1
Contents?: true
Size: 1.49 KB
Versions: 195
Compression:
Stored size: 1.49 KB
Contents
<h1>Property Images and Files</h1> <p>MLS#: <%= @property.mls %></p> <p><input type='button' value='< Back to Property' onclick="window.location='/admin<%= @property.url %>/edit';" /></p> <h2>Images</h2> <div id='new_image'></div> <ul id="images"></ul><br style="clear: left" /> <h2>Files</h2> <div id='new_file'></div> <ul id="files"></ul><br style="clear: left" /> <% content_for :caboose_css do %> <style type="text/css"> #images { width: 100%; list-style: none; margin: 0; padding: 0; } #images li { background: #fff; position: relative; margin: 3px; padding: 4px; border: 1px solid gray; list-style: none; float: left; min-height: 140px; min-width: 100px; } #images li .sort_handle { float: left; } #images li .delete_handle { float: right; } #files { width: 100%; list-style: none; margin: 0; padding: 0; } #files li { background: #fff; position: relative; margin: 3px; padding: 4px; border: 1px solid gray; list-style: none; min-height: 20px; } #files li .sort_handle { float: left; margin-right: 4px; } #files li .delete_handle { float: right; } </style> <% end %> <% content_for :caboose_js do %> <%= javascript_include_tag "caboose_rets/admin_media" %> <script type='text/javascript'> var controller = false; $(document).ready(function() { controller = new MediaController({ mls: <%= @property.mls %>, auth_token: "<%= raw form_authenticity_token %>", cdn_domain: "d19w6hbyh7z79c.cloudfront.net", s3_domain: "s3.amazonaws.com/advantagerealtygroup" }); }); </script> <% end %>
Version data entries
195 entries across 195 versions & 1 rubygems