From 66fbe2f79d292879eb5f3ca4e9088efd9cda082f Mon Sep 17 00:00:00 2001 From: chrono Date: Sun, 24 Nov 2013 19:42:19 +0100 Subject: [PATCH] Added put workflow into client --- public/index.html | 48 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 8d0a5a6..12dcae9 100644 --- a/public/index.html +++ b/public/index.html @@ -48,12 +48,18 @@
- + + +
- - + +
@@ -61,6 +67,7 @@
+
@@ -130,6 +137,37 @@ function abortTask() { } +function enterEditMode() { + //$('#e2').hide(); + $('#saveas').show(); + $('#e2').select2('container').hide(); + $('#form_profile_name').attr('value', profiles[selected_profile].name); +} + + +function saveProfile() { + name = $('#form_profile_name').attr('value') + console.log('Trying to save profile: ' + name); + var rawdata = graph.series[0].data; + var data = []; + + for(var i=0; i