diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-05-06 15:13:58 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-05-06 15:13:58 +0200 |
| commit | 0a1682688ed7ff2d81c0890b4e99f9ef92229ed7 (patch) | |
| tree | 3b8ceb41b32177f494a4e8f6f750f0b2760a5dce /index.js | |
| parent | 1f1948b48c64407ae5966a633cf4029189e83ec5 (diff) | |
adding modal fields
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 + '...'); |
