Browse Source

界面优化

admin 7 years ago
parent
commit
883a6d320a

+ 3 - 3
resources/views/admin/addNode.blade.php

@@ -193,15 +193,15 @@
                                                 </div>
                                                 <div class="portlet-body">
                                                     <div class="form-group">
-                                                        <label for="service" class="col-md-3 control-label">服务类型</label>
+                                                        <label for="service" class="col-md-3 control-label">类型</label>
                                                         <div class="col-md-8">
                                                             <div class="mt-radio-inline">
                                                                 <label class="mt-radio">
-                                                                    <input type="radio" name="service" value="1" checked> SS/SSR
+                                                                    <input type="radio" name="service" value="1" checked> Shadowsocks(R)
                                                                     <span></span>
                                                                 </label>
                                                                 <label class="mt-radio">
-                                                                    <input type="radio" name="service" value="2"> V2ray
+                                                                    <input type="radio" name="service" value="2"> V2Ray
                                                                     <span></span>
                                                                 </label>
                                                             </div>

+ 3 - 3
resources/views/admin/editNode.blade.php

@@ -192,15 +192,15 @@
                                                 </div>
                                                 <div class="portlet-body">
                                                     <div class="form-group">
-                                                        <label for="service" class="col-md-3 control-label">服务类型</label>
+                                                        <label for="service" class="col-md-3 control-label">类型</label>
                                                         <div class="col-md-8">
                                                             <div class="mt-radio-inline">
                                                                 <label class="mt-radio">
-                                                                    <input type="radio" name="service" value="1" @if($node->type == 1) checked @endif> SS/SSR
+                                                                    <input type="radio" name="service" value="1" @if($node->type == 1) checked @endif> Shadowsocks(R)
                                                                     <span></span>
                                                                 </label>
                                                                 <label class="mt-radio">
-                                                                    <input type="radio" name="service" value="2" @if($node->type == 2) checked @endif> V2ray
+                                                                    <input type="radio" name="service" value="2" @if($node->type == 2) checked @endif> V2Ray
                                                                     <span></span>
                                                                 </label>
                                                             </div>

+ 4 - 2
resources/views/admin/nodeList.blade.php

@@ -38,7 +38,8 @@
                                 <thead>
                                 <tr>
                                     <th> <span class="node-id"><a href="javascript:showIdTips();">ID</a></span> </th>
-                                    <th> 节点名称 </th>
+                                    <th> 类型 </th>
+                                    <th> 名称 </th>
                                     <th> IP </th>
                                     <th> 绑定域名 </th>
                                     <th> 状态 </th>
@@ -52,12 +53,13 @@
                                 <tbody>
                                     @if($nodeList->isEmpty())
                                         <tr>
-                                            <td colspan="10" style="text-align: center;">暂无数据</td>
+                                            <td colspan="11" style="text-align: center;">暂无数据</td>
                                         </tr>
                                     @else
                                         @foreach($nodeList as $node)
                                             <tr class="odd gradeX">
                                                 <td> {{$node->id}} </td>
+                                                <td> {{$node->type == 2 ? 'V2Ray' : 'Shadowsocks(R)'}} </td>
                                                 <td> {{$node->name}} </td>
                                                 <td> <span class="label {{$node->status ? 'label-danger' : 'label-default'}}">{{$node->ip}}</span> </td>
                                                 <td> <span class="label {{$node->status ? 'label-danger' : 'label-default'}}">{{$node->server}}</span> </td>