Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nim4n136/custom-actions-button
Custom actions button for laravel-admin extenstion
https://github.com/nim4n136/custom-actions-button
extension laravel-admin laravel-admin-ext
Last synced: 6 days ago
JSON representation
Custom actions button for laravel-admin extenstion
- Host: GitHub
- URL: https://github.com/nim4n136/custom-actions-button
- Owner: nim4n136
- License: mit
- Archived: true
- Created: 2019-07-09T12:38:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T17:44:32.000Z (about 5 years ago)
- Last Synced: 2024-10-20T14:43:23.797Z (19 days ago)
- Topics: extension, laravel-admin, laravel-admin-ext
- Language: PHP
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - custom-actions-button - 定制操作按钮样式 (扩展包 / 网格类扩展包)
README
Custom Actions Button
======
[![StyleCI](https://github.styleci.io/repos/196005846/shield?branch=master)](https://github.styleci.io/repos/196005846)### Screenshots
![custom-action-button](https://user-images.githubusercontent.com/23657262/60898926-d04b5180-a293-11e9-8660-b5ce4d7886ec.PNG)### Installation
```
composer require nim4n/custom-actions-button
```### Configuration
In the configuration section of the file config/admin.php extension, add the configuration of this extension.
```php'extensions' => [
'custom-actions-button' => [
"enable" => true,
"view" => [
"label" => "Detail",
"icon" => "fa fa-eye",
"class" => "btn btn-sm btn-info"
],"edit" => [
"label" => "Edit",
"icon" => "fa fa-edit",
"class" => "btn btn-sm btn-warning"
],"delete" => [
"label" => "",
"icon" => "fa fa-trash",
"class" => "btn btn-sm btn-danger"
]]
],
```
License
------------
Licensed under [The MIT License (MIT)](LICENSE).