~alcinnz/bureaucromancy

ref: c50beaf39632622f93f4c394b46a0167a7859f23 bureaucromancy/tpl/image-button.html -rw-r--r-- 575 bytes
c50beaf3 — Adrian Cochrane Start integrating internationalization infrastructure! 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}

{# NOTE: This is pretty much a legacy input type now.
   We should be sending x/y coordinates to the server,
   but that'd be frustrating to operate using e.g. a TV remote. #}

{%- block main -%}<section>
  <img src="{{ input.src }}" alt="{{ input.alt }}" title="{{ input.alt }}" />
  <div>{{ input.description }}</div>
  <hr />
  <!-- TODO: Internationalize! -->
  <p><a href="_{{Q}}">Upload</a> to
    <code>{{ input.form.action|default(form.action) }}
        ({{ input.form.method|default(form.method) }})</code></p>
</section>{%- endblock -%}