Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Alternative of glyphicon of Laravel 5.6 with bootstrap 4 #450

Open
lautinghang opened this issue Apr 2, 2019 · 1 comment
Open

Alternative of glyphicon of Laravel 5.6 with bootstrap 4 #450

lautinghang opened this issue Apr 2, 2019 · 1 comment

Comments

@lautinghang
Copy link

Any support on change icon set on all zofe rapyd layout?? Thanks a lot.

@secelite
Copy link

You should publish the assets and change the views files to your favor.

For using buttons instead of glyphicons, my resources/views/vendor/rapyd/datagrid/actions.blade.php file looks like this:

@if (in_array("show", $actions))
    <a class="btn btn-default btn-sm" title="@lang('rapyd::rapyd.show')" href="{!! $uri !!}?show={!! $id !!}">View</a>
@endif
@if (in_array("modify", $actions))
    <a class="btn btn-default btn-sm" title="@lang('rapyd::rapyd.modify')" href="{!! $uri !!}?modify={!! $id !!}">Modify</a>
@endif
@if (in_array("delete", $actions))
    <a class="btn btn-danger btn-sm" title="@lang('rapyd::rapyd.delete')" href="{!! $uri !!}?delete={!! $id !!}">Delete</a>
@endif

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants