This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26d2e5e
commit e96c48e
Showing
3 changed files
with
77 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
const pagesSchema = { | ||
title: 'Specific pages', | ||
fieldsets: [ | ||
{ | ||
id: 'default', | ||
title: 'Default', | ||
fields: ['title', 'url'], | ||
}, | ||
], | ||
properties: { | ||
title: { | ||
title: 'Title', | ||
type: 'text', | ||
}, | ||
url: { | ||
title: 'Url', | ||
widget: 'text', | ||
}, | ||
}, | ||
required: ['title', 'url'], | ||
}; | ||
|
||
export default { | ||
title: 'Navigation block', | ||
fieldsets: [ | ||
{ | ||
id: 'default', | ||
title: 'Default', | ||
fields: ['navFromParent', 'className', 'fixedTabs', 'parent', 'pages'], | ||
}, | ||
], | ||
properties: { | ||
parent: { | ||
title: 'Parent page', | ||
widget: 'object_by_path', | ||
}, | ||
className: { | ||
title: 'Classname', | ||
type: 'text', | ||
}, | ||
fixedTabs: { | ||
title: 'Fixed navigation', | ||
type: 'boolean', | ||
}, | ||
navFromParent: { | ||
title: 'Show navigation from parent', | ||
type: 'boolean', | ||
}, | ||
pages: { | ||
title: 'Pages', | ||
schema: pagesSchema, | ||
type: 'schema', | ||
}, | ||
}, | ||
required: [], | ||
}; |
200 changes: 0 additions & 200 deletions
200
src/customizations/volto/components/manage/Widgets/ObjectListWidget.jsx
This file was deleted.
Oops, something went wrong.