c6e2b026e6
- added backlink to pasta page - added link on QR SVG to its destination - 404 if incorrect id - QR code of URL pasta will now redirect to /url endpoint
29 lines
No EOL
588 B
HTML
29 lines
No EOL
588 B
HTML
{% include "header.html" %}
|
|
|
|
<div style="float: left">
|
|
<a href="{{ args.public_path }}/pasta/{{pasta.id_as_animals()}}">Back to Pasta</a>
|
|
</div>
|
|
|
|
|
|
<div style="text-align: center; padding: 3rem;">
|
|
{% if pasta.pasta_type == "url" %}
|
|
<a href="{{ args.public_path }}/url/{{pasta.id_as_animals()}}">
|
|
{{qr}}
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ args.public_path }}/pasta/{{pasta.id_as_animals()}}">
|
|
{{qr}}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<style>
|
|
.copy-text-button,
|
|
.copy-url-button {
|
|
font-size: small;
|
|
padding: 4px;
|
|
width: 6rem;
|
|
}
|
|
</style>
|
|
|
|
{% include "footer.html" %} |