diff --git a/.quiqr-cache/thumbs/static/images/favicon.png b/.quiqr-cache/thumbs/static/images/favicon.png new file mode 100644 index 0000000..ffc319e Binary files /dev/null and b/.quiqr-cache/thumbs/static/images/favicon.png differ diff --git a/README.md b/README.md index 2620f73..b39b6af 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -# quiqr-template-kitchen-sink \ No newline at end of file +# Quiqr Template Kitchen Sink + +> Everything but the kitchen sink + +This template is for learning how the Quiqr Model works. Every available model +field is configured in this model. diff --git a/containerFields.yaml b/containerFields.yaml index 0ba1733..3d6911f 100644 --- a/containerFields.yaml +++ b/containerFields.yaml @@ -7,3 +7,8 @@ accordion: field2: dag - field1: bye field2: salut +params: + author: mipmip + description: Every available field +section: + some_child_field: '2023-06-21' diff --git a/data/system_data.json b/data/system_data.json new file mode 100644 index 0000000..614f2cd --- /dev/null +++ b/data/system_data.json @@ -0,0 +1,12 @@ +{ + "weekday": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saterday", + "Sunday" + ] + +} diff --git a/dataFields.md b/dataFields.md index 02f4a71..a8abad3 100644 --- a/dataFields.md +++ b/dataFields.md @@ -15,11 +15,16 @@ leaf_array: - item 1 image_select: seed_765936_00003.png sample_field: 1 -select_single: 2 +select_single: '2' select_multiple: - 1 - 3 date: '2022-03-28' +fonticon-picker: FaCarCrash +color: lime +font-picker: '' +select-from-query: Sunday +slider: 320 --- @@ -86,6 +91,14 @@ date: '2022-03-28' + + + + + + + + diff --git a/quiqr/etalage/template.json b/quiqr/etalage/template.json new file mode 100644 index 0000000..2682ea7 --- /dev/null +++ b/quiqr/etalage/template.json @@ -0,0 +1,9 @@ +{ + "name": "KitchenSink", + "description": "Template with every available field type. For learning the Quiqr Model", + "homepage": "https://github.com/quiqr/quiqr-template-kitchen-sink", + "license": "MIT", + "licenseURL": "https://github.com/quiqr/quiqr-template-kitchen-sink/blob/main/LICENSE", + "author": "Pim Snel", + "authorHomepage": "https://github.com/mipmip" +} diff --git a/quiqr/home/index.md b/quiqr/home/index.md index 0b60517..d7f83d6 100644 --- a/quiqr/home/index.md +++ b/quiqr/home/index.md @@ -1,14 +1,13 @@ -# README FOR NEW SITE +# Quiqr Template Kitchen Sink -If you're a website developer you can read the [Quiqr Site Developer -Docs](https://book.quiqr.org/) -how to customize your Site Admin. +> Everything but the kitchen sink -Quiqr is a Desktop App made for [Hugo](https://gohugo.io). Read all about -[creating Hugo websites](https://gohugo.io/getting-started/quick-start/). +This template is for learning how the Quiqr Model works. Every available model +field is configured in this model. -To change this about text, edit this file: */home/pim/Quiqr Data/sites/test_site_for_model_development/main/quiqr/home/index.md*. +If you're a website developer you can read the [Quiqr Site Developer +Docs](https://book.quiqr.org/) how to customize your Site Admin. Happy Creating. -❤️ Quiqr \ No newline at end of file +❤️ Quiqr diff --git a/quiqr/model/includes/menu.yml b/quiqr/model/includes/menu.yml index 7725272..4f65478 100644 --- a/quiqr/model/includes/menu.yml +++ b/quiqr/model/includes/menu.yml @@ -1,8 +1,9 @@ - title: Fields menuItems: - - key: containerFields - - key: dataFields + - key: simpleDataFields + - key: advancedDataFields - key: layoutFields + - key: containerFields - title: Example Cases menuItems: diff --git a/quiqr/model/includes/singles.yml b/quiqr/model/includes/singles.yml index 5c3bea7..c98ee47 100644 --- a/quiqr/model/includes/singles.yml +++ b/quiqr/model/includes/singles.yml @@ -71,8 +71,34 @@ - key: field2 type: string -- key: dataFields - title: Data Fields + - key: pull + fields: + - key: author + title: Author + type: string + - key: description + multiLine: true + title: Description + type: string + group: params + type: pull + + - key: section + fields: + - key: some_child_field + title: Some chield field + type: date + groupdata: true + type: section + + - key: leaf_array + type: leaf-array + field: + key: some_child_field + type: string + +- key: advancedDataFields + title: Advanced Data Fields file: dataFields.md fields: - key: date @@ -83,6 +109,53 @@ - key: chips type: chips + - key: uniq + type: uniq + + - key: color + type: color + + - key: fonticon-picker + type: fonticon-picker + + - key: font-picker + limit: 40 + categories: + - sans-serif + families: + - roboto + - roboto condensed + - lato + - open sans + type: font-picker + + - key: select-from-query + multiple: false + query_glob: data/system_data.json + query_string: .weekday[] + type: select-from-query + + - key: image_select + buttonTitle: select image + path: /static/images + type: image-select + + + + - key: slider + max: 800 + min: 0 + step: 10 + type: slider + + + + +- key: simpleDataFields + title: Simple Data Fields + file: dataFields.md + fields: + - key: select_single default: 2 multiple: false @@ -106,20 +179,31 @@ - text: Option 3 value: 3 + - key: hidden + type: hidden + default: some value + + - key: number type: number - key: string type: string + - key: info_about_next_field + type: info + content: the next field is `disabled` + + - key: disabled_field + type: info + disabled: true + content: this field is disabled and thus hidden + - key: Multiline String type: string multiLine: true tip: Enter more then one line - - key: uniq - type: uniq - - key: readonly type: readonly default: some preset value @@ -127,17 +211,6 @@ - key: boolean type: boolean - - key: leaf_array - type: leaf-array - field: - key: some_child_field - type: string - - - key: image_select - buttonTitle: select image - path: /static/images - type: image-select - - key: images title: Images