XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

chore(webui): swap account and server cheat cards (#2691)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2691 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

f6b73e58
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +131 -131
Modified static/webui/index.html +131 -131
@@ -645,6 +645,137 @@
645 645 <div class="row g-3">
646 646 <div class="col-md-6">
647 647 <div class="card">
648 <h5 class="card-header" data-loc="cheats_account"></h5>
649 <div class="card-body" id="account-cheats">
650 <div class="form-check">
651 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseCreditCost" />
652 <label class="form-check-label" for="dontSubtractPurchaseCreditCost" data-loc="cheats_dontSubtractPurchaseCreditCost"></label>
653 </div>
654 <div class="form-check">
655 <input class="form-check-input" type="checkbox" id="dontSubtractPurchasePlatinumCost" />
656 <label class="form-check-label" for="dontSubtractPurchasePlatinumCost" data-loc="cheats_dontSubtractPurchasePlatinumCost"></label>
657 </div>
658 <div class="form-check">
659 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseItemCost" />
660 <label class="form-check-label" for="dontSubtractPurchaseItemCost" data-loc="cheats_dontSubtractPurchaseItemCost"></label>
661 </div>
662 <div class="form-check">
663 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseStandingCost" />
664 <label class="form-check-label" for="dontSubtractPurchaseStandingCost" data-loc="cheats_dontSubtractPurchaseStandingCost"></label>
665 </div>
666 <div class="form-check">
667 <input class="form-check-input" type="checkbox" id="dontSubtractVoidTraces" />
668 <label class="form-check-label" for="dontSubtractVoidTraces" data-loc="cheats_dontSubtractVoidTraces"></label>
669 </div>
670 <div class="form-check">
671 <input class="form-check-input" type="checkbox" id="dontSubtractConsumables" />
672 <label class="form-check-label" for="dontSubtractConsumables" data-loc="cheats_dontSubtractConsumables"></label>
673 </div>
674 <div class="form-check">
675 <input class="form-check-input" type="checkbox" id="infiniteCredits" />
676 <label class="form-check-label" for="infiniteCredits" data-loc="cheats_infiniteCredits"></label>
677 </div>
678 <div class="form-check">
679 <input class="form-check-input" type="checkbox" id="infinitePlatinum" />
680 <label class="form-check-label" for="infinitePlatinum" data-loc="cheats_infinitePlatinum"></label>
681 </div>
682 <div class="form-check">
683 <input class="form-check-input" type="checkbox" id="infiniteEndo" />
684 <label class="form-check-label" for="infiniteEndo" data-loc="cheats_infiniteEndo"></label>
685 </div>
686 <div class="form-check">
687 <input class="form-check-input" type="checkbox" id="infiniteRegalAya" />
688 <label class="form-check-label" for="infiniteRegalAya" data-loc="cheats_infiniteRegalAya"></label>
689 </div>
690 <div class="form-check">
691 <input class="form-check-input" type="checkbox" id="infiniteHelminthMaterials" />
692 <label class="form-check-label" for="infiniteHelminthMaterials" data-loc="cheats_infiniteHelminthMaterials"></label>
693 </div>
694 <div class="form-check">
695 <input class="form-check-input" type="checkbox" id="universalPolarityEverywhere" />
696 <label class="form-check-label" for="universalPolarityEverywhere" data-loc="cheats_universalPolarityEverywhere"></label>
697 </div>
698 <div class="form-check">
699 <input class="form-check-input" type="checkbox" id="unlockDoubleCapacityPotatoesEverywhere" />
700 <label class="form-check-label" for="unlockDoubleCapacityPotatoesEverywhere" data-loc="cheats_unlockDoubleCapacityPotatoesEverywhere"></label>
701 </div>
702 <div class="form-check">
703 <input class="form-check-input" type="checkbox" id="unlockExilusEverywhere" />
704 <label class="form-check-label" for="unlockExilusEverywhere" data-loc="cheats_unlockExilusEverywhere"></label>
705 </div>
706 <div class="form-check">
707 <input class="form-check-input" type="checkbox" id="unlockArcanesEverywhere" />
708 <label class="form-check-label" for="unlockArcanesEverywhere" data-loc="cheats_unlockArcanesEverywhere"></label>
709 </div>
710 <div class="form-check">
711 <input class="form-check-input" type="checkbox" id="syndicateMissionsRepeatable" />
712 <label class="form-check-label" for="syndicateMissionsRepeatable" data-loc="cheats_syndicateMissionsRepeatable"></label>
713 </div>
714 <div class="form-check">
715 <input class="form-check-input" type="checkbox" id="instantFinishRivenChallenge" />
716 <label class="form-check-label" for="instantFinishRivenChallenge" data-loc="cheats_instantFinishRivenChallenge"></label>
717 </div>
718 <div class="form-check">
719 <input class="form-check-input" type="checkbox" id="noDailyStandingLimits" />
720 <label class="form-check-label" for="noDailyStandingLimits" data-loc="cheats_noDailyStandingLimits"></label>
721 </div>
722 <div class="form-check">
723 <input class="form-check-input" type="checkbox" id="noDailyFocusLimit" />
724 <label class="form-check-label" for="noDailyFocusLimit" data-loc="cheats_noDailyFocusLimit"></label>
725 </div>
726 <div class="form-check">
727 <input class="form-check-input" type="checkbox" id="noArgonCrystalDecay" />
728 <label class="form-check-label" for="noArgonCrystalDecay" data-loc="cheats_noArgonCrystalDecay"></label>
729 </div>
730 <div class="form-check">
731 <input class="form-check-input" type="checkbox" id="noMasteryRankUpCooldown" />
732 <label class="form-check-label" for="noMasteryRankUpCooldown" data-loc="cheats_noMasteryRankUpCooldown"></label>
733 </div>
734 <div class="form-check">
735 <input class="form-check-input" type="checkbox" id="noVendorPurchaseLimits" />
736 <label class="form-check-label" for="noVendorPurchaseLimits" data-loc="cheats_noVendorPurchaseLimits"></label>
737 </div>
738 <div class="form-check">
739 <input class="form-check-input" type="checkbox" id="noDeathMarks" />
740 <label class="form-check-label" for="noDeathMarks" data-loc="cheats_noDeathMarks"></label>
741 </div>
742 <div class="form-check">
743 <input class="form-check-input" type="checkbox" id="noKimCooldowns" />
744 <label class="form-check-label" for="noKimCooldowns" data-loc="cheats_noKimCooldowns"></label>
745 </div>
746 <div class="form-check">
747 <input class="form-check-input" type="checkbox" id="noResourceExtractorDronesDamage" />
748 <label class="form-check-label" for="noResourceExtractorDronesDamage" data-loc="cheats_noResourceExtractorDronesDamage"></label>
749 </div>
750 <div class="form-check">
751 <input class="form-check-input" type="checkbox" id="instantResourceExtractorDrones" />
752 <label class="form-check-label" for="instantResourceExtractorDrones" data-loc="cheats_instantResourceExtractorDrones"></label>
753 </div>
754 <div class="form-check">
755 <input class="form-check-input" type="checkbox" id="claimingBlueprintRefundsIngredients" />
756 <label class="form-check-label" for="claimingBlueprintRefundsIngredients" data-loc="cheats_claimingBlueprintRefundsIngredients"></label>
757 </div>
758 <div class="mt-2 mb-2 d-flex flex-wrap gap-2">
759 <button class="btn btn-primary" onclick="debounce(doUnlockAllMissions);" data-loc="cheats_unlockAllMissions"></button>
760 <button class="btn btn-primary" onclick="debounce(markAllAsRead);" data-loc="cheats_markAllAsRead"></button>
761 <button class="btn btn-primary" onclick="doUnlockAllFocusSchools();" data-loc="cheats_unlockAllFocusSchools"></button>
762 <button class="btn btn-primary" onclick="doHelminthUnlockAll();" data-loc="cheats_helminthUnlockAll"></button>
763 <button class="btn btn-primary" onclick="debounce(addMissingHelminthRecipes);" data-loc="cheats_addMissingSubsumedAbilities"></button>
764 <button class="btn btn-primary" onclick="doIntrinsicsUnlockAll();" data-loc="cheats_intrinsicsUnlockAll"></button>
765 <button class="btn btn-primary" onclick="debounce(doMaxPlexus);" data-loc="inventory_maxPlexus"></button>
766 </div>
767 <form class="mt-2" onsubmit="doChangeSupportedSyndicate(); return false;">
768 <label class="form-label" for="changeSyndicate" data-loc="cheats_changeSupportedSyndicate"></label>
769 <div class="input-group">
770 <select class="form-control" id="changeSyndicate"></select>
771 <button class="btn btn-primary" type="submit" data-loc="cheats_changeButton"></button>
772 </div>
773 </form>
774 </div>
775 </div>
776 </div>
777 <div class="col-md-6">
778 <div class="card mb-3">
648 779 <h5 class="card-header" data-loc="cheats_server"></h5>
649 780 <div class="card-body">
650 781 <div class="d-none config-admin-hide">
@@ -779,137 +910,6 @@
779 910 </div>
780 911 </div>
781 912 </div>
782 </div>
783 <div class="col-md-6">
784 <div class="card mb-3">
785 <h5 class="card-header" data-loc="cheats_account"></h5>
786 <div class="card-body" id="account-cheats">
787 <div class="form-check">
788 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseCreditCost" />
789 <label class="form-check-label" for="dontSubtractPurchaseCreditCost" data-loc="cheats_dontSubtractPurchaseCreditCost"></label>
790 </div>
791 <div class="form-check">
792 <input class="form-check-input" type="checkbox" id="dontSubtractPurchasePlatinumCost" />
793 <label class="form-check-label" for="dontSubtractPurchasePlatinumCost" data-loc="cheats_dontSubtractPurchasePlatinumCost"></label>
794 </div>
795 <div class="form-check">
796 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseItemCost" />
797 <label class="form-check-label" for="dontSubtractPurchaseItemCost" data-loc="cheats_dontSubtractPurchaseItemCost"></label>
798 </div>
799 <div class="form-check">
800 <input class="form-check-input" type="checkbox" id="dontSubtractPurchaseStandingCost" />
801 <label class="form-check-label" for="dontSubtractPurchaseStandingCost" data-loc="cheats_dontSubtractPurchaseStandingCost"></label>
802 </div>
803 <div class="form-check">
804 <input class="form-check-input" type="checkbox" id="dontSubtractVoidTraces" />
805 <label class="form-check-label" for="dontSubtractVoidTraces" data-loc="cheats_dontSubtractVoidTraces"></label>
806 </div>
807 <div class="form-check">
808 <input class="form-check-input" type="checkbox" id="dontSubtractConsumables" />
809 <label class="form-check-label" for="dontSubtractConsumables" data-loc="cheats_dontSubtractConsumables"></label>
810 </div>
811 <div class="form-check">
812 <input class="form-check-input" type="checkbox" id="infiniteCredits" />
813 <label class="form-check-label" for="infiniteCredits" data-loc="cheats_infiniteCredits"></label>
814 </div>
815 <div class="form-check">
816 <input class="form-check-input" type="checkbox" id="infinitePlatinum" />
817 <label class="form-check-label" for="infinitePlatinum" data-loc="cheats_infinitePlatinum"></label>
818 </div>
819 <div class="form-check">
820 <input class="form-check-input" type="checkbox" id="infiniteEndo" />
821 <label class="form-check-label" for="infiniteEndo" data-loc="cheats_infiniteEndo"></label>
822 </div>
823 <div class="form-check">
824 <input class="form-check-input" type="checkbox" id="infiniteRegalAya" />
825 <label class="form-check-label" for="infiniteRegalAya" data-loc="cheats_infiniteRegalAya"></label>
826 </div>
827 <div class="form-check">
828 <input class="form-check-input" type="checkbox" id="infiniteHelminthMaterials" />
829 <label class="form-check-label" for="infiniteHelminthMaterials" data-loc="cheats_infiniteHelminthMaterials"></label>
830 </div>
831 <div class="form-check">
832 <input class="form-check-input" type="checkbox" id="universalPolarityEverywhere" />
833 <label class="form-check-label" for="universalPolarityEverywhere" data-loc="cheats_universalPolarityEverywhere"></label>
834 </div>
835 <div class="form-check">
836 <input class="form-check-input" type="checkbox" id="unlockDoubleCapacityPotatoesEverywhere" />
837 <label class="form-check-label" for="unlockDoubleCapacityPotatoesEverywhere" data-loc="cheats_unlockDoubleCapacityPotatoesEverywhere"></label>
838 </div>
839 <div class="form-check">
840 <input class="form-check-input" type="checkbox" id="unlockExilusEverywhere" />
841 <label class="form-check-label" for="unlockExilusEverywhere" data-loc="cheats_unlockExilusEverywhere"></label>
842 </div>
843 <div class="form-check">
844 <input class="form-check-input" type="checkbox" id="unlockArcanesEverywhere" />
845 <label class="form-check-label" for="unlockArcanesEverywhere" data-loc="cheats_unlockArcanesEverywhere"></label>
846 </div>
847 <div class="form-check">
848 <input class="form-check-input" type="checkbox" id="syndicateMissionsRepeatable" />
849 <label class="form-check-label" for="syndicateMissionsRepeatable" data-loc="cheats_syndicateMissionsRepeatable"></label>
850 </div>
851 <div class="form-check">
852 <input class="form-check-input" type="checkbox" id="instantFinishRivenChallenge" />
853 <label class="form-check-label" for="instantFinishRivenChallenge" data-loc="cheats_instantFinishRivenChallenge"></label>
854 </div>
855 <div class="form-check">
856 <input class="form-check-input" type="checkbox" id="noDailyStandingLimits" />
857 <label class="form-check-label" for="noDailyStandingLimits" data-loc="cheats_noDailyStandingLimits"></label>
858 </div>
859 <div class="form-check">
860 <input class="form-check-input" type="checkbox" id="noDailyFocusLimit" />
861 <label class="form-check-label" for="noDailyFocusLimit" data-loc="cheats_noDailyFocusLimit"></label>
862 </div>
863 <div class="form-check">
864 <input class="form-check-input" type="checkbox" id="noArgonCrystalDecay" />
865 <label class="form-check-label" for="noArgonCrystalDecay" data-loc="cheats_noArgonCrystalDecay"></label>
866 </div>
867 <div class="form-check">
868 <input class="form-check-input" type="checkbox" id="noMasteryRankUpCooldown" />
869 <label class="form-check-label" for="noMasteryRankUpCooldown" data-loc="cheats_noMasteryRankUpCooldown"></label>
870 </div>
871 <div class="form-check">
872 <input class="form-check-input" type="checkbox" id="noVendorPurchaseLimits" />
873 <label class="form-check-label" for="noVendorPurchaseLimits" data-loc="cheats_noVendorPurchaseLimits"></label>
874 </div>
875 <div class="form-check">
876 <input class="form-check-input" type="checkbox" id="noDeathMarks" />
877 <label class="form-check-label" for="noDeathMarks" data-loc="cheats_noDeathMarks"></label>
878 </div>
879 <div class="form-check">
880 <input class="form-check-input" type="checkbox" id="noKimCooldowns" />
881 <label class="form-check-label" for="noKimCooldowns" data-loc="cheats_noKimCooldowns"></label>
882 </div>
883 <div class="form-check">
884 <input class="form-check-input" type="checkbox" id="noResourceExtractorDronesDamage" />
885 <label class="form-check-label" for="noResourceExtractorDronesDamage" data-loc="cheats_noResourceExtractorDronesDamage"></label>
886 </div>
887 <div class="form-check">
888 <input class="form-check-input" type="checkbox" id="instantResourceExtractorDrones" />
889 <label class="form-check-label" for="instantResourceExtractorDrones" data-loc="cheats_instantResourceExtractorDrones"></label>
890 </div>
891 <div class="form-check">
892 <input class="form-check-input" type="checkbox" id="claimingBlueprintRefundsIngredients" />
893 <label class="form-check-label" for="claimingBlueprintRefundsIngredients" data-loc="cheats_claimingBlueprintRefundsIngredients"></label>
894 </div>
895 <div class="mt-2 mb-2 d-flex flex-wrap gap-2">
896 <button class="btn btn-primary" onclick="debounce(doUnlockAllMissions);" data-loc="cheats_unlockAllMissions"></button>
897 <button class="btn btn-primary" onclick="debounce(markAllAsRead);" data-loc="cheats_markAllAsRead"></button>
898 <button class="btn btn-primary" onclick="doUnlockAllFocusSchools();" data-loc="cheats_unlockAllFocusSchools"></button>
899 <button class="btn btn-primary" onclick="doHelminthUnlockAll();" data-loc="cheats_helminthUnlockAll"></button>
900 <button class="btn btn-primary" onclick="debounce(addMissingHelminthRecipes);" data-loc="cheats_addMissingSubsumedAbilities"></button>
901 <button class="btn btn-primary" onclick="doIntrinsicsUnlockAll();" data-loc="cheats_intrinsicsUnlockAll"></button>
902 <button class="btn btn-primary" onclick="debounce(doMaxPlexus);" data-loc="inventory_maxPlexus"></button>
903 </div>
904 <form class="mt-2" onsubmit="doChangeSupportedSyndicate(); return false;">
905 <label class="form-label" for="changeSyndicate" data-loc="cheats_changeSupportedSyndicate"></label>
906 <div class="input-group">
907 <select class="form-control" id="changeSyndicate"></select>
908 <button class="btn btn-primary" type="submit" data-loc="cheats_changeButton"></button>
909 </div>
910 </form>
911 </div>
912 </div>
913 913 <div class="card d-none config-admin-show config-form">
914 914 <h5 class="card-header" data-loc="worldState"></h5>
915 915 <div class="card-body">