aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xservo/templates/devices/upload_devices.html9
-rw-r--r--static/examples/upload_devices.xlsxbin0 -> 28977 bytes
2 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
diff --git a/static/examples/upload_devices.xlsx b/static/examples/upload_devices.xlsx
new file mode 100644
index 0000000..fe0d11a
--- /dev/null
+++ b/static/examples/upload_devices.xlsx
Binary files differ