summaryrefslogtreecommitdiff
path: root/models/work.ini
diff options
context:
space:
mode:
Diffstat (limited to 'models/work.ini')
-rw-r--r--models/work.ini80
1 files changed, 80 insertions, 0 deletions
diff --git a/models/work.ini b/models/work.ini
new file mode 100644
index 0000000..5c71844
--- /dev/null
+++ b/models/work.ini
@@ -0,0 +1,80 @@
+[model]
+name = Work
+label = {{ this.title }}
+
+[fields.title]
+label = Title
+type = string
+
+[fields.thumbnail]
+label = thumbnail
+type = string
+
+[fields.tfwebsite]
+label = Show website
+type = boolean
+default = false
+width = 1/4
+
+[fields.website]
+label = Website
+type = url
+width = 3/4
+
+[fields.tfrepo]
+label = Show repository
+type = boolean
+default = false
+width = 1/4
+
+[fields.repo]
+label = Repository
+type = url
+width = 3/4
+
+
+[fields.year_start]
+label = Year Start
+type = date
+width = 1/3
+
+[fields.year_end]
+label = Year End
+type = date
+width = 1/3
+
+[fields.ongoing]
+label = Ongoing
+type = boolean
+default = false
+width = 1/3
+
+[fields.selected]
+label = Selected
+type = boolean
+default = false
+width = 1/3
+
+[fields.format]
+label = Format
+type = string
+width = 2/3
+
+[fields.tfcollaborator]
+label = Show collaborators
+type = boolean
+default = false
+width = 1/4
+
+[fields.collaborators]
+label = Collaborators
+type = flow
+flow_blocks = collaborator
+width = 3/4
+
+[fields.content]
+label = Body
+type = flow
+flow_blocks = gallery,content,video,html
+
+