Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
605da1ba
Commit
605da1ba
authored
Oct 03, 2023
by
longpanda
Browse files
Fix that bootpwd not working for VentoyPlugson. (#2584)
parent
c8dc36a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
37 deletions
+37
-37
Plugson/www/buildtime
Plugson/www/buildtime
+1
-1
Plugson/www/helplist
Plugson/www/helplist
+1
-1
Plugson/www/index.html
Plugson/www/index.html
+4
-4
Plugson/www/menulist
Plugson/www/menulist
+1
-1
Plugson/www/plugson_password.html
Plugson/www/plugson_password.html
+30
-30
No files found.
Plugson/www/buildtime
View file @
605da1ba
20221204 15:15:33
20231003 23:36:44
\ No newline at end of file
\ No newline at end of file
Plugson/www/helplist
View file @
605da1ba
ar_ARbn_BNde_DEen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsr_RSta_INtr_TRuk_UAzh_CNzh_TW
\ No newline at end of file
\ No newline at end of file
Plugson/www/index.html
View file @
605da1ba
...
@@ -757,7 +757,7 @@
...
@@ -757,7 +757,7 @@
<footer
class=
"main-footer"
>
<footer
class=
"main-footer"
>
<div
class=
"pull-right hidden-xs"
>
<div
class=
"pull-right hidden-xs"
>
<b
id=
"plugson_build_date"
>
202
21204 15:15:33
</b>
<b
id=
"plugson_build_date"
>
202
31003 23:36:44
</b>
</div>
</div>
<strong><a
href=
"https://www.ventoy.net"
target=
"_blank"
>
https://www.ventoy.net
</a></strong>
<strong><a
href=
"https://www.ventoy.net"
target=
"_blank"
>
https://www.ventoy.net
</a></strong>
</footer>
</footer>
...
@@ -777,10 +777,10 @@
...
@@ -777,10 +777,10 @@
<script
src=
"/static/js/jQuery-2.1.4.min.js"
></script>
<script
src=
"/static/js/jQuery-2.1.4.min.js"
></script>
<!-- jquery validate -->
<!-- jquery validate -->
<script
src=
"/static/js/jquery.validate.min.js"
></script>
<script
src=
"/static/js/jquery.validate.min.js"
></script>
<script
src=
"/static/js/jquery.validate.vtoymethods.js?v=1
42
"
></script>
<script
src=
"/static/js/jquery.validate.vtoymethods.js?v=1
89
"
></script>
<script
src=
"/static/js/jquery.vtoy.alert.js?v=1
42
"
></script>
<script
src=
"/static/js/jquery.vtoy.alert.js?v=1
89
"
></script>
<script
src=
"/static/js/vtoy.js?v=1
42
"
></script>
<script
src=
"/static/js/vtoy.js?v=1
89
"
></script>
<script
src=
"/static/js/md5.min.js"
></script>
<script
src=
"/static/js/md5.min.js"
></script>
<!-- Bootstrap 3.3.5 -->
<!-- Bootstrap 3.3.5 -->
...
...
Plugson/www/menulist
View file @
605da1ba
ar_ARbn_BNde_DEen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsl_sisr_RSta_INtr_TRuk_UAzh_CNzh_TW
\ No newline at end of file
\ No newline at end of file
Plugson/www/plugson_password.html
View file @
605da1ba
...
@@ -185,13 +185,13 @@
...
@@ -185,13 +185,13 @@
CommonPasswordEntry
(
$tbl
,
'
efipwd
'
,
'
所有 .efi 文件的默认密码。
'
,
'
Default password for all .efi files.
'
);
CommonPasswordEntry
(
$tbl
,
'
efipwd
'
,
'
所有 .efi 文件的默认密码。
'
,
'
Default password for all .efi files.
'
);
CommonPasswordEntry
(
$tbl
,
'
vtoypwd
'
,
'
所有 .vtoy 文件的默认密码。
'
,
'
Default password for all .vtoy files.
'
);
CommonPasswordEntry
(
$tbl
,
'
vtoypwd
'
,
'
所有 .vtoy 文件的默认密码。
'
,
'
Default password for all .vtoy files.
'
);
$
(
'
input:
text
[id=id_bootpwd]
'
).
val
(
data
.
bootpwd
);
$
(
'
input:
password
[id=id_bootpwd]
'
).
val
(
data
.
bootpwd
);
$
(
'
input:
text
[id=id_isopwd]
'
).
val
(
data
.
isopwd
);
$
(
'
input:
password
[id=id_isopwd]
'
).
val
(
data
.
isopwd
);
$
(
'
input:
text
[id=id_wimpwd]
'
).
val
(
data
.
wimpwd
);
$
(
'
input:
password
[id=id_wimpwd]
'
).
val
(
data
.
wimpwd
);
$
(
'
input:
text
[id=id_imgpwd]
'
).
val
(
data
.
imgpwd
);
$
(
'
input:
password
[id=id_imgpwd]
'
).
val
(
data
.
imgpwd
);
$
(
'
input:
text
[id=id_efipwd]
'
).
val
(
data
.
efipwd
);
$
(
'
input:
password
[id=id_efipwd]
'
).
val
(
data
.
efipwd
);
$
(
'
input:
text
[id=id_vhdpwd]
'
).
val
(
data
.
vhdpwd
);
$
(
'
input:
password
[id=id_vhdpwd]
'
).
val
(
data
.
vhdpwd
);
$
(
'
input:
text
[id=id_vtoypwd]
'
).
val
(
data
.
vtoypwd
);
$
(
'
input:
password
[id=id_vtoypwd]
'
).
val
(
data
.
vtoypwd
);
}
}
function
FillMenuPwdTable
(
data
)
{
function
FillMenuPwdTable
(
data
)
{
...
@@ -240,13 +240,13 @@
...
@@ -240,13 +240,13 @@
}
}
function
VtoyGetCurrentPageItem
(
data
)
{
function
VtoyGetCurrentPageItem
(
data
)
{
data
.
bootpwd
=
$
(
'
input:
text
[id=id_bootpwd]
'
).
val
();
data
.
bootpwd
=
$
(
'
input:
password
[id=id_bootpwd]
'
).
val
();
data
.
isopwd
=
$
(
'
input:
text
[id=id_isopwd]
'
).
val
();
data
.
isopwd
=
$
(
'
input:
password
[id=id_isopwd]
'
).
val
();
data
.
wimpwd
=
$
(
'
input:
text
[id=id_wimpwd]
'
).
val
();
data
.
wimpwd
=
$
(
'
input:
password
[id=id_wimpwd]
'
).
val
();
data
.
imgpwd
=
$
(
'
input:
text
[id=id_imgpwd]
'
).
val
();
data
.
imgpwd
=
$
(
'
input:
password
[id=id_imgpwd]
'
).
val
();
data
.
efipwd
=
$
(
'
input:
text
[id=id_efipwd]
'
).
val
();
data
.
efipwd
=
$
(
'
input:
password
[id=id_efipwd]
'
).
val
();
data
.
vhdpwd
=
$
(
'
input:
text
[id=id_vhdpwd]
'
).
val
();
data
.
vhdpwd
=
$
(
'
input:
password
[id=id_vhdpwd]
'
).
val
();
data
.
vtoypwd
=
$
(
'
input:
text
[id=id_vtoypwd]
'
).
val
();
data
.
vtoypwd
=
$
(
'
input:
password
[id=id_vtoypwd]
'
).
val
();
}
}
function
VtoySaveCurrentPage
()
{
function
VtoySaveCurrentPage
()
{
...
@@ -417,7 +417,7 @@ function VtoySetPassword(common, type, cb, data) {
...
@@ -417,7 +417,7 @@ function VtoySetPassword(common, type, cb, data) {
});
});
function
set_common_pwd_callback
(
path
,
pwd
,
type
,
data
)
{
function
set_common_pwd_callback
(
path
,
pwd
,
type
,
data
)
{
var
selector
=
'
input:
text
[id=id_
'
+
data
+
'
]
'
;
var
selector
=
'
input:
password
[id=id_
'
+
data
+
'
]
'
;
var
value
=
format_password
(
pwd
,
type
);
var
value
=
format_password
(
pwd
,
type
);
$
(
selector
).
val
(
value
);
$
(
selector
).
val
(
value
);
...
@@ -433,7 +433,7 @@ function VtoySetPassword(common, type, cb, data) {
...
@@ -433,7 +433,7 @@ function VtoySetPassword(common, type, cb, data) {
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
//id_btn_clr_
//id_btn_clr_
var
selector
=
'
input:
text
[id=id_
'
+
id
.
substr
(
11
)
+
'
]
'
;
var
selector
=
'
input:
password
[id=id_
'
+
id
.
substr
(
11
)
+
'
]
'
;
$
(
selector
).
val
(
''
);
$
(
selector
).
val
(
''
);
VtoySaveCurrentPage
();
VtoySaveCurrentPage
();
});
});
...
@@ -525,13 +525,13 @@ function VtoySetPassword(common, type, cb, data) {
...
@@ -525,13 +525,13 @@ function VtoySetPassword(common, type, cb, data) {
});
});
function
VtoySaveCurrentPage
()
{
function
VtoySaveCurrentPage
()
{
var
bootpwd
=
$
(
'
input:
text
[id=id_bootpwd]
'
).
val
();
var
bootpwd
=
$
(
'
input:
password
[id=id_bootpwd]
'
).
val
();
var
isopwd
=
$
(
'
input:
text
[id=id_isopwd]
'
).
val
();
var
isopwd
=
$
(
'
input:
password
[id=id_isopwd]
'
).
val
();
var
wimpwd
=
$
(
'
input:
text
[id=id_wimpwd]
'
).
val
();
var
wimpwd
=
$
(
'
input:
password
[id=id_wimpwd]
'
).
val
();
var
imgpwd
=
$
(
'
input:
text
[id=id_imgpwd]
'
).
val
();
var
imgpwd
=
$
(
'
input:
password
[id=id_imgpwd]
'
).
val
();
var
vhdpwd
=
$
(
'
input:
text
[id=id_vhdpwd]
'
).
val
();
var
vhdpwd
=
$
(
'
input:
password
[id=id_vhdpwd]
'
).
val
();
var
efipwd
=
$
(
'
input:
text
[id=id_efipwd]
'
).
val
();
var
efipwd
=
$
(
'
input:
password
[id=id_efipwd]
'
).
val
();
var
vtoypwd
=
$
(
'
input:
text
[id=id_vtoypwd]
'
).
val
();
var
vtoypwd
=
$
(
'
input:
password
[id=id_vtoypwd]
'
).
val
();
callVtoy
({
callVtoy
({
method
:
'
save_password
'
,
method
:
'
save_password
'
,
...
@@ -548,13 +548,13 @@ function VtoySetPassword(common, type, cb, data) {
...
@@ -548,13 +548,13 @@ function VtoySetPassword(common, type, cb, data) {
});
});
}
}
$
(
'
input:
text
[id=id_bootpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_bootpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_isopwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_isopwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_wimpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_wimpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_imgpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_imgpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_vhdpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_vhdpwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_efipwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_efipwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
text
[id=id_vtoypwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
input:
password
[id=id_vtoypwd]
'
).
change
(
VtoySaveCurrentPage
);
$
(
'
#id_tab_password a[href="#tab_0"]
'
).
click
(
OnClickMultiModeTab
);
$
(
'
#id_tab_password a[href="#tab_0"]
'
).
click
(
OnClickMultiModeTab
);
$
(
'
#id_tab_password a[href="#tab_1"]
'
).
click
(
OnClickMultiModeTab
);
$
(
'
#id_tab_password a[href="#tab_1"]
'
).
click
(
OnClickMultiModeTab
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment