admin panel version update

This commit is contained in:
Roman Hergenreder 2021-01-07 17:11:23 +01:00
parent e046ea7ed9
commit 61cebd4052
5 changed files with 9 additions and 17 deletions

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

@ -5,7 +5,7 @@ export default function Footer() {
return ( return (
<footer className={"main-footer"}> <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; 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> </footer>
) )
} }

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

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

2
js/admin.min.js vendored

File diff suppressed because one or more lines are too long