|
18 | 18 |
|
19 | 19 | <div class="panel-heading clearfix"> |
20 | 20 |
|
21 | | - <span class="pull-left"> |
22 | | - [% model_name_plural_cap %] |
23 | | - </span> |
| 21 | + <div class="pull-left"> |
| 22 | + <h3 class="mt-2 mb-0">[% model_name_plural_cap %]</h3> |
| 23 | + </div> |
24 | 24 |
|
25 | | - <div class="btn-group btn-group-xs pull-right" role="group"> |
| 25 | + <div class="btn-group btn-group-sm pull-right" role="group"> |
26 | 26 |
|
27 | | - <a href="{{ route('[% create_route_name %]') }}" class="btn btn-primary" title="Add [% model_name_class %]"> |
| 27 | + <a href="{{ route('[% create_route_name %]') }}" class="btn btn-success" title="Add [% model_name_class %]"> |
28 | 28 | <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> |
29 | 29 | </a> |
30 | 30 |
|
|
34 | 34 |
|
35 | 35 | @if(count($[% model_name_plural %]) == 0) |
36 | 36 | <div class="panel-body text-center"> |
37 | | - <h4>There are no records!</h4> |
| 37 | + <h4>There are no available records!</h4> |
38 | 38 | </div> |
39 | 39 | @else |
40 | 40 | <div class="panel-body panel-body-with-table"> |
|
58 | 58 | 'route' => ['[% destroy_route_name %]', $[% model_name %]->[% primary_key %]], |
59 | 59 | 'style' => 'display: inline;', |
60 | 60 | ]) !!} |
61 | | - |
62 | | - <a href="{{ route('{{showRouteName}}', $[% model_name %]->[% primary_key %] ) }}" class="btn btn-success btn-xs" title="View [% model_name_class %]"> |
63 | | - <span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> |
64 | | - </a> |
65 | | - <a href="{{ route('[% edit_route_name %]', $[% model_name %]->[% primary_key %] ) }}" class="btn btn-primary btn-xs" title="Edit [% model_name_class %]"> |
66 | | - <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> |
67 | | - </a> |
68 | | - |
69 | | - {!! Form::button('<span class="glyphicon glyphicon-trash" aria-hidden="true" title="Delete [% model_name_class %]"></span>', |
70 | | - [ |
71 | | - 'type' => 'submit', |
72 | | - 'class' => 'btn btn-danger btn-xs', |
73 | | - 'title' => 'Delete [% model_name_class %]', |
74 | | - 'onclick' => 'return confirm("Confirm delete?")' |
75 | | - ]) |
76 | | - !!} |
| 61 | + <div class="btn-group btn-group-xs pull-right" role="group"> |
| 62 | + <a href="{{ route('{{showRouteName}}', $[% model_name %]->[% primary_key %] ) }}" class="btn btn-info" title="View [% model_name_class %]"> |
| 63 | + <span class="glyphicon glyphicon-open" aria-hidden="true"></span> |
| 64 | + </a> |
| 65 | + <a href="{{ route('[% edit_route_name %]', $[% model_name %]->[% primary_key %] ) }}" class="btn btn-primary" title="Edit [% model_name_class %]"> |
| 66 | + <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> |
| 67 | + </a> |
| 68 | + |
| 69 | + {!! Form::button('<span class="glyphicon glyphicon-trash" aria-hidden="true" title="Delete [% model_name_class %]"></span>', |
| 70 | + [ |
| 71 | + 'type' => 'submit', |
| 72 | + 'class' => 'btn btn-danger', |
| 73 | + 'title' => 'Delete [% model_name_class %]', |
| 74 | + 'onclick' => 'return confirm("Confirm delete?")' |
| 75 | + ]) |
| 76 | + !!} |
| 77 | + </div> |
77 | 78 | {!! Form::close() !!} |
78 | 79 | </td> |
79 | 80 | </tr> |
|
0 commit comments