diff --git a/Software/data_src/index.htm b/Software/data_src/index.htm index b93875e..1f0f909 100644 --- a/Software/data_src/index.htm +++ b/Software/data_src/index.htm @@ -73,6 +73,38 @@
+ ++
%NAME_FAC_1% | +%NAME_FAC_2% | +%NAME_FAC_3% | +
---|---|---|
![]() |
+ ![]() |
+ ![]() |
+
%POINTS_FAC_1% | +%POINTS_FAC_2% | +%POINTS_FAC_3% | +
+
diff --git a/Software/src/webui.cpp b/Software/src/webui.cpp index a7aab47..a89d8d6 100644 --- a/Software/src/webui.cpp +++ b/Software/src/webui.cpp @@ -239,6 +239,14 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request) { globals.systemStatus = sysStat_Shutdown; } + if (p->name() == "resetpoints") + { + PersistenceData.faction_1_timer = 0; + PersistenceData.faction_2_timer = 0; + PersistenceData.faction_3_timer = 0; + PersistenceData.activeFaction = NONE; + globals.requestEEAction == EE_PDS_SAVE; + } // end: POST Form Maintenance // begin: POST Form Settings