Sha256: 569516fdac71713fba25e45c016938f3db0d873c98bd5d1b6e9a38ac2fc8d64b
Contents?: true
Size: 1.17 KB
Versions: 24
Compression:
Stored size: 1.17 KB
Contents
<div class="w-full h-full mt-8" data-controller="screenshot" data-screenshot-url-value="<%= create_section_screenshot_path(@section) %>" > <div class="my-4 flex items-center justify-between"> <%= link_to theme_path, class: 'text-gray-600' do %> <span>← Back to the theme</span> <% end %> <div class="flex"> <%= link_to section_iframe_preview_in_iframe_path(@section), class: 'bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-600 focus:ring-opacity-50 rounded text-white py-2 px-3 mr-6', target: '_blank' do %> Open in a new tab <% end %> <button class="bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-600 focus:ring-opacity-50 rounded text-white py-2 px-3" data-action="click->screenshot#take" > Take screenshot </button> </div> </div> <iframe src="<%= section_iframe_preview_in_iframe_path(@section) %>" class="w-full h-full bg-white" data-screenshot-target="source" data-controller="iframe" > </iframe> <div class="mt-4"> <img data-screenshot-target="output" class="" /> </div> </div>
Version data entries
24 entries across 24 versions & 1 rubygems