summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-duration.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/ajax-duration.html')
-rw-r--r--static/website/templates/ajax-duration.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/website/templates/ajax-duration.html b/static/website/templates/ajax-duration.html
new file mode 100644
index 0000000..f89927b
--- /dev/null
+++ b/static/website/templates/ajax-duration.html
@@ -0,0 +1,16 @@
+{% load count_tags %}
+<div>
+<div id="minutes">
+ <option value="None">min</option>
+ {% for i in minutes|inc|get_range %}
+ <option value="{{ i }}-{{ i|inc }}">{{ i }}-{{ i|inc }} </option>
+ {% endfor %}
+</div> <!-- /#minutes -->
+
+<div id="seconds">
+ <option value="None">sec</option>
+ {% for i in seconds|get_range:"0,10" %}
+ <option value="{{ i }}">{{ i }}-{{ i|add:"10" }} </option>
+ {% endfor %}
+</div> <!-- /#seconds -->
+</div> <!-- /required for ajax -->