webakula/la2-custom-actions-button

Custom actions button for laravel-admin extenstion

1.2.0 2021-04-23 13:08 UTC

This package is auto-updated.

Last update: 2024-04-23 19:34:28 UTC


README

StyleCI

Screenshots

custom-action-button

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.

  '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).