Currently serving freshly prepared alpacas.
This commit is contained in:
16
alpaca_viewer/templates/viewer.html
Normal file
16
alpaca_viewer/templates/viewer.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user