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