# HG changeset patch
# User rougeronj
# Date 1429372382 -7200
# Node ID 6447f10b7d2c99bb3963b8c91aec33118e0fd5e6
# Parent 6cf2ef158f9b114e1b33ddde8618d45bb042d0ba
export the templates of ldt-json-bin to html files
diff -r 6cf2ef158f9b -r 6447f10b7d2c client/js/ldtjson-bin.js
--- a/client/js/ldtjson-bin.js Sat Apr 18 17:52:37 2015 +0200
+++ b/client/js/ldtjson-bin.js Sat Apr 18 17:53:02 2015 +0200
@@ -17,15 +17,9 @@
var ProjectBin = Ldt.ProjectBin = Rkns.Utils.inherit(Rkns._BaseBin);
-ProjectBin.prototype.tagTemplate = _.template(
- '
' +
- '
<%=htitle%>
'
-);
+ProjectBin.prototype.tagTemplate = renkanJST['templates/ldtjson-bin/tagtemplate.html'];
-ProjectBin.prototype.annotationTemplate = _.template(
- '' +
- '
<%=htitle%>
<%=hdescription%>
Start: <%=start%>, End: <%=end%>, Duration: <%=duration%>
'
-);
+ProjectBin.prototype.annotationTemplate = renkanJST['templates/ldtjson-bin/annotationtemplate.html'];
ProjectBin.prototype._init = function(_renkan, _opts) {
this.renkan = _renkan;
@@ -160,10 +154,7 @@
var ResultsBin = Ldt.ResultsBin = Rkns.Utils.inherit(Rkns._BaseBin);
-ResultsBin.prototype.segmentTemplate = _.template(
- '' +
- '
<%=htitle%>
<%=hdescription%>
Start: <%=start%>, End: <%=end%>, Duration: <%=duration%>
'
-);
+ResultsBin.prototype.segmentTemplate = renkanJST['templates/ldtjson-bin/segmenttemplate.html'];
ResultsBin.prototype._init = function(_renkan, _opts) {
this.renkan = _renkan;
diff -r 6cf2ef158f9b -r 6447f10b7d2c client/templates/ldtjson-bin/annotationtemplate.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/ldtjson-bin/annotationtemplate.html Sat Apr 18 17:53:02 2015 +0200
@@ -0,0 +1,11 @@
+
+
+
+ <%=htitle%>
+ <%=hdescription%>
+ Start: <%=start%>, End: <%=end%>, Duration: <%=duration%>
+
+
\ No newline at end of file
diff -r 6cf2ef158f9b -r 6447f10b7d2c client/templates/ldtjson-bin/segmenttemplate.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/ldtjson-bin/segmenttemplate.html Sat Apr 18 17:53:02 2015 +0200
@@ -0,0 +1,11 @@
+
+
+
+ <%=htitle%>
+ <%=hdescription%>
+ Start: <%=start%>, End: <%=end%>, Duration: <%=duration%>
+
+
\ No newline at end of file
diff -r 6cf2ef158f9b -r 6447f10b7d2c client/templates/ldtjson-bin/tagtemplate.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/ldtjson-bin/tagtemplate.html Sat Apr 18 17:53:02 2015 +0200
@@ -0,0 +1,9 @@
+
+
+
+ <%=htitle%>
+
+
\ No newline at end of file