summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js39
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: {