Änderungen von Dokument FORMCYCLE Hilfe


Von Version 13.22
bearbeitet von gru
am 08.09.2025, 13:21
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 13.12
bearbeitet von gru
am 08.09.2025, 13:04
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -875,7 +875,6 @@
875 875  
876 876   /* Dialog box */
877 877   #dialogv8 {
878 - user-select: none;
879 879   background-color: white;
880 880   padding: 20px;
881 881   border-radius: 25px;
... ... @@ -905,17 +905,13 @@
905 905   border-top: 1px solid black;
906 906   }
907 907  
908 - .dialogv8-buttons DIV {
909 - padding: 7px 9px;
907 + .dialog-buttons button {
908 + padding: 10px 20px;
910 910   font-size: 15px;
911 911   border: none;
912 912   border-radius: 15px;
913 913   cursor: pointer;
914 914   }
915 - .dialogv8-buttons DIV:hover {
916 - opacity: 0.8;
917 - cursor: pointer;
918 - }
919 919  
920 920   .continue-button {
921 921   background-color: #617496;
... ... @@ -938,7 +938,7 @@
938 938   flex-direction: column;
939 939   }
940 940  
941 - .dialogv8-buttons DIV {
936 + .dialogv8-buttons button {
942 942   width: 100%;
943 943   }
944 944   }
... ... @@ -946,14 +946,14 @@
946 946  
947 947  <div id="overlayv8" style="display: none;">
948 948   <div id="dialogv8">
949 - <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version wechseln?</h2>
944 + <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version weitergeleitet werden?</h2>
950 950   <div>
951 951   <input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true">
952 952   <label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br>
953 953   </div>
954 954   <div class="dialogv8-buttons">
955 - <div class="continue-button" id="continueBtn">Zur V8 Hilfe wechseln</div>
956 - <div class="abort-button" id="abortBtn">In der V7 Hilfe bleiben</div>
950 + <button class="continue-button" id="continueBtn">Zur V8 Hilfe wechseln</button>
951 + <button class="abort-button" id="abortBtn">In der V7 Hilfe bleiben</button>
957 957   </div>
958 958   </div>
959 959  </div>
... ... @@ -982,8 +982,7 @@
982 982  }
983 983  
984 984  function checkCookie() {
985 - let dialogv8 = getCookie("dialogv8");
986 - console.log("cookie got",dialogv8);
980 + let user = getCookie("dialogv8");
987 987   if (dialogv8 != "") {
988 988   console.log("Cookie found " + dialogv8);
989 989   return false;
... ... @@ -1005,7 +1005,7 @@
1005 1005   // Redirect on continue
1006 1006   document.getElementById("continueBtn").onclick = function() {
1007 1007   window.location.href = "https://help8.formcycle.eu/support/home";
1008 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1002 + if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1009 1009   setCookie("dialogv8", "true", 90);
1010 1010   }
1011 1011   };
... ... @@ -1013,7 +1013,7 @@
1013 1013   // Close overlay on abort
1014 1014   document.getElementById("abortBtn").onclick = function() {
1015 1015   document.getElementById("overlayv8").style.display = "none";
1016 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1010 + if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1017 1017   setCookie("dialogv8", "false", 90);
1018 1018   }
1019 1019   };