diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-10-04 11:42:18 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-10-04 11:42:18 -0400 |
| commit | 7e525bc4ae191bde7cb40de2c489250cb3e0af0f (patch) | |
| tree | 343781681d1af4b94e90e6498f9f72301c6fc7b0 /examples/index.js | |
| parent | 51d15907484032cf47d5e7b5beffede4d9a1f791 (diff) | |
adding triple-captioned-image-listv0.2.1
Diffstat (limited to 'examples/index.js')
| -rw-r--r-- | examples/index.js | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/examples/index.js b/examples/index.js index 58a2314..ad57a09 100644 --- a/examples/index.js +++ b/examples/index.js @@ -13,14 +13,14 @@ var app = okcms.createApp({ admin: { theme: 'okadmin', - dashboard: { - resources: { - card: { - groupBy: 'stack', - descending: true - } - } - }, +// dashboard: { +// resources: { +// card: { +// groupBy: 'stack', +// descending: true +// } +// } +// }, }, schemas: { @@ -48,16 +48,17 @@ var app = okcms.createApp({ id: {type: 'string', hidden: true}, title: {type: 'string'}, image: {type: 'image'}, + images: {type: 'triple-captioned-image-list'}, }, - card: { - id: {type: 'string', hidden: true}, - title: {type: 'string'}, - stack: {type: 'foreign-key', key: 'stack'}, - }, - stack: { - id: {type: 'string', hidden: true}, - title: {type: 'string'}, - } +// card: { +// id: {type: 'string', hidden: true}, +// title: {type: 'string'}, +// stack: {type: 'foreign-key', key: 'stack'}, +// }, +// stack: { +// id: {type: 'string', hidden: true}, +// title: {type: 'string'}, +// } }, resources: [ @@ -66,8 +67,8 @@ var app = okcms.createApp({ { type: 'bread' }, { type: 'test' }, { type: 'flour' }, - { type: 'card' }, - { type: 'stack' }, +// { type: 'card' }, +// { type: 'stack' }, ], services: { |
