... |
... |
@@ -905,13 +905,17 @@ |
905 |
905 |
border-top: 1px solid black; |
906 |
906 |
} |
907 |
907 |
|
908 |
|
- .dialog-buttons DIV { |
909 |
|
- padding: 10px 20px; |
|
908 |
+ .dialogv8-buttons DIV { |
|
909 |
+ padding: 7px 9px; |
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 |
+ } |
915 |
915 |
|
916 |
916 |
.continue-button { |
917 |
917 |
background-color: #617496; |
... |
... |
@@ -942,7 +942,7 @@ |
942 |
942 |
|
943 |
943 |
<div id="overlayv8" style="display: none;"> |
944 |
944 |
<div id="dialogv8"> |
945 |
|
- <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> |
946 |
946 |
<div> |
947 |
947 |
<input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true"> |
948 |
948 |
<label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br> |
... |
... |
@@ -978,7 +978,8 @@ |
978 |
978 |
} |
979 |
979 |
|
980 |
980 |
function checkCookie() { |
981 |
|
- let user = getCookie("dialogv8"); |
|
985 |
+ let dialogv8 = getCookie("dialogv8"); |
|
986 |
+ console.log("cookie got",dialogv8); |
982 |
982 |
if (dialogv8 != "") { |
983 |
983 |
console.log("Cookie found " + dialogv8); |
984 |
984 |
return false; |
... |
... |
@@ -1000,7 +1000,7 @@ |
1000 |
1000 |
// Redirect on continue |
1001 |
1001 |
document.getElementById("continueBtn").onclick = function() { |
1002 |
1002 |
window.location.href = "https://help8.formcycle.eu/support/home"; |
1003 |
|
- if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
|
1008 |
+ if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
1004 |
1004 |
setCookie("dialogv8", "true", 90); |
1005 |
1005 |
} |
1006 |
1006 |
}; |
... |
... |
@@ -1008,7 +1008,7 @@ |
1008 |
1008 |
// Close overlay on abort |
1009 |
1009 |
document.getElementById("abortBtn").onclick = function() { |
1010 |
1010 |
document.getElementById("overlayv8").style.display = "none"; |
1011 |
|
- if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
|
1016 |
+ if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
1012 |
1012 |
setCookie("dialogv8", "false", 90); |
1013 |
1013 |
} |
1014 |
1014 |
}; |