Changed the UI of creating custom tokens
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
<form method="POST" action="" class="url-form">
|
||||
<h1>< URL Shortener ></h1>
|
||||
{{ form.hidden_tag() }}
|
||||
{{ form.url(placeholder="Enter the URL here", autofocus=true, class="feedback-input") }}
|
||||
{{ form.token(placeholder="Enter the token (optional)", class="feedback-input") }}
|
||||
<div class="tooltip">
|
||||
What's a token?
|
||||
<span class="tooltiptext"><p>tiny0.cc/token</p><p>Token must be between 6 and 16 characters long</p><p>It can only contain letters, numbers, underscores(_) and dashes(-)</p></span>
|
||||
{{ form.url(placeholder="Enter the URL here", autofocus=true, class="feedback-input") }}
|
||||
<div class="token">
|
||||
<h3>tiny0.cc/</h3>
|
||||
{{ form.token(placeholder="Use custom alias (optional)", class="feedback-input") }}
|
||||
</div>
|
||||
{{ form.submit(class="button") }}
|
||||
{% if form.errors %}
|
||||
|
||||
Reference in New Issue
Block a user