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 -->
<div id="boot-hash-overlay" class="boot-hash-overlay"></div>
<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">
<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 class="button-container">
<button id="boot-hash-save-button" class="boot-hash-save-button" data-i18n="reset_vbmeta.boot_hash_save_button"></button>
<div class="boot-hash-button-container">
<button id="boot-hash-save-button" class="boot-hash-save-button" data-i18n="boot_hash.save_button"></button>
</div>
</div>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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