Skip to content

Commit

Permalink
feat: update page edit layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-bonnel committed Sep 28, 2023
1 parent 3e4ef53 commit 5b1e594
Show file tree
Hide file tree
Showing 10 changed files with 1,270 additions and 273 deletions.
100 changes: 96 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"http-errors": "^2.0.0",
"http-link-header": "^1.1.0",
"json-schema-defaults": "^0.4.0",
"json-schema-ref-parser": "^9.0.9",
"marked": "^4.3.0",
"memoizee": "^0.4.15",
"mime-types": "^2.1.35",
Expand Down
3 changes: 0 additions & 3 deletions public/assets/templates/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
"description": {
"$ref": "#/definitions/description"
},
"alert": {
"$ref": "#/definitions/alert"
},
"application": {
"$ref": "#/definitions/application"
},
Expand Down
66 changes: 36 additions & 30 deletions public/assets/templates/thematic.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,45 @@
"$ref": "#/definitions/title"
},
"banner": {
"title": "URL de l'image de bannière",
"description": "Utile pour pointer vers une image sur un autre serveur Web. Si vous disposez de l'image en fichier sur votre poste vous pouvez la charger ci-dessous.",
"type": "string"
},
"localBanner": {
"type": "object",
"x-display": "custom-df-image",
"title": "Bannière",
"properties": {
"assetId": {
"readOnly": true
},
"assetTitle": {
"readOnly": true
},
"pageId": {
"type": "string",
"readOnly": true
},
"pageTitle": {
"type": "string",
"readOnly": true
"url": {
"title": "URL vers l'image",
"description": "Utile pour pointer vers une image sur un autre serveur Web. Si vous disposez de l'image en fichier sur votre poste vous pouvez la charger ci-dessous.",
"type": "string"
},
"_updatedAt": {
"type": "string",
"readOnly": true
},
"_id": {
"type": "string",
"readOnly": true
},
"attachmentPath": {
"type": "string",
"readOnly": true
"local": {
"type": "object",
"x-display": "custom-df-image",
"properties": {
"assetId": {
"readOnly": true
},
"assetTitle": {
"readOnly": true
},
"pageId": {
"type": "string",
"readOnly": true
},
"pageTitle": {
"type": "string",
"readOnly": true
},
"_updatedAt": {
"type": "string",
"readOnly": true
},
"_id": {
"type": "string",
"readOnly": true
},
"attachmentPath": {
"type": "string",
"readOnly": true
}
}
}
}
},
Expand Down
Loading

0 comments on commit 5b1e594

Please sign in to comment.