Sha256: 49d06c0545a75d53bfeca4a2ed61ef39f57c6071d3fa2fb64cb5924e7fb834be
Contents?: true
Size: 1.5 KB
Versions: 76
Compression:
Stored size: 1.5 KB
Contents
<h1>Property Images and Files</h1> <p>MLS#: <%= @property.mls_acct %></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_acct: <%= @property.mls_acct %>, auth_token: "<%= raw form_authenticity_token %>", cdn_domain: "d19w6hbyh7z79c.cloudfront.net", s3_domain: "s3.amazonaws.com/advantagerealtygroup" }); }); </script> <% end %>
Version data entries
76 entries across 76 versions & 1 rubygems