This repository has been archived by the owner on Aug 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added possibility to customize buttons in config
- Loading branch information
Arthur LORENT
committed
Oct 26, 2017
1 parent
9978361
commit 703b009
Showing
10 changed files
with
86 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<button type="button" | ||
class="{!! config('tablelist.template.button.cancel.class') !!}" | ||
data-dismiss="modal"> | ||
{!! config('tablelist.template.button.cancel.icon') !!} | ||
{{ trans('tablelist::tablelist.modal.cancel') }} | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<button type="submit" | ||
class="{!! config('tablelist.template.button.confirm.class') !!}"> | ||
{!! config('tablelist.template.button.confirm.icon') !!} | ||
{{ trans('tablelist::tablelist.modal.confirm') }} | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<button type="button" | ||
class="{!! config('tablelist.template.button.destroy.class') !!}" | ||
data-toggle="modal" | ||
data-target=".destroy-confirm-modal-{{ $entity->id }}" | ||
title="{{ trans('tablelist::tablelist.tbody.action.destroy') }}"> | ||
{!! config('tablelist.template.button.destroy.icon') !!} | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<button class="{!! config('tablelist.template.button.edit.class') !!}" | ||
type="submit" | ||
title="{{ trans('tablelist::tablelist.tbody.action.edit') }}"> | ||
{!! config('tablelist.template.button.edit.icon') !!} | ||
</button> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="modal fade destroy-confirm-modal-{{ $entity->id }}" | ||
tabindex="-1" | ||
role="dialog" | ||
aria-labelledby="myLargeModalLabel" | ||
style="display: none;"> | ||
<div class="modal-dialog modal-lg" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header text-danger"> | ||
<button type="button" | ||
class="close" | ||
data-dismiss="modal" | ||
aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h4 class="modal-title text-left" id="modal-title"> | ||
<i class="fa fa-exclamation-triangle"></i> | ||
{{ trans('tablelist::tablelist.modal.title') }} | ||
</h4> | ||
</div> | ||
<div class="modal-body text-left"> | ||
{!! trans('tablelist::tablelist.modal.question', [ | ||
'entity' => $entity->{$table->destroyAttribute} | ||
]) !!} | ||
</div> | ||
<div class="modal-footer"> | ||
@include('tablelist::components.buttons.cancel') | ||
@include('tablelist::components.buttons.confirm') | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters