summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/index.js b/index.js
index 9fb30988..9b8bdc03 100644
--- a/index.js
+++ b/index.js
@@ -64,6 +64,13 @@ var app = okcms.createApp({
FittingCodes: {type: 'text'},
BackgroundIsGray: {type: 'enum', options: ["true","false"] },
ClosedStoreImages: {type: 'captioned-image-list'},
+ // modal
+ showModal: {type: 'flag' },
+ modalTitle: {type: 'string'},
+ modalTaglineStyle: {type: 'enum', options: ["black","red","blue"] },
+ modalTaglinePosition: {type: 'enum', options: ["hidden","top","bottom"] },
+ modalContent: {type: 'text'},
+ modalTagline: {type: 'string'},
},
},
@@ -128,7 +135,9 @@ var app = okcms.createApp({
},
}
-}).listen(port)
+})
+app.listen(port)
+module.exports = app
console.log('Server listening at port ' + port + '...');