diff --git a/.wappler/targets/Development/app/config/config.json b/.wappler/targets/Development/app/config/config.json new file mode 100644 index 0000000..bf4e955 --- /dev/null +++ b/.wappler/targets/Development/app/config/config.json @@ -0,0 +1,4 @@ +{ + "debug": true, + "secret": "vbCzCaQRPaHdgxr" +} \ No newline at end of file diff --git a/app/api/myRecordUpdateByID.json b/app/api/myRecordUpdateByID.json index 3067ccf..3ff9351 100644 --- a/app/api/myRecordUpdateByID.json +++ b/app/api/myRecordUpdateByID.json @@ -2,11 +2,11 @@ "meta": { "$_POST": [ { - "type": "text", - "name": "obj_dataStore" + "type": "object", + "name": "obj_datastore" }, { - "type": "number", + "type": "text", "name": "id" } ] @@ -25,7 +25,7 @@ "table": "da", "column": "obj_dataStore", "type": "text", - "value": "{{$_POST.obj_dataStore}}" + "value": "{{$_POST.obj_datastore}}" } ], "table": "da", @@ -34,6 +34,7 @@ "rules": [ { "id": "id", + "field": "id", "type": "double", "operator": "equal", "value": "{{$_POST.id}}", @@ -42,7 +43,9 @@ }, "operation": "=" } - ] + ], + "conditional": null, + "valid": true }, "returning": "id", "query": "update `da` set `obj_dataStore` = ? where `id` = ?", @@ -50,7 +53,7 @@ { "name": ":P1", "type": "expression", - "value": "{{$_POST.obj_dataStore}}", + "value": "{{$_POST.obj_datastore}}", "test": "" }, { @@ -68,7 +71,8 @@ "name": "affected", "type": "number" } - ] + ], + "output": true } } } \ No newline at end of file diff --git a/app/config/config.json b/app/config/config.json new file mode 100644 index 0000000..bf4e955 --- /dev/null +++ b/app/config/config.json @@ -0,0 +1,4 @@ +{ + "debug": true, + "secret": "vbCzCaQRPaHdgxr" +} \ No newline at end of file diff --git a/app/config/routes.json b/app/config/routes.json index 279ed62..fecea19 100644 --- a/app/config/routes.json +++ b/app/config/routes.json @@ -60,6 +60,10 @@ "path": "/success", "page": "success", "layout": "main" + }, + { + "path": "/docuSeal", + "page": "docuSeal" } ] } \ No newline at end of file diff --git a/public/dmxAppConnect/config.js b/public/dmxAppConnect/config.js index 5e36ac9..e69de29 100644 --- a/public/dmxAppConnect/config.js +++ b/public/dmxAppConnect/config.js @@ -1,107 +0,0 @@ -dmx.config({ - "observationPage": { - "GradingDatastore": [ - { - "type": "text", - "name": "$id" - }, - { - "type": "text", - "name": "numSection" - }, - { - "type": "text", - "name": "pointValue" - }, - { - "type": "text", - "name": "description" - } - ], - "datastore1": [ - { - "type": "text", - "name": "numSection" - }, - { - "type": "text", - "name": "pointValue" - }, - { - "type": "text", - "name": "description" - } - ], - "processPDF": { - "meta": [ - { - "name": "PDFprocess", - "type": "text" - } - ], - "local": {} - }, - "data_view2": { - "meta": [ - { - "name": "$id", - "type": "number" - }, - { - "type": "text", - "name": "numSection" - }, - { - "type": "text", - "name": "pointValue" - }, - { - "type": "text", - "name": "description" - } - ], - "outputType": "array" - }, - "data_view1": { - "meta": [ - { - "type": "number", - "name": "id" - }, - { - "type": "text", - "name": "dspShortCode" - }, - { - "type": "text", - "name": "ertDriveDate" - }, - { - "type": "text", - "name": "db_fullName" - }, - { - "type": "text", - "name": "db_trainerSelected" - }, - { - "type": "text", - "name": "db_licenseNumber" - }, - { - "type": "text", - "name": "db_state" - }, - { - "type": "text", - "name": "db_signatureData" - } - ], - "outputType": "array" - }, - "arr1": { - "meta": null, - "outputType": "text" - } - } -}); diff --git a/views/.wappler_folder.json b/views/.wappler_folder.json index 3e8efab..8db7c98 100644 --- a/views/.wappler_folder.json +++ b/views/.wappler_folder.json @@ -38,5 +38,9 @@ "success.ejs": { "layoutPage": "main", "description": "" + }, + "docuSeal.ejs": { + "layoutPage": "", + "description": "Signing thingie" } } \ No newline at end of file diff --git a/views/docuSeal.ejs b/views/docuSeal.ejs new file mode 100644 index 0000000..c3fa01c --- /dev/null +++ b/views/docuSeal.ejs @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/views/index0.ejs b/views/index0.ejs index 89aac8d..0c985fa 100644 --- a/views/index0.ejs +++ b/views/index0.ejs @@ -1,4 +1,7 @@ + + +