pikselin/silverstripe-admin-edit-link
Composer 安装命令:
composer require pikselin/silverstripe-admin-edit-link
包简介
Adds a link to the edit page in the CMS if you are logged in as administrator
关键字:
README 文档
README
Adds a link to the CMS edit page if logged in user has appropriate permissions. This works by detecting the meta[name="x-cms-edit-link"] header tag. This tiny module has no dependancies other than Silverstripe 4.
Installation
composer require Pikselin/silverstripe-admin-edit-link
CSS
The CSS for this is very basic and can be overridden:
.cms-edit-link {
position: absolute;
padding: 0.5rem;
bottom: 15px;
right: 15px;
background-color: #ffffff;
color: #002752;
}
统计信息
- 总下载量: 1.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2022-08-15