From 5e711f079121e0b9e958261df4aafcf568cb62cf Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 26 Mar 2019 13:35:17 +0000 Subject: First working version of complete annotation functionality --- app/templates/annotate/index.html | 139 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 133 insertions(+), 6 deletions(-) (limited to 'app/templates/annotate') diff --git a/app/templates/annotate/index.html b/app/templates/annotate/index.html index 1805d95..6a34f61 100644 --- a/app/templates/annotate/index.html +++ b/app/templates/annotate/index.html @@ -7,14 +7,65 @@ {% block app_content %}

{{ task.dataset.name }}

+ +
+
+

{{ rubric | safe }}

+
+
+
-
-
- +
+
+
+
+ + +
+
+
+ + + + +

Selected Changepoints

@@ -22,7 +73,6 @@
- {# Based on: https://github.com/benalexkeen/d3-flask-blog-post/blob/master/templates/index.html #} {# And: https://bl.ocks.org/mbostock/35964711079355050ff1 #} @@ -44,7 +94,7 @@ var svg = d3.select("#graph") .attr("width", divWidth) .attr("height", divHeight); -var margin = {top: 20, right: 20, bottom: 100, left: 100}; +var margin = {top: 20, right: 20, bottom: 50, left: 50}; var width = +svg.attr("width") - margin.left - margin.right; var height = +svg.attr("height") - margin.top - margin.bottom; @@ -155,7 +205,8 @@ function clicked(d, i) { function nozoom() { d3.event.preventDefault(); } - + + + {% endblock %} -- cgit v1.2.3