This commit is contained in:
KOWX712
2025-02-21 01:18:07 +08:00
parent b6c81362fe
commit ac4ff62cce
14 changed files with 67 additions and 57 deletions

View File

@@ -218,11 +218,12 @@
<!-- BootHash Input Overlay --> <!-- BootHash Input Overlay -->
<div id="boot-hash-overlay" class="boot-hash-overlay"></div> <div id="boot-hash-overlay" class="boot-hash-overlay"></div>
<div id="boot-hash-card" class="boot-hash-card"> <div id="boot-hash-card" class="boot-hash-card">
<div class="boot-hash-title" data-i18n="boot_hash.title"></div>
<div class="boot-hash-value"> <div class="boot-hash-value">
<textarea id="boot-hash-input" class="input-box" placeholder="Paste your verified Boot Hash here" data-i18n="reset_vbmeta.boot_hash_input_placeholder"></textarea> <textarea id="boot-hash-input" class="input-box" placeholder="Paste your verified Boot Hash here" data-i18n="boot_hash.input_placeholder"></textarea>
</div> </div>
<div class="button-container"> <div class="boot-hash-button-container">
<button id="boot-hash-save-button" class="boot-hash-save-button" data-i18n="reset_vbmeta.boot_hash_save_button"></button> <button id="boot-hash-save-button" class="boot-hash-save-button" data-i18n="boot_hash.save_button"></button>
</div> </div>
</div> </div>

View File

@@ -54,9 +54,10 @@
"set_security_patch": "Set Security Patch", "set_security_patch": "Set Security Patch",
"about": "About" "about": "About"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "Paste your verified Boot Hash here", "title": "Boot Hash",
"boot_hash_save_button": "Save" "input_placeholder": "Paste your verified Boot Hash here",
"save_button": "Save"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_security_patch": "Set Security Patch", "set_security_patch": "Set Security Patch",
"about": "About" "about": "About"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "Paste your verified Boot Hash here", "title": "Boot Hash",
"boot_hash_save_button": "Save" "input_placeholder": "Paste your verified Boot Hash here",
"save_button": "Save"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_verified_boot_hash": "Configurar Boot Hash Verificado", "set_verified_boot_hash": "Configurar Boot Hash Verificado",
"about": "Acerca de" "about": "Acerca de"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "Pega aquí tu Boot Hash verificado", "title": "Boot Hash",
"boot_hash_save_button": "Guardar" "input_placeholder": "Pega aquí tu Boot Hash verificado",
"save_button": "Guardar"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_security_patch": "セキュリティパッチを設定", "set_security_patch": "セキュリティパッチを設定",
"about": "このアドオンについて" "about": "このアドオンについて"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "確認付きブートハッシュをここに貼り付け", "title": "ブートハッシュ",
"boot_hash_save_button": "保存" "input_placeholder": "確認付きブートハッシュをここに貼り付け",
"save_button": "保存"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_verified_boot_hash": "Установить Verified Boot Hash", "set_verified_boot_hash": "Установить Verified Boot Hash",
"about": "О программе" "about": "О программе"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "Вставьте свой проверенный Boot Hash сюда", "title": "Boot Hash",
"boot_hash_save_button": "Сохранить" "input_placeholder": "Вставьте свой проверенный Boot Hash сюда",
"save_button": "Сохранить"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_security_patch": "I-set ang Security Patch", "set_security_patch": "I-set ang Security Patch",
"about": "Tungkol" "about": "Tungkol"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "I-paste ang iyong verified Boot Hash dito", "title": "Boot Hash",
"boot_hash_save_button": "I-save" "input_placeholder": "I-paste ang iyong verified Boot Hash dito",
"save_button": "I-save"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_verified_boot_hash": "Doğrulanmış Boot Hash Ayarla", "set_verified_boot_hash": "Doğrulanmış Boot Hash Ayarla",
"about": "Hakkında" "about": "Hakkında"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "Doğrulanmış Boot Hash'inizi buraya yapıştırın", "title": "Boot Hash",
"boot_hash_save_button": "Kaydet" "input_placeholder": "Doğrulanmış Boot Hash'inizi buraya yapıştırın",
"save_button": "Kaydet"
}, },
"about": { "about": {
"module_name_line1": "Tricky Addon", "module_name_line1": "Tricky Addon",

View File

@@ -54,9 +54,10 @@
"set_verified_boot_hash": "设置哈希值", "set_verified_boot_hash": "设置哈希值",
"about": "关于" "about": "关于"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "在此粘贴您的哈希值", "title": "哈希值",
"boot_hash_save_button": "保存" "input_placeholder": "在此粘贴您的哈希值",
"save_button": "保存"
}, },
"about": { "about": {
"module_name_line1": "TS插件", "module_name_line1": "TS插件",

View File

@@ -54,9 +54,10 @@
"set_verified_boot_hash": "設置哈希值", "set_verified_boot_hash": "設置哈希值",
"about": "關於" "about": "關於"
}, },
"reset_vbmeta": { "boot_hash": {
"boot_hash_input_placeholder": "在此貼上您的哈希值", "title": "哈希值",
"boot_hash_save_button": "保存" "input_placeholder": "在此貼上您的哈希值",
"save_button": "保存"
}, },
"about": { "about": {
"module_name_line1": "TS 插件", "module_name_line1": "TS 插件",

View File

@@ -15,16 +15,16 @@
.boot-hash-card { .boot-hash-card {
position: fixed; position: fixed;
top: 30%; top: 10%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translateX(-50%);
width: 80vw; width: calc(90% - 60px);
max-width: 600px; max-width: 300px;
background-color: #fff; background-color: #fff;
border-radius: 18px; border-radius: 18px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
z-index: 1200; z-index: 1200;
padding: 20px; padding: 30px;
display: none; display: none;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;
@@ -42,6 +42,13 @@
opacity: 1; opacity: 1;
} }
.boot-hash-title {
width: 100%;
font-size: 26px;
text-align: center;
user-select: none;
}
.boot-hash-value { .boot-hash-value {
width: 100%; width: 100%;
height: 100px; height: 100px;
@@ -68,20 +75,21 @@
outline-color: #007bff; outline-color: #007bff;
} }
.button-container { .boot-hash-button-container {
display: flex; display: flex;
justify-content: flex-start; justify-content: center;
margin-top: 10px;
} }
.boot-hash-save-button { .boot-hash-save-button {
padding: 10px 20px; width: 50%;
padding: 12px;
border: none; border: none;
border-radius: 38px; border-radius: 12px;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
background-color: #007bff; background-color: #007bff;
color: white; color: white;
margin-left: auto;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
user-select: none; user-select: none;

View File

@@ -28,10 +28,10 @@ body {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
opacity: 0; opacity: 0;
padding: 10px 20px; padding: 12px 24px;
font-size: 20px; font-size: 22px;
font-weight: bold; font-weight: bold;
transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); transition: transform 0.4s ease;
border-radius: 50px 50px; border-radius: 50px 50px;
overflow: hidden; overflow: hidden;
user-select: none; user-select: none;
@@ -74,25 +74,16 @@ body {
.footer { .footer {
display: flex; display: flex;
justify-content: space-between; justify-content: flex-end;
align-items: center;
width: calc(100% - 10px);
max-width: 1100px; max-width: 1100px;
padding: 25px 0; margin-bottom: 70px;
position: relative;
margin-left: auto;
margin-right: auto;
} }
.uninstall-container { .uninstall-container {
padding: 10px 10px; padding: 12px;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
display: flex; display: flex;
align-items: center; align-items: center;
border-radius: 8px; border-radius: 12px;
background-color: #CE0000; background-color: #CE0000;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;

View File

@@ -8,7 +8,7 @@
width: calc(100% - 10px); width: calc(100% - 10px);
max-width: 1100px; max-width: 1100px;
background-color: #F5F5F5; background-color: #F5F5F5;
transition: transform 0.2s ease; transition: transform 0.4s ease;
z-index: 1100; z-index: 1100;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;

View File

@@ -122,6 +122,7 @@
} }
.button-container { .button-container {
display: flex;
width: 100%; width: 100%;
gap: 10px; gap: 10px;
margin-top: 10px; margin-top: 10px;