# HG changeset patch
# User rougeronj
# Date 1429891262 -7200
# Node ID d3ae63bc18c628cc5e211a04359982febbfb6a15
# Parent 6103b7192d381be5bbeda7c50b65706038152f43
split the 'colorpicker' template and the 'search' template (list of possible kind of search in the bins) into separate html
diff -r 6103b7192d38 -r d3ae63bc18c6 client/js/main.js
--- a/client/js/main.js Fri Apr 24 13:13:24 2015 +0200
+++ b/client/js/main.js Fri Apr 24 18:01:02 2015 +0200
@@ -139,7 +139,7 @@
});
this.colorPicker = (function() {
- var _tmpl = _.template('
');
+ var _tmpl = renkanJST['templates/colorpicker.html'];
return '' + Rkns.pickerColors.map(function(c) { return _tmpl({c:c});}).join("") + '
';
})();
@@ -150,7 +150,7 @@
if (!this.options.search.length) {
this.$.find(".Rk-Web-Search-Form").detach();
} else {
- var _tmpl = _.template('<%= title %>'),
+ var _tmpl = renkanJST['templates/search.html'],
_select = this.$.find(".Rk-Search-List"),
_input = this.$.find(".Rk-Web-Search-Input"),
_form = this.$.find(".Rk-Web-Search-Form");
diff -r 6103b7192d38 -r d3ae63bc18c6 client/templates/colorpicker.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/colorpicker.html Fri Apr 24 18:01:02 2015 +0200
@@ -0,0 +1,1 @@
+
\ No newline at end of file
diff -r 6103b7192d38 -r d3ae63bc18c6 client/templates/main.html
--- a/client/templates/main.html Fri Apr 24 13:13:24 2015 +0200
+++ b/client/templates/main.html Fri Apr 24 18:01:02 2015 +0200
@@ -4,20 +4,20 @@
<%- translate("Select contents:")%>
diff -r 6103b7192d38 -r d3ae63bc18c6 client/templates/search.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/search.html Fri Apr 24 18:01:02 2015 +0200
@@ -0,0 +1,1 @@
+<%= title %>
\ No newline at end of file