Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug fix #215 #216

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/default/create.blade.stub
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
<h4 class="m-0">[% create_model %]</h4>
<div>
<a href="{{ route('[% index_route_name %]') }}" class="btn btn-primary" title="[% show_all_models %]">
<span class="fa-solid fa-table-list" aria-hidden="true"></span>
<span class="fas fa-table" aria-hidden="true"></span>
</a>
</div>
</div>
4 changes: 2 additions & 2 deletions templates/default/edit.blade.stub
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@
<h4 class="m-0">{{ !empty([% model_header %]) ? [% model_header %] : '[% model_name_title %]' }}</h4>
<div>
<a href="{{ route('[% index_route_name %]') }}" class="btn btn-primary" title="[% show_all_models %]">
<span class="fa-solid fa-table-list" aria-hidden="true"></span>
<span class="fas fa-table" aria-hidden="true"></span>
</a>

<a href="{{ route('[% create_route_name %]') }}" class="btn btn-secondary" title="[% create_model %]">
<span class="fa-solid fa-plus" aria-hidden="true"></span>
<span class="fas fa-plus" aria-hidden="true"></span>
</a>
</div>
</div>
8 changes: 4 additions & 4 deletions templates/default/index.blade.stub
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
<h4 class="m-0">[% model_name_plural_title %]</h4>
<div>
<a href="{{ route('[% create_route_name %]') }}" class="btn btn-secondary" title="[% create_model %]">
<span class="fa-solid fa-plus" aria-hidden="true"></span>
<span class="fas fa-plus" aria-hidden="true"></span>
</a>
</div>
</div>
@@ -48,14 +48,14 @@

<div class="btn-group btn-group-sm" role="group">
<a href="{{ route('[% show_route_name %]', $[% model_name_singular_variable %]->[% primary_key %] ) }}" class="btn btn-info" title="[% show_model %]">
<span class="fa-solid fa-arrow-up-right-from-square" aria-hidden="true"></span>
<span class="fas fa-eye" aria-hidden="true"></span>
</a>
<a href="{{ route('[% edit_route_name %]', $[% model_name_singular_variable %]->[% primary_key %] ) }}" class="btn btn-primary" title="[% edit_model %]">
<span class="fa-regular fa-pen-to-square" aria-hidden="true"></span>
<span class="fas fa-pen" aria-hidden="true"></span>
</a>

<button type="submit" class="btn btn-danger" title="[% delete_model %]" onclick="return confirm(&quot;[% confirm_delete %]&quot;)">
<span class="fa-regular fa-trash-can" aria-hidden="true"></span>
<span class="fas fa-trash" aria-hidden="true"></span>
</button>
</div>

8 changes: 4 additions & 4 deletions templates/default/show.blade.stub
Original file line number Diff line number Diff line change
@@ -12,19 +12,19 @@
{{ csrf_field() }}

<a href="{{ route('[% edit_route_name %]', $[% model_name_singular_variable %]->[% primary_key %] ) }}" class="btn btn-primary" title="[% edit_model %]">
<span class="fa-regular fa-pen-to-square" aria-hidden="true"></span>
<span class="fas fa-pen" aria-hidden="true"></span>
</a>

<button type="submit" class="btn btn-danger" title="[% delete_model %]" onclick="return confirm(&quot;[% confirm_delete %]?&quot;)">
<span class="fa-regular fa-trash-can" aria-hidden="true"></span>
<span class="fas fa-trash" aria-hidden="true"></span>
</button>

<a href="{{ route('[% index_route_name %]') }}" class="btn btn-primary" title="[% show_all_models %]">
<span class="fa-solid fa-table-list" aria-hidden="true"></span>
<span class="fas fa-table" aria-hidden="true"></span>
</a>

<a href="{{ route('[% create_route_name %]') }}" class="btn btn-secondary" title="[% create_model %]">
<span class="fa-solid fa-plus" aria-hidden="true"></span>
<span class="fas fa-plus" aria-hidden="true"></span>
</a>

</form>