[Frontend] JsTree 樹狀架構套件引入 | 開發機 login 調整
This commit is contained in:
parent
9d02c456ba
commit
0ea1d81f25
@ -35,6 +35,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
|
|||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link href="lib/fontawesome-free/css/all.min.css" rel="stylesheet" />
|
<link href="lib/fontawesome-free/css/all.min.css" rel="stylesheet" />
|
||||||
<link href="lib/chart.js/Chart.min.css" rel="stylesheet" />
|
<link href="lib/chart.js/Chart.min.css" rel="stylesheet" />
|
||||||
|
<link href="lib/jstree-master/themes/default-dark/style.min.css" rel="stylesheet" />
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||||
<link rel="stylesheet" media="screen, print" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap.min.css">
|
<link rel="stylesheet" media="screen, print" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap.min.css">
|
||||||
<link rel="stylesheet" media="screen, print" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css">
|
<link rel="stylesheet" media="screen, print" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css">
|
||||||
@ -2136,7 +2137,8 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
|
|||||||
"lib/jquery-validation/dist/additional-methods.min",
|
"lib/jquery-validation/dist/additional-methods.min",
|
||||||
"lib/jquery-validation/dist/localization/messages_zh_TW",
|
"lib/jquery-validation/dist/localization/messages_zh_TW",
|
||||||
"lib/chart.js/Chart.min",
|
"lib/chart.js/Chart.min",
|
||||||
"lib/dropzone/dropzone-min"
|
"lib/dropzone/dropzone-min",
|
||||||
|
"lib/jstree-master/jstree.min",
|
||||||
], loadedMasterPack);
|
], loadedMasterPack);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -2168,6 +2170,9 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
|
|||||||
loadEvent();
|
loadEvent();
|
||||||
|
|
||||||
if (!jwt) {
|
if (!jwt) {
|
||||||
|
if (location.href.indexOf("localhost:5966") != -1) {
|
||||||
|
location.href = "login.html";
|
||||||
|
}
|
||||||
myBaja = new MyBaja();
|
myBaja = new MyBaja();
|
||||||
myBaja.setMyUserAccount(Login);
|
myBaja.setMyUserAccount(Login);
|
||||||
} else {
|
} else {
|
||||||
|
8663
Frontend/lib/jstree-master/jstree.js
Normal file
8663
Frontend/lib/jstree-master/jstree.js
Normal file
File diff suppressed because it is too large
Load Diff
6
Frontend/lib/jstree-master/jstree.min.js
vendored
Normal file
6
Frontend/lib/jstree-master/jstree.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
Frontend/lib/jstree-master/themes/default-dark/32px.png
Normal file
BIN
Frontend/lib/jstree-master/themes/default-dark/32px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
Frontend/lib/jstree-master/themes/default-dark/40px.png
Normal file
BIN
Frontend/lib/jstree-master/themes/default-dark/40px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
1146
Frontend/lib/jstree-master/themes/default-dark/style.css
Normal file
1146
Frontend/lib/jstree-master/themes/default-dark/style.css
Normal file
File diff suppressed because it is too large
Load Diff
1
Frontend/lib/jstree-master/themes/default-dark/style.min.css
vendored
Normal file
1
Frontend/lib/jstree-master/themes/default-dark/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
Frontend/lib/jstree-master/themes/default-dark/throbber.gif
Normal file
BIN
Frontend/lib/jstree-master/themes/default-dark/throbber.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
Frontend/lib/jstree-master/themes/default/32px.png
Normal file
BIN
Frontend/lib/jstree-master/themes/default/32px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
Frontend/lib/jstree-master/themes/default/40px.png
Normal file
BIN
Frontend/lib/jstree-master/themes/default/40px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
1102
Frontend/lib/jstree-master/themes/default/style.css
Normal file
1102
Frontend/lib/jstree-master/themes/default/style.css
Normal file
File diff suppressed because it is too large
Load Diff
1
Frontend/lib/jstree-master/themes/default/style.min.css
vendored
Normal file
1
Frontend/lib/jstree-master/themes/default/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
Frontend/lib/jstree-master/themes/default/throbber.gif
Normal file
BIN
Frontend/lib/jstree-master/themes/default/throbber.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
@ -91,6 +91,7 @@
|
|||||||
</html>
|
</html>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
var cookies = null;
|
||||||
var remember = false;
|
var remember = false;
|
||||||
var myBaja = null;
|
var myBaja = null;
|
||||||
$(function () {
|
$(function () {
|
||||||
@ -116,6 +117,7 @@
|
|||||||
function loadedMasterPack() {
|
function loadedMasterPack() {
|
||||||
require(
|
require(
|
||||||
[
|
[
|
||||||
|
"yourteam/yourteam.utility.class",
|
||||||
"init",
|
"init",
|
||||||
], loadedJsPack);
|
], loadedJsPack);
|
||||||
}
|
}
|
||||||
@ -199,6 +201,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
function Login(account, e) {
|
function Login(account, e) {
|
||||||
|
cookies = new YourTeam.Utility.Cookie();
|
||||||
e ? e.preventDefault() : "";
|
e ? e.preventDefault() : "";
|
||||||
/*if ($("#login-form").valid()) {*/
|
/*if ($("#login-form").valid()) {*/
|
||||||
var url = baseApiUrl + "/api/Login/";
|
var url = baseApiUrl + "/api/Login/";
|
||||||
|
Loading…
Reference in New Issue
Block a user