Browse Source

合并PR #10 从 xcxnig

移除冗余文件,修复UI错误
NimaQu 7 years ago
parent
commit
11c6fc4c52

+ 1 - 1
app/Command/XCat.php

@@ -111,7 +111,7 @@ class XCat
 
     public function initdownload()
     {
-        system('git clone https://github.com/esdeathlove/panel-download.git '.BASE_PATH."/public/ssr-download/", $ret);
+        system('git clone https://github.com/xcxnig/ssr-download.git '.BASE_PATH."/public/ssr-download/", $ret);
         echo $ret;
     }
 

BIN
public/SSTap.7z


+ 1 - 1
public/theme/material/css/project.css

@@ -261,6 +261,6 @@ body {
   margin-top: 10px;
 }
 
-.pagination {
+.table-responsive ul {
 display:none;
 }

+ 0 - 4
resources/views/material/admin/yftOrder.tpl

@@ -53,7 +53,6 @@
                 <a class="btn btn-brand" href="javascript:void(0)" id="pre" onclick="goto('pre')">上一页</a>
                 <a class="btn btn-brand" href="javascript:void(0)" id="nxt" onclick="goto('next')">下一页</a>
                 <a class="btn btn-brand" href="javascript:void(0)" id="end" onclick="goto('end')">尾页</a>
-                {$orderList->render()}
         </div>
     </div>
 </main>
@@ -64,19 +63,16 @@
         var currentPage = $("#currentPage").val();
         if ("pre" == type){
             if (currentPage == 1 || currentPage == ""){
-                $("#pre").removeAttr('onclick');
             }else {
                 window.location.href = "/admin/yftOrder?page=" + {$currentPage -1};
             }
         }else if ("next" == type){
             if (currentPage == countPage){
-                $("#pre").removeAttr('onclick');
             }else {
                 window.location.href = "/admin/yftOrder?page=" + {$currentPage -1};
             }
         }else if ("end" == type){
             if (countPage == currentPage){
-                $("#end").removeAttr('onclick');
             }else {
                 window.location.href = "/admin/yftOrder?page=" + countPage;
             }