瀏覽代碼

chore: adjust color styles

M1Screw 1 年之前
父節點
當前提交
9b06275082

+ 4 - 3
resources/views/tabler/admin/index.tpl

@@ -172,7 +172,7 @@
                 grid: {
                     strokeDashArray: 3,
                 },
-                colors: ["#0780cf", "#009db2", "#fa6d1d"],
+                colors: [tabler.getColor("azure"), tabler.getColor("cyan"), tabler.getColor("orange")],
                 legend: {
                     show: true,
                     position: 'bottom',
@@ -212,7 +212,7 @@
                 grid: {
                     strokeDashArray: 2,
                 },
-                colors: ["#71ae46", "#d85d2a"],
+                colors: [tabler.getColor("lime"), tabler.getColor("red")],
                 legend: {
                     show: true,
                     position: 'bottom',
@@ -252,7 +252,7 @@
                 grid: {
                     strokeDashArray: 4,
                 },
-                colors: ["#f59311", "#6ca30f"],
+                colors: [tabler.getColor("yellow"), tabler.getColor("lime")],
                 legend: {
                     show: true,
                     position: 'bottom',
@@ -292,6 +292,7 @@
                 grid: {
                     strokeDashArray: 3,
                 },
+                colors: [tabler.getColor("green"), tabler.getColor("lime"), tabler.getColor("yellow")],
                 legend: {
                     show: true,
                     position: 'bottom',

+ 6 - 6
resources/views/tabler/user/header.tpl

@@ -109,12 +109,6 @@
                                                 订阅日志
                                             </a>
                                         {/if}
-                                        {if $public_setting['traffic_log']}
-                                            <a class="dropdown-item" href="/user/traffic">
-                                                <i class="ti ti-traffic-lights"></i>&nbsp;
-                                                流量日志
-                                            </a>
-                                        {/if}
                                         <a class="dropdown-item" href="/user/invite">
                                             <i class="ti ti-friends"></i>&nbsp;
                                             邀请
@@ -142,6 +136,12 @@
                                     <i class="ti ti-chart-bar"></i>&nbsp;
                                     流量倍率
                                 </a>
+                                {if $public_setting['traffic_log']}
+                                    <a class="dropdown-item" href="/user/traffic">
+                                        <i class="ti ti-traffic-lights"></i>&nbsp;
+                                        流量日志
+                                    </a>
+                                {/if}
                             </div>
                         </li>
                         <li class="nav-item dropdown">

+ 2 - 2
resources/views/tabler/user/index.tpl

@@ -76,7 +76,7 @@
                                 <div class="card-body">
                                     <div class="row align-items-center">
                                         <div class="col-auto">
-                                            <span class="bg-twitter text-white avatar">
+                                            <span class="bg-azure text-white avatar">
                                                 <i class="ti ti-devices-pc icon"></i>
                                             </span>
                                         </div>
@@ -101,7 +101,7 @@
                                 <div class="card-body">
                                     <div class="row align-items-center">
                                         <div class="col-auto">
-                                            <span class="bg-facebook text-white avatar">
+                                            <span class="bg-indigo text-white avatar">
                                                 <i class="ti ti-rocket icon"></i>
                                             </span>
                                         </div>