diff --git a/app/models/form.server.model.js b/app/models/form.server.model.js index d1c2a60f..52d8abb1 100644 --- a/app/models/form.server.model.js +++ b/app/models/form.server.model.js @@ -133,6 +133,24 @@ var FormSchema = new Schema({ }, buttons:[ButtonSchema] }, + endPage: { + showEnd:{ + type: Boolean, + default: false + }, + title:{ + type: String, + default: 'Thank you for filling out the form' + }, + paragraph:{ + type: String + }, + buttonText:{ + type: String, + default: 'Go back to Form' + }, + buttons:[ButtonSchema] + }, hideFooter: { type: Boolean, diff --git a/public/dist/application.js b/public/dist/application.js index 7f20bbf1..77d18ccc 100644 --- a/public/dist/application.js +++ b/public/dist/application.js @@ -130,11 +130,292 @@ angular.module('NodeForm.templates', []).run(['$templateCache', function($templa $templateCache.put("modules/forms/admin/views/directiveViews/cgBusy/update-form-message-TypeB.html", "
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{field.description}}
{{myform.startPage.introParagraph}}
{{myform.startPage.introParagraph}}
{{myform.endPage.paragraph}}
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{pageData.introParagraph}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{myform.startPage.introParagraph}}
{{ \'BEFORE_YOU_CONTINUE\' | translate }} polydaic@gmail.com
{{ \'CHECK_YOUR_EMAIL\' | translate }} polydaic@gmail.com
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{pageData.introParagraph}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{myform.startPage.introParagraph}}
{{myform.endPage.paragraph}}
{{ \'BEFORE_YOU_CONTINUE\' | translate }} polydaic@gmail.com
{{ \'CHECK_YOUR_EMAIL\' | translate }} polydaic@gmail.com
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{field.description}}
{{myform.startPage.introParagraph}}
{{myform.startPage.introParagraph}}
{{myform.endPage.paragraph}}
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{pageData.introParagraph}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{myform.startPage.introParagraph}}
{{ \'BEFORE_YOU_CONTINUE\' | translate }} polydaic@gmail.com
{{ \'CHECK_YOUR_EMAIL\' | translate }} polydaic@gmail.com
# | {{value.title}} | {{ 'PERCENTAGE_COMPLETE' | translate }} | {{ 'TIME_ELAPSED' | translate }} | {{ 'DEVICE' | translate }} | {{ 'LOCATION' | translate }} | {{ 'IP_ADDRESS' | translate }} | {{ 'DATE_SUBMITTED' | translate }} (UTC) | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{field.fieldValue}} | {{row.percentageComplete}}% | {{row.timeElapsed | secondsToDateTime | date:'mm:ss'}} | {{row.device.name}}, {{row.device.type}} | {{row.geoLocation.City}}, {{row.geoLocation.Country}} | {{row.ipAddr}} | {{row.created | date:'yyyy-MM-dd HH:mm:ss'}} |
{{pageData.introParagraph}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{field.description}}
{{myform.startPage.introParagraph}}
{{myform.endPage.paragraph}}
{{ \'BEFORE_YOU_CONTINUE\' | translate }} polydaic@gmail.com
{{ \'CHECK_YOUR_EMAIL\' | translate }} polydaic@gmail.com
- -
-+ +
++ {{myform.endPage.paragraph}} +
++ +
+