Änderungen von Dokument FORMCYCLE Hilfe


Von Version 13.24
bearbeitet von gru
am 08.09.2025, 13:24
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 13.11
bearbeitet von gru
am 08.09.2025, 13:02
Ä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;
... ... @@ -884,7 +884,6 @@
884 884   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
885 885   text-align: center;
886 886   font-family: "Corporate S W01","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",'TeXGyreHerosRegular',"Helvetica","Tahoma","Geneva","Arial",sans-serif !important;
887 - font-weight: 400;
888 888   }
889 889  
890 890   #dialogv8 h2, #dialogv8 label {
... ... @@ -891,7 +891,6 @@
891 891   margin-top: 0;
892 892   font-size: 15px;
893 893   font-family: "Corporate S W01","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",'TeXGyreHerosRegular',"Helvetica","Tahoma","Geneva","Arial",sans-serif !important;
894 - font-weight: 400;
895 895   border-bottom: none;
896 896   }
897 897  
... ... @@ -905,17 +905,13 @@
905 905   border-top: 1px solid black;
906 906   }
907 907  
908 - .dialogv8-buttons DIV {
909 - padding: 7px 9px;
905 + .dialog-buttons button {
906 + 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 {
934 + .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>
942 + <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>
948 + <button class="continue-button" id="continueBtn">Zur V8 Hilfe wechseln</button>
949 + <button class="abort-button" id="abortBtn">In der V7 Hilfe bleiben</button>
957 957   </div>
958 958   </div>
959 959  </div>
... ... @@ -963,7 +963,6 @@
963 963   const d = new Date();
964 964   d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
965 965   let expires = "expires="+d.toUTCString();
966 - console.log("make cookie:",cname + "=" + cvalue + ";" + expires + ";path=/");
967 967   document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
968 968  }
969 969  
... ... @@ -983,8 +983,7 @@
983 983  }
984 984  
985 985  function checkCookie() {
986 - let dialogv8 = getCookie("dialogv8");
987 - console.log("cookie got",dialogv8);
978 + let user = getCookie("dialogv8");
988 988   if (dialogv8 != "") {
989 989   console.log("Cookie found " + dialogv8);
990 990   return false;
... ... @@ -998,8 +998,6 @@
998 998   console.log("checkCookie",cookieValue);
999 999   if (0 && cookieValue != null) {
1000 1000   console.log("cookieValue",cookieValue);
1001 - } else if (0) {
1002 - window.location.href = "https://help8.formcycle.eu/support/home";
1003 1003   } else {
1004 1004   document.getElementById("overlayv8").style.display = "flex";
1005 1005   }
... ... @@ -1008,7 +1008,7 @@
1008 1008   // Redirect on continue
1009 1009   document.getElementById("continueBtn").onclick = function() {
1010 1010   window.location.href = "https://help8.formcycle.eu/support/home";
1011 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1000 + if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1012 1012   setCookie("dialogv8", "true", 90);
1013 1013   }
1014 1014   };
... ... @@ -1016,7 +1016,7 @@
1016 1016   // Close overlay on abort
1017 1017   document.getElementById("abortBtn").onclick = function() {
1018 1018   document.getElementById("overlayv8").style.display = "none";
1019 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1008 + if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1020 1020   setCookie("dialogv8", "false", 90);
1021 1021   }
1022 1022   };