From aaec00b11c7b47b610d676060c85d89afd2bd78d Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 31 Jul 2021 22:47:03 +0800 Subject: [PATCH] refactor: update file structure --- {fonts => assets/fonts}/RobotoMono-Regular.woff | Bin {fonts => assets/fonts}/lato-black.woff | Bin {fonts => assets/fonts}/lato-normal.woff | Bin style.css => assets/style.css | 0 kms-cli.php => backend/kms-cli.php | 0 kms-help.php => backend/kms-help.php | 4 ++-- kms-keys.db => backend/kms-keys.db | Bin kms-keys.php => backend/kms-keys.php | 0 kms-web.php => backend/kms-web.php | 2 +- route.php => backend/route.php | 0 10 files changed, 3 insertions(+), 3 deletions(-) rename {fonts => assets/fonts}/RobotoMono-Regular.woff (100%) rename {fonts => assets/fonts}/lato-black.woff (100%) rename {fonts => assets/fonts}/lato-normal.woff (100%) rename style.css => assets/style.css (100%) rename kms-cli.php => backend/kms-cli.php (100%) rename kms-help.php => backend/kms-help.php (93%) rename kms-keys.db => backend/kms-keys.db (100%) rename kms-keys.php => backend/kms-keys.php (100%) rename kms-web.php => backend/kms-web.php (92%) rename route.php => backend/route.php (100%) diff --git a/fonts/RobotoMono-Regular.woff b/assets/fonts/RobotoMono-Regular.woff similarity index 100% rename from fonts/RobotoMono-Regular.woff rename to assets/fonts/RobotoMono-Regular.woff diff --git a/fonts/lato-black.woff b/assets/fonts/lato-black.woff similarity index 100% rename from fonts/lato-black.woff rename to assets/fonts/lato-black.woff diff --git a/fonts/lato-normal.woff b/assets/fonts/lato-normal.woff similarity index 100% rename from fonts/lato-normal.woff rename to assets/fonts/lato-normal.woff diff --git a/style.css b/assets/style.css similarity index 100% rename from style.css rename to assets/style.css diff --git a/kms-cli.php b/backend/kms-cli.php similarity index 100% rename from kms-cli.php rename to backend/kms-cli.php diff --git a/kms-help.php b/backend/kms-help.php similarity index 93% rename from kms-help.php rename to backend/kms-help.php index 76288aa..d167079 100644 --- a/kms-help.php +++ b/backend/kms-help.php @@ -26,13 +26,13 @@ function webHelp() { echo ''; echo ''; echo 'Windows Activation'; - echo ''; + echo ''; echo '

Windows KMS Activation

';
     echo ' slmgr /upk' . PHP_EOL;
     echo ' slmgr /ipk {KMS_KEY}' . PHP_EOL;
     echo ' slmgr /skms ' . $webSite . PHP_EOL;
     echo ' slmgr /ato' . PHP_EOL;
-    echo ' slmgr /dlv';
+    echo ' slmgr /dlv ';
     echo '

KMS_KEY (Windows)
'; echo ''; echo $title; - echo '

'; + echo '
'; foreach ($kmsKeys as $versionName => $versionContent) { echo '

' . $versionName . '

'; echo ''; diff --git a/route.php b/backend/route.php similarity index 100% rename from route.php rename to backend/route.php
操作系统KMS密钥