Commit 6227d142 authored by Jérome Perrin's avatar Jérome Perrin

GUI: update static version

parent 35e5195b
...@@ -61,6 +61,10 @@ ...@@ -61,6 +61,10 @@
if (value.delay > .5) { if (value.delay > .5) {
color = "red"; color = "red";
} }
if (value.color) {
// if color passed in plugin, we use it as is.
color = value.color;
}
$(td).text("").css({ $(td).text("").css({
"background-color": color "background-color": color
}); });
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
var object_data = JSON.parse(data); var object_data = JSON.parse(data);
// XXX option for that // XXX option for that
object_data.input.reference_spreadsheet = gadget.props.new_spreadsheet; object_data.input.reference_spreadsheet = gadget.props.new_spreadsheet;
object_data.input.reference_solution = parseInt(gadget.props.options.result); object_data.input.reference_solution = parseInt(gadget.props.options.result, 10);
return gadget.aq_putAttachment({ return gadget.aq_putAttachment({
_id: gadget.props.jio_key, _id: gadget.props.jio_key,
_attachment: "body.json", _attachment: "body.json",
......
CACHE MANIFEST CACHE MANIFEST
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator # This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# Time: Tue Sep 08 2015 15:21:59 GMT+0200 (CEST) # Time: Wed Sep 16 2015 18:23:50 GMT+0200 (CEST)
CACHE: CACHE:
daff/index.html daff/index.html
...@@ -119,6 +119,7 @@ lib/jquery-ui.css ...@@ -119,6 +119,7 @@ lib/jquery-ui.css
lib/jquerymobile.css lib/jquerymobile.css
lib/qunit.css lib/qunit.css
toolbox/toolbox.css toolbox/toolbox.css
DefaultConfiguration.json
NETWORK: NETWORK:
* *
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment