Änderungen von Dokument FORMCYCLE Hilfe


Von Version 13.11
bearbeitet von gru
am 08.09.2025, 13:02
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 13.24
bearbeitet von gru
am 08.09.2025, 13:24
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -875,6 +875,7 @@
875 875  
876 876   /* Dialog box */
877 877   #dialogv8 {
878 + user-select: none;
878 878   background-color: white;
879 879   padding: 20px;
880 880   border-radius: 25px;
... ... @@ -883,6 +883,7 @@
883 883   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
884 884   text-align: center;
885 885   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;
886 886   }
887 887  
888 888   #dialogv8 h2, #dialogv8 label {
... ... @@ -889,6 +889,7 @@
889 889   margin-top: 0;
890 890   font-size: 15px;
891 891   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;
892 892   border-bottom: none;
893 893   }
894 894  
... ... @@ -902,13 +902,17 @@
902 902   border-top: 1px solid black;
903 903   }
904 904  
905 - .dialog-buttons button {
906 - padding: 10px 20px;
908 + .dialogv8-buttons DIV {
909 + padding: 7px 9px;
907 907   font-size: 15px;
908 908   border: none;
909 909   border-radius: 15px;
910 910   cursor: pointer;
911 911   }
915 + .dialogv8-buttons DIV:hover {
916 + opacity: 0.8;
917 + cursor: pointer;
918 + }
912 912  
913 913   .continue-button {
914 914   background-color: #617496;
... ... @@ -931,7 +931,7 @@
931 931   flex-direction: column;
932 932   }
933 933  
934 - .dialogv8-buttons button {
941 + .dialogv8-buttons DIV {
935 935   width: 100%;
936 936   }
937 937   }
... ... @@ -939,14 +939,14 @@
939 939  
940 940  <div id="overlayv8" style="display: none;">
941 941   <div id="dialogv8">
942 - <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version weitergeleitet werden?</h2>
949 + <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version wechseln?</h2>
943 943   <div>
944 944   <input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true">
945 945   <label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br>
946 946   </div>
947 947   <div class="dialogv8-buttons">
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>
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 950   </div>
951 951   </div>
952 952  </div>
... ... @@ -956,6 +956,7 @@
956 956   const d = new Date();
957 957   d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
958 958   let expires = "expires="+d.toUTCString();
966 + console.log("make cookie:",cname + "=" + cvalue + ";" + expires + ";path=/");
959 959   document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
960 960  }
961 961  
... ... @@ -975,7 +975,8 @@
975 975  }
976 976  
977 977  function checkCookie() {
978 - let user = getCookie("dialogv8");
986 + let dialogv8 = getCookie("dialogv8");
987 + console.log("cookie got",dialogv8);
979 979   if (dialogv8 != "") {
980 980   console.log("Cookie found " + dialogv8);
981 981   return false;
... ... @@ -989,6 +989,8 @@
989 989   console.log("checkCookie",cookieValue);
990 990   if (0 && cookieValue != null) {
991 991   console.log("cookieValue",cookieValue);
1001 + } else if (0) {
1002 + window.location.href = "https://help8.formcycle.eu/support/home";
992 992   } else {
993 993   document.getElementById("overlayv8").style.display = "flex";
994 994   }
... ... @@ -997,7 +997,7 @@
997 997   // Redirect on continue
998 998   document.getElementById("continueBtn").onclick = function() {
999 999   window.location.href = "https://help8.formcycle.eu/support/home";
1000 - if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1011 + if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1001 1001   setCookie("dialogv8", "true", 90);
1002 1002   }
1003 1003   };
... ... @@ -1005,7 +1005,7 @@
1005 1005   // Close overlay on abort
1006 1006   document.getElementById("abortBtn").onclick = function() {
1007 1007   document.getElementById("overlayv8").style.display = "none";
1008 - if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1019 + if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1009 1009   setCookie("dialogv8", "false", 90);
1010 1010   }
1011 1011   };