diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-12-12 23:56:55 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-12-12 23:56:55 +0200 |
commit | ead9662f6c3a0dfa77bf64c92c215f3e8367f902 (patch) | |
tree | bbbb247ab7324dcc786fd442a4c98b26af3d19e6 /servo/templates | |
parent | 8b336df1628fe16c5c068002e543e22a51f75da5 (diff) | |
download | Servo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.tar.gz Servo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.tar.bz2 Servo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.zip |
Added example xlsx file
Diffstat (limited to 'servo/templates')
-rwxr-xr-x | servo/templates/devices/upload_devices.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/servo/templates/devices/upload_devices.html b/servo/templates/devices/upload_devices.html index 1d30242..04cdc47 100755 --- a/servo/templates/devices/upload_devices.html +++ b/servo/templates/devices/upload_devices.html @@ -1,9 +1,7 @@ {% extends "modal.html" %} {% load i18n %} -{% block header %} -{% trans "Upload devices" %} -{% endblock header %} +{% block header %}{{ title }}{% endblock header %} {% block body %} <form action="{{ action }}" method="post" enctype="multipart/form-data" class="form-horizontal"> @@ -11,3 +9,8 @@ {% include "form_snippet.html" %} </form> {% endblock body %} + +{% block footer %} + <a class="btn btn-default" href="{{ STATIC_URL }}/examples/upload_devices.xlsx">{% trans "Download example" %}</a> + <button type="submit" class="btn btn-primary">{% trans "Submit" %}</button> +{% endblock footer %}
\ No newline at end of file |