Files
danbooru/app/views/static/bookmarklet.html.erb
evazion 68ba447494 uploads: remove batch upload page.
* Make /uploads/batch redirect to /uploads/new.
* Remove /uploads/image_proxy.
2022-02-21 00:03:43 -06:00

16 lines
494 B
Plaintext

<% page_title "Upload Bookmarklet" %>
<div id="c-static">
<div id="a-bookmarklet">
<h1>Bookmarklet</h1>
<p>
<%= link_to "Post to #{Danbooru.config.app_name}", "javascript:location.href='#{request.protocol + request.host_with_port}/uploads/new?url='+encodeURIComponent(location.href)+'&ref='+encodeURIComponent(document.referrer)" %>
</p>
<div class="prose">
<%= format_text(WikiPage.find_by_title("help:bookmarklet_notice")&.body) %>
</div>
</div>
</div>