kleisli / neos-documentadminbar
A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
Installs: 24
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Type:neos-package
Requires
- neos/neos: *
README
A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
Usage
Fusion
<Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
<!-- your backend action elements here -->
</Kleisli.Neos.DocumentAdminBar:Component.AdminBar>
Add CSS
prototype(MySitePackage.Site:Document.AbstractPage) < prototype(Neos.Neos:Page) {
head {
# Add stylesheets to your page
stylesheets {
adminbar = afx`<link rel="stylesheet" type="text/css" href={StaticResource.uri('Kleisli.Neos.DocumentAdminBar', 'Public/Styles/AdminBar.css')}/>`
adminbar.@if.inBacked = ${node.context.inBackend}
}
}
}
Supported css classes:
Tabs
Add class tab
or tab-active
to a link to display it as Tab.
Example
See package Kleisli.Neos.DocumentCollection
Todo
- Add button style