| ... |
... |
@@ -905,17 +905,13 @@ |
| 905 |
905 |
border-top: 1px solid black; |
| 906 |
906 |
} |
| 907 |
907 |
|
| 908 |
|
- .dialogv8-buttons DIV { |
| 909 |
|
- padding: 7px 9px; |
|
908 |
+ .dialog-buttons DIV { |
|
909 |
+ 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; |
| ... |
... |
@@ -946,7 +946,7 @@ |
| 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> |
|
945 |
+ <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> |
| ... |
... |
@@ -982,8 +982,7 @@ |
| 982 |
982 |
} |
| 983 |
983 |
|
| 984 |
984 |
function checkCookie() { |
| 985 |
|
- let dialogv8 = getCookie("dialogv8"); |
| 986 |
|
- console.log("cookie got",dialogv8); |
|
981 |
+ let user = getCookie("dialogv8"); |
| 987 |
987 |
if (dialogv8 != "") { |
| 988 |
988 |
console.log("Cookie found " + dialogv8); |
| 989 |
989 |
return false; |
| ... |
... |
@@ -997,8 +997,6 @@ |
| 997 |
997 |
console.log("checkCookie",cookieValue); |
| 998 |
998 |
if (0 && cookieValue != null) { |
| 999 |
999 |
console.log("cookieValue",cookieValue); |
| 1000 |
|
- } else if (0) { |
| 1001 |
|
- window.location.href = "https://help8.formcycle.eu/support/home"; |
| 1002 |
1002 |
} else { |
| 1003 |
1003 |
document.getElementById("overlayv8").style.display = "flex"; |
| 1004 |
1004 |
} |
| ... |
... |
@@ -1007,7 +1007,7 @@ |
| 1007 |
1007 |
// Redirect on continue |
| 1008 |
1008 |
document.getElementById("continueBtn").onclick = function() { |
| 1009 |
1009 |
window.location.href = "https://help8.formcycle.eu/support/home"; |
| 1010 |
|
- if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
|
1003 |
+ if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
| 1011 |
1011 |
setCookie("dialogv8", "true", 90); |
| 1012 |
1012 |
} |
| 1013 |
1013 |
}; |
| ... |
... |
@@ -1015,7 +1015,7 @@ |
| 1015 |
1015 |
// Close overlay on abort |
| 1016 |
1016 |
document.getElementById("abortBtn").onclick = function() { |
| 1017 |
1017 |
document.getElementById("overlayv8").style.display = "none"; |
| 1018 |
|
- if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
|
1011 |
+ if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
| 1019 |
1019 |
setCookie("dialogv8", "false", 90); |
| 1020 |
1020 |
} |
| 1021 |
1021 |
}; |