zhangjiangbin 8 лет назад
Родитель
Сommit
0333db5200

+ 6 - 2
resources/views/admin/articleList.blade.php

@@ -61,8 +61,12 @@
                                             <td> {{$article->sort}} </td>
                                             <td> {{$article->created_at}} </td>
                                             <td>
-                                                <button type="button" class="btn btn-sm blue btn-outline" onclick="editArticle('{{$article->id}}')">编辑</button>
-                                                <button type="button" class="btn btn-sm red btn-outline" onclick="delArticle('{{$article->id}}')">删除</button>
+                                                <button type="button" class="btn btn-sm blue btn-outline" onclick="editArticle('{{$article->id}}')">
+                                                    <i class="fa fa-pencil"></i>
+                                                </button>
+                                                <button type="button" class="btn btn-sm red btn-outline" onclick="delArticle('{{$article->id}}')">
+                                                    <i class="fa fa-trash"></i>
+                                                </button>
                                             </td>
                                         </tr>
                                     @endforeach

+ 6 - 2
resources/views/admin/groupList.blade.php

@@ -62,8 +62,12 @@
                                                     <span class="label label-warning">{{empty($level_dict) ? '' : $level_dict[$group->level]}}</span>
                                                 </td>
                                                 <td>
-                                                    <button type="button" class="btn btn-sm blue btn-outline" onclick="editGroup('{{$group->id}}')">编辑</button>
-                                                    <button type="button" class="btn btn-sm red btn-outline" onclick="delGroup('{{$group->id}}')">删除</button>
+                                                    <button type="button" class="btn btn-sm blue btn-outline" onclick="editGroup('{{$group->id}}')">
+                                                        <i class="fa fa-pencil"></i>
+                                                    </button>
+                                                    <button type="button" class="btn btn-sm red btn-outline" onclick="delGroup('{{$group->id}}')">
+                                                        <i class="fa fa-trash"></i>
+                                                    </button>
                                                 </td>
                                             </tr>
                                         @endforeach

+ 9 - 3
resources/views/admin/nodeList.blade.php

@@ -82,9 +82,15 @@
                                                 <td> <span class="label label-info"> {{$node->protocol}} </span> </td>
                                                 <td> <span class="label label-info"> {{$node->obfs}} </span> </td>
                                                 <td>
-                                                    <button type="button" class="btn btn-sm blue btn-outline" onclick="editNode('{{$node->id}}')">编辑</button>
-                                                    <button type="button" class="btn btn-sm red btn-outline" onclick="delNode('{{$node->id}}')">删除</button>
-                                                    <button type="button" class="btn btn-sm green btn-outline" onclick="nodeMonitor('{{$node->id}}')">流量监控</button>
+                                                    <button type="button" class="btn btn-sm blue btn-outline" onclick="editNode('{{$node->id}}')">
+                                                        <i class="fa fa-pencil"></i>
+                                                    </button>
+                                                    <button type="button" class="btn btn-sm red btn-outline" onclick="delNode('{{$node->id}}')">
+                                                        <i class="fa fa-trash"></i>
+                                                    </button>
+                                                    <button type="button" class="btn btn-sm purple btn-outline" onclick="nodeMonitor('{{$node->id}}')">
+                                                        <i class="fa fa-area-chart"></i>
+                                                    </button>
                                                 </td>
                                             </tr>
                                         @endforeach