Ver código fonte

修改界面

pengzhibo168 5 anos atrás
pai
commit
7a8347d4d9
2 arquivos alterados com 9 adições e 5 exclusões
  1. 8 4
      web/index.html
  2. 1 1
      web/js/jqhttpsdk.js

+ 8 - 4
web/index.html

@@ -25,6 +25,10 @@
         td {
             white-space: nowrap;
         }
+        #in_button:hover{
+            background: black;
+            color: white;
+        }
     </style>
 </head>
 <body>
@@ -73,8 +77,8 @@
         <span>Settings</span><i class="fa fa-cog"></i>-->
 
     <!-- tab-top-bar -->
-    <div class="top-bar">
-        <input type="button" value="reset" onclick="onReset()">
+    <center class="top-bar">
+        <input id="in_button" type="button" value="reset" style="border: 1px solid #e6cdcd; height: 60px; width: 100px;" onclick="onReset()">
         <ul>
             <li>
                 <a href="login.html" title="Log Out">
@@ -94,7 +98,7 @@
 </li>
             -->
         </ul>
-    </div>
+    </center>
 
     <!-- tab-content -->
     <div class="tab-content" style="overflow: auto">
@@ -636,7 +640,7 @@
                     IndexTable()
                     //window.location.reload();
                 } else {
-                    alert(data['msg'])
+                    toastr["error"](data['msg'])
                 }
             }
         )

+ 1 - 1
web/js/jqhttpsdk.js

@@ -20,7 +20,7 @@ var http_ip_prot = convertTemp()+ "/";
 	}else{
 		console.log(http_ip_prot);
 	}
-
+	// http_ip_prot="http://192.168.136.39:8000/";
 
 
 // 获取访问路径