aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-12-12 23:56:55 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-12-12 23:56:55 +0200
commitead9662f6c3a0dfa77bf64c92c215f3e8367f902 (patch)
treebbbb247ab7324dcc786fd442a4c98b26af3d19e6 /servo
parent8b336df1628fe16c5c068002e543e22a51f75da5 (diff)
downloadServo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.tar.gz
Servo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.tar.bz2
Servo-ead9662f6c3a0dfa77bf64c92c215f3e8367f902.zip
Added example xlsx file
Diffstat (limited to 'servo')
-rwxr-xr-xservo/templates/devices/upload_devices.html9
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