Added a original url lookup
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block body %}
|
||||
<div class="url-form">
|
||||
<h1>< Original URL ></h1>
|
||||
<input type="text" value="{{ url }}" id="url" class="feedback-input" readonly>
|
||||
<button onclick="copyURL()" class="button">Copy</button>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
function copyURL() {
|
||||
var url = document.getElementById("url");
|
||||
url.select();
|
||||
url.setSelectionRange(0, 99999)
|
||||
document.execCommand("copy");
|
||||
}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user