diff options
author | joak <joak@nospace.at> | 2020-08-17 11:55:24 +0200 |
---|---|---|
committer | joak <joak@nospace.at> | 2020-08-17 11:55:24 +0200 |
commit | f60e9ccd5b046101903a79bf6afa0cf87fdd956c (patch) | |
tree | db29d0f55a1bc3347b63341551fa05308554101d /models |
init
Diffstat (limited to 'models')
-rw-r--r-- | models/curating.ini | 55 | ||||
-rw-r--r-- | models/curatings.ini | 13 | ||||
-rw-r--r-- | models/exhibition.ini | 56 | ||||
-rw-r--r-- | models/exhibitions.ini | 13 | ||||
-rw-r--r-- | models/info.ini | 11 | ||||
-rw-r--r-- | models/lecture.ini | 50 | ||||
-rw-r--r-- | models/lectures.ini | 13 | ||||
-rw-r--r-- | models/page.ini | 11 | ||||
-rw-r--r-- | models/performance.ini | 56 | ||||
-rw-r--r-- | models/performances.ini | 13 | ||||
-rw-r--r-- | models/work.ini | 80 | ||||
-rw-r--r-- | models/works.ini | 14 |
12 files changed, 385 insertions, 0 deletions
diff --git a/models/curating.ini b/models/curating.ini new file mode 100644 index 0000000..3cf3572 --- /dev/null +++ b/models/curating.ini @@ -0,0 +1,55 @@ +[model] +name = curating +label = {{ this.title }} +slug_format = "curatings/"+ {{ this._id }}+"-"+{{ this.venue}} + +[fields.title] +label = Title +type = string + +[fields.url] +label = url +type = url +width = 1/3 + +[fields.date_start] +label = Date Start +type = date +width = 1/2 + +[fields.date_end] +label = Date End +type = date +width = 1/2 + +[fields.selected] +label = selected +type = boolean +width = 1/3 + +[fields.venue] +label = Venue +type = string + +[fields.place] +label = Place +type = string + +[fields.country] +label = Country +type = string + +[fields.comment] +label = Comment +type = string + +[fields.thumbnail] +label = thumbnail +type = string + +[fields.info] +label = Body +type = flow +flow_blocks = gallery,content,video + + diff --git a/models/curatings.ini b/models/curatings.ini new file mode 100644 index 0000000..56d0a3e --- /dev/null +++ b/models/curatings.ini @@ -0,0 +1,13 @@ +[model] +name = Curatings +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[children] +model = curating +order_by = -date_start, title +slug_format = {{ this._id }} + diff --git a/models/exhibition.ini b/models/exhibition.ini new file mode 100644 index 0000000..96279ec --- /dev/null +++ b/models/exhibition.ini @@ -0,0 +1,56 @@ +[model] +name = Exhibition +label = {{ this.title }} +slug_format = "exhibitions/"+ {{ this._id }} + +[fields.title] +label = Title +type = string +width = 1/3 + +[fields.url] +label = url +type = string +width = 1/3 + +[fields.selected] +label = selected +type = boolean +width = 1/3 + +[fields.date_start] +label = Date Start +type = date +width = 1/2 + +[fields.date_end] +label = Date End +type = date +width = 1/2 + +[fields.venue] +label = Venue +type = string + +[fields.place] +label = Place +type = string + +[fields.country] +label = Country +type = string + +[fields.comment] +label = Comment +type = string + +[fields.thumbnail] +label = thumbnail +type = string + +[fields.info] +label = Body +type = flow +flow_blocks = gallery,content,video + + diff --git a/models/exhibitions.ini b/models/exhibitions.ini new file mode 100644 index 0000000..cb563e3 --- /dev/null +++ b/models/exhibitions.ini @@ -0,0 +1,13 @@ +[model] +name = Exhibitions +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[children] +model = exhibition +order_by = -date_start, title +slug_format = {{ this._id }} + diff --git a/models/info.ini b/models/info.ini new file mode 100644 index 0000000..6aed1ae --- /dev/null +++ b/models/info.ini @@ -0,0 +1,11 @@ +[model] +name = Info +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[fields.body] +label = Body +type = markdown diff --git a/models/lecture.ini b/models/lecture.ini new file mode 100644 index 0000000..85710ce --- /dev/null +++ b/models/lecture.ini @@ -0,0 +1,50 @@ +[model] +name = Lecture +label = {{ this.title }} +slug_format = "lectures/"+ {{ this._id }}+"-"+{{ this.venue}} + +[fields.title] +label = Title +type = string + +[fields.url] +label = url +type = url +width = 1/3 + +[fields.date] +label = Date +type = date +width = 1/3 + +[fields.selected] +label = selected +type = boolean +width = 1/3 + +[fields.venue] +label = Venue +type = string + +[fields.place] +label = Place +type = string + +[fields.country] +label = Country +type = string + +[fields.comment] +label = Comment +type = string + +[fields.thumbnail] +label = thumbnail +type = string + +[fields.info] +label = Body +type = flow +flow_blocks = gallery,content,video + + diff --git a/models/lectures.ini b/models/lectures.ini new file mode 100644 index 0000000..ddc9eb1 --- /dev/null +++ b/models/lectures.ini @@ -0,0 +1,13 @@ +[model] +name = Lectures +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[children] +model = lecture +order_by = -date, title +slug_format = {{ this._id }} + diff --git a/models/page.ini b/models/page.ini new file mode 100644 index 0000000..dcddfe8 --- /dev/null +++ b/models/page.ini @@ -0,0 +1,11 @@ +[model] +name = Page +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[fields.body] +label = Body +type = markdown diff --git a/models/performance.ini b/models/performance.ini new file mode 100644 index 0000000..91ce1f5 --- /dev/null +++ b/models/performance.ini @@ -0,0 +1,56 @@ +[model] +name = Performance +label = {{ this.title }} +slug_format = "performance/"+ {{ this._id }} + +[fields.title] +label = Title +type = string +width = 1/3 + +[fields.url] +label = url +type = url +width = 1/3 + +[fields.selected] +label = selected +type = boolean +width = 1/3 + +[fields.date_start] +label = Date Start +type = date +width = 1/2 + +[fields.date_end] +label = Date End +type = date +width = 1/2 + +[fields.venue] +label = Venue +type = string + +[fields.place] +label = Place +type = string + +[fields.country] +label = Country +type = string + +[fields.comment] +label = Comment +type = string + +[fields.thumbnail] +label = thumbnail +type = string + +[fields.info] +label = Body +type = flow +flow_blocks = gallery,content,video + + diff --git a/models/performances.ini b/models/performances.ini new file mode 100644 index 0000000..f1368d6 --- /dev/null +++ b/models/performances.ini @@ -0,0 +1,13 @@ +[model] +name = Performances +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[children] +model = performance +order_by = -date_start, title +slug_format = {{ this._id }} + 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 + + diff --git a/models/works.ini b/models/works.ini new file mode 100644 index 0000000..9b13bc7 --- /dev/null +++ b/models/works.ini @@ -0,0 +1,14 @@ +[model] +name = Works +label = {{ this.title }} + +[fields.title] +label = Title +type = string + +[children] +model = work +order_by = -year_start, title +slug_format = {{ this._id }} + + |