kleisli/neos-documentadminbar
最新稳定版本:1.0.0
Composer 安装命令:
composer require kleisli/neos-documentadminbar
包简介
A backend admin bar for Neos CMS to provide backend functions implemented in the document prototype.
README 文档
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
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-04-25
