dyjh 6 rokov pred
rodič
commit
93500bbe2a

+ 14 - 20
resources/views/admin/album/agent/index.blade.php

xqd
@@ -56,26 +56,20 @@
             <td>{{ $item->name }}</td>
             <td>{{ $item->status }}</td>
 								<td>
-									@if(role('Album/Agent/update'))
-
-											<a href="{{ U('Album/Agent/update',['id'=>$item->id])}}" class="btn btn-sm btn-warning pull-right">修改</a>
-
-									@endif
-									@if($item->status == '待审核')
-
-											<a href="{{ U('Album/Agent/status',['id'=>$item->id,'status'=>1])}}" onclick="return confirm('你确定通过审核?');" class="btn btn-sm btn-success pull-right">通过审核</a>
-
-									@endif
-									@if(role('Album/Agent/destroy'))
-									
-											<a href="{{ U('Album/Agent/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
-
-									@endif
-									@if(role('Album/Agent/view'))
-
-											<a href="{{ U('Album/Product/Price/index',['id'=>$item->id])}}" class="btn btn-sm btn-primary pull-right">查看报价</a>
-
-									@endif
+									<div class="pull-left">
+										@if(role('Album/Agent/update'))
+												<a href="{{ U('Album/Agent/update',['id'=>$item->id])}}" class="btn btn-sm btn-warning pull-right">修改</a>
+										@endif
+										@if($item->status == '待审核')
+												<a href="{{ U('Album/Agent/status',['id'=>$item->id,'status'=>1])}}" onclick="return confirm('你确定通过审核?');" class="btn btn-sm btn-success pull-right">通过审核</a>
+										@endif
+										@if(role('Album/Agent/destroy'))
+												<a href="{{ U('Album/Agent/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');" class="btn btn-sm btn-danger pull-right">删除</a>
+										@endif
+										@if(role('Album/Agent/view'))
+												<a href="{{ U('Album/Product/Price/index',['id'=>$item->id])}}" class="btn btn-sm btn-primary pull-right">查看报价</a>
+										@endif
+									</div>
 								</td>
 							</tr>
 							@endforeach