Browse Source

admin panel version update

Roman Hergenreder 3 years ago
parent
commit
61cebd4052
5 changed files with 8 additions and 16 deletions
  1. 3 10
      adminPanel/package-lock.json
  2. 2 2
      adminPanel/src/footer.js
  3. 1 2
      adminPanel/src/header.js
  4. 2 2
      js/account.js
  5. 0 0
      js/admin.min.js

+ 3 - 10
adminPanel/package-lock.json

@@ -2358,13 +2358,6 @@
         "num2fraction": "^1.2.2",
         "postcss": "^7.0.32",
         "postcss-value-parser": "^4.1.0"
-      },
-      "dependencies": {
-        "caniuse-lite": {
-          "version": "1.0.30001088",
-          "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001088.tgz",
-          "integrity": "sha512-6eYUrlShRYveyqKG58HcyOfPgh3zb2xqs7NvT2VVtP3hEUeeWvc3lqhpeMTxYWBBeeaT9A4bKsrtjATm66BTHg=="
-        }
       }
     },
     "aws-sign2": {
@@ -3368,9 +3361,9 @@
       }
     },
     "caniuse-lite": {
-      "version": "1.0.30001083",
-      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001083.tgz",
-      "integrity": "sha512-CnYJ27awX4h7yj5glfK7r1TOI13LBytpLzEgfj0s4mY75/F8pnQcYjL+oVpmS38FB59+vU0gscQ9D8tc+lIXvA=="
+      "version": "1.0.30001173",
+      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001173.tgz",
+      "integrity": "sha512-R3aqmjrICdGCTAnSXtNyvWYMK3YtV5jwudbq0T7nN9k4kmE4CBuwPqyJ+KBzepSTh0huivV2gLbSMEzTTmfeYw=="
     },
     "capture-exit": {
       "version": "2.0.0",

+ 2 - 2
adminPanel/src/footer.js

@@ -5,7 +5,7 @@ export default function Footer() {
     return (
         <footer className={"main-footer"}>
             Theme: <strong>Copyright © 2014-2019 <a href={"http://adminlte.io"}>AdminLTE.io</a>. <b>Version</b> 3.0.3</strong>&nbsp;
-            CMS: <strong><a href={"https://git.romanh.de/Projekte/web-base"}>WebBase</a></strong>. <b>Version</b> 1.0.3
+            CMS: <strong><a href={"https://git.romanh.de/Projekte/web-base"}>WebBase</a></strong>. <b>Version</b> 1.1.0
         </footer>
     )
-}
+}

+ 1 - 2
adminPanel/src/header.js

@@ -36,7 +36,6 @@ export default function Header(props) {
     }
 
     function onToggleSidebar() {
-        console.log(document.body.classList);
         let classes = document.body.classList;
         if (classes.contains("sidebar-collapse")) {
             classes.remove("sidebar-collapse");
@@ -99,4 +98,4 @@ export default function Header(props) {
             </ul>
         </nav>
     )
-}
+}

+ 2 - 2
js/account.js

@@ -27,8 +27,8 @@ $(document).ready(function () {
     }
 
     // Login
-    $("#username").keypress(function (e) { if(e.which == 13) $("#password").focus(); });
-    $("#password").keypress(function (e) { if(e.which == 13) $("#btnLogin").click(); });
+    $("#username").keypress(function (e) { if(e.which === 13) $("#password").focus(); });
+    $("#password").keypress(function (e) { if(e.which === 13) $("#btnLogin").click(); });
     $("#btnLogin").click(function() {
         const username = $("#username").val();
         const password = $("#password").val();

File diff suppressed because it is too large
+ 0 - 0
js/admin.min.js


Some files were not shown because too many files changed in this diff