| xqd
@@ -59,27 +59,13 @@
|
|
|
<td>{{ $item->sort }}</td>
|
|
|
<td>{{ $item->created_at }}</td>
|
|
|
<td>
|
|
|
- <div class="btn-group">
|
|
|
- <button data-toggle="dropdown"
|
|
|
- class="btn btn-warning btn-sm dropdown-toggle"
|
|
|
- aria-expanded="false">
|
|
|
- 操作 <span class="caret"></span>
|
|
|
- </button>
|
|
|
- <ul class="dropdown-menu">
|
|
|
-
|
|
|
-
|
|
|
- @if(role('Album/Banner/update'))
|
|
|
- <li><a href="{{ U('Album/Banner/update',['id'=>$item->id])}}"
|
|
|
- class="font-bold">修改</a></li>
|
|
|
- @endif
|
|
|
-
|
|
|
- @if(role('Album/Banner/destroy'))
|
|
|
- <li class="divider"></li>
|
|
|
- <li><a href="{{ U('Album/Banner/destroy',['id'=>$item->id])}}"
|
|
|
- onclick="return confirm('你确定执行删除操作?');">删除</a></li>
|
|
|
- @endif
|
|
|
-
|
|
|
- </ul>
|
|
|
+ <div class="pull-left">
|
|
|
+ @if(role('Album/Banner/update'))
|
|
|
+ <a href="{{ U('Album/Banner/update',['id'=>$item->id])}}" class="btn btn-sm btn-warning pull-right">修改</a>
|
|
|
+ @endif
|
|
|
+ @if(role('Album/Banner/destroy'))
|
|
|
+ <a href="{{ U('Album/Banner/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
@if(role('Album/Banner/view'))
|
|
|
<button onclick="layer.open({type: 2,area: ['80%', '90%'],content: '{{ U('Album/Banner/view',['id'=>$item->id])}}'});"
|