diff --git a/public/index.html b/public/index.html index e92e202..0eb3f44 100644 --- a/public/index.html +++ b/public/index.html @@ -4,7 +4,7 @@ - NodeODM + NodeODM - Web UI @@ -39,7 +39,7 @@ @@ -49,9 +49,6 @@
-
-
Images and GCP File (optional):
Selected files:
@@ -89,9 +86,17 @@
+
- -
-
-

This software is released under the terms of the GPLv3 License. See NodeODM on Github for more information.

+
+ This window can be closed after uploading a task. The process will continue running on the server.
@@ -204,7 +208,7 @@ - + diff --git a/public/js/main.js b/public/js/main.js index cd228d3..9801987 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -480,14 +480,23 @@ $(function() { $('#resetDoPostProcessing').on('click', function(){ $("#doPostProcessing").prop('checked', false); }); + $('#resetTaskName').on('click', function(){ + $("#taskName").val(''); + }); // Load options function Option(properties) { this.properties = properties; - this.value = ko.observable(); + + this.defaultValue = undefined; + if (properties.type === 'bool' && properties.value === 'true'){ + this.defaultValue = true; + } + + this.value = ko.observable(this.defaultValue); } Option.prototype.resetToDefault = function() { - this.value(undefined); + this.value(this.defaultValue); }; function OptionsModel() {