playlistShorten/urlweb/templates/shortener/submit_success.html

30 lines
520 B
HTML
Raw Normal View History

2011-07-20 15:25:26 +00:00
{% extends "base.html" %}
{% block title %}URL shortened{% endblock %}
{% block content %}
The following URL:<br/>
<pre>
{{ link.url }}
</pre>
<br/>
Was shortened to:<br/>
<input id="link" type="text" size="30"
value="{{ link.short_url }}"/>
<br/>
<br/>
Score: {{ link.usage_count }}
(<a href="{% url shortener.views.info link.to_base62 %}">Info</a>)
<br/>
<br/>
{% endblock %}
{% block extra_body %}
<script>
$(document).ready(
function() {
$("#link").focus().select();
});
</script>
{% endblock %}