Changed the styling of all the pages

This commit is contained in:
xemeds
2020-08-24 15:25:42 +03:00
parent e65f43e401
commit d5a591317d
10 changed files with 308 additions and 317 deletions
+14 -9
View File
@@ -1,13 +1,18 @@
{% extends "layout.html" %}
{% block body %}
<div class="url-form">
<ul class='input-list'>
<li><input type="text" value="{{ url }}" id="url" class="url" readonly></li>
<li><button onclick="copyURL()" class="button">Copy</button></li>
</ul>
</div>
<div class="click-tracker">
<a href="{{ url_for('tracker') }}">Click Tracker</a>
</div>
<div class="url-form">
<h1>&#60 Short URL &#62</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 %}