Skip to content

Commit

Permalink
Merges in one line the html embed code to copy paste
Browse files Browse the repository at this point in the history
  • Loading branch information
numeroteca committed Jun 19, 2014
1 parent 734e58b commit afdf228
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/views/coding/display.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,7 @@
<%= link_to "Add Collaborators", "/threads/#{@thread.thread_name}/edit/#collaborators" , :class => "btn" %>
<% end %>
<h5>Embed Code </h5>
<input id="embed_code" type="text" class="span3"
value="<div id='wrap' style='width: 100%; height: 490px; padding: 0; overflow: hidden;'>
<iframe style='width: 1280px; height: 700px; -ms-zoom: 0.68; -transform: scale(0.68);-moz-transform: scale(0.68);
-moz-transform-origin: 0 0; -o-transform: scale(0.68);-o-transform-origin: 0 0; -webkit-transform: scale(0.68);
-webkit-transform-origin: 0 0;max-width: none; overflow: hidden; border: 1px solid white;'
src='http://<%=request.host %>/<%=@thread.owner.username.split(' ').join('_') %>/<%=@thread.thread_name %>/embed'></iframe></div>"
rel="tooltip" title="Copy + Paste">
<input id="embed_code" type="text" class="span3" value="<div id='wrap' style='width: 100%; height: 490px; padding: 0; overflow: hidden;'><iframe style='width: 1280px; height: 700px; -ms-zoom: 0.68; -transform: scale(0.68);-moz-transform: scale(0.68);-moz-transform-origin: 0 0; -o-transform: scale(0.68);-o-transform-origin: 0 0; -webkit-transform: scale(0.68);-webkit-transform-origin: 0 0;max-width: none; overflow: hidden; border: 1px solid white;' src='http://<%=request.host %>/<%=@thread.owner.username.split(' ').join('_') %>/<%=@thread.thread_name %>/embed'></iframe></div>" rel="tooltip" title="Copy + Paste">
</div>
</div>
</div>
Expand Down

0 comments on commit afdf228

Please sign in to comment.