alpaca/alpaca_viewer/templates/viewer.html

17 lines
452 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Alpaca</title>
<link href="/static/admin/css/style.css" rel="stylesheet" />
</head>
<body>
<div class="alpaca-image">
{% if alpaca %}
<a href="{% url viewer %}"><img src="{{ alpaca.url }}" {% if alpaca.alt %}alt="{{ alpaca.alt }}" {% endif %}/></a>
{% else %}
No alpaca :(
{% endif %}
</div>
</body>
<html>