diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
| commit | 0885b9db9e264a666cd0fa656442569a953fb7f7 (patch) | |
| tree | e2107bee4387c168681ad02732c48072255fc808 /index.js | |
| parent | 3289ce3181c69ea4d696cc2d29a5e1579f6593cb (diff) | |
update tags. implement clocks
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -8,21 +8,19 @@ const __dirname = path.resolve(); var isProduction = process.env.OK_PRODUCTION === "true"; // Charles' types from the spreadsheet -var tagTypes = [ +var categories = [ "(none)", - "No6092", "1620s", "painting", "blunt", "National Gallery of Canada", - "AGO", - "courtauld", - "intervensions", + "Art Gallery of Ontario", + "Courtauld Institute", + "Stankievech", "connsoeurship", "double agent", "forensics", "black box", - "Stankievech", ].map((type, index) => [index, type]); var app = okcms @@ -48,15 +46,15 @@ var app = okcms description: { type: "text" }, thumbnail: { type: "image" }, images: { type: "gallery" }, - tag_0: { type: "enum", options: tagTypes, alias: "Tag #1" }, - tag_1: { type: "enum", options: tagTypes, alias: "Tag #2" }, - tag_2: { type: "enum", options: tagTypes, alias: "Tag #3" }, - tag_3: { type: "enum", options: tagTypes, alias: "Tag #4" }, - tag_4: { type: "enum", options: tagTypes, alias: "Tag #5" }, - tag_5: { type: "enum", options: tagTypes, alias: "Tag #6" }, - tag_6: { type: "enum", options: tagTypes, alias: "Tag #7" }, - tag_7: { type: "enum", options: tagTypes, alias: "Tag #8" }, - tag_8: { type: "enum", options: tagTypes, alias: "Tag #9" }, + tag_0: { type: "enum", options: categories, alias: "Tag #1" }, + tag_1: { type: "enum", options: categories, alias: "Tag #2" }, + tag_2: { type: "enum", options: categories, alias: "Tag #3" }, + tag_3: { type: "enum", options: categories, alias: "Tag #4" }, + tag_4: { type: "enum", options: categories, alias: "Tag #5" }, + tag_5: { type: "enum", options: categories, alias: "Tag #6" }, + tag_6: { type: "enum", options: categories, alias: "Tag #7" }, + tag_7: { type: "enum", options: categories, alias: "Tag #8" }, + tag_8: { type: "enum", options: categories, alias: "Tag #9" }, hidden: { type: "flag" }, }, ui: { |
