Änderungen von Dokument FORMCYCLE Hilfe
Von Version 13.23
bearbeitet von gru
am 08.09.2025, 13:22
am 08.09.2025, 13:22
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 11.9
bearbeitet von Release Notes
am 06.05.2024, 11:31
am 06.05.2024, 11:31
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
-
Anhänge (0 geändert, 0 hinzugefügt, 1 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. gru1 +XWiki.ReleaseNotes - Inhalt
-
... ... @@ -855,170 +855,3 @@ 855 855 --> 856 856 {{/html}} 857 857 {{/velocity}} 858 - 859 -{{velocity}} 860 -{{html wiki="false" clean="false"}} 861 -<style> 862 - /* Overlay background */ 863 - #overlayv8 { 864 - position: fixed; 865 - top: 0; 866 - left: 0; 867 - width: 100%; 868 - height: 100%; 869 - background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */ 870 - display: flex; 871 - justify-content: center; 872 - align-items: center; 873 - z-index: 1000; 874 - } 875 - 876 - /* Dialog box */ 877 - #dialogv8 { 878 - user-select: none; 879 - background-color: white; 880 - padding: 20px; 881 - border-radius: 25px; 882 - max-width: 90%; 883 - width: 400px; 884 - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 885 - text-align: center; 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 - } 889 - 890 - #dialogv8 h2, #dialogv8 label { 891 - margin-top: 0; 892 - font-size: 15px; 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 - border-bottom: none; 896 - } 897 - 898 - .dialogv8-buttons { 899 - margin-top: 10px; 900 - padding-top: 10px; 901 - display: flex; 902 - justify-content: space-around; 903 - flex-wrap: wrap; 904 - gap: 10px; 905 - border-top: 1px solid black; 906 - } 907 - 908 - .dialogv8-buttons DIV { 909 - padding: 7px 9px; 910 - font-size: 15px; 911 - border: none; 912 - border-radius: 15px; 913 - cursor: pointer; 914 - } 915 - .dialogv8-buttons DIV:hover { 916 - opacity: 0.8; 917 - cursor: pointer; 918 - } 919 - 920 - .continue-button { 921 - background-color: #617496; 922 - color: white; 923 - } 924 - 925 - .abort-button { 926 - background-color: #efefef; 927 - color: black; 928 - } 929 - 930 - /* Responsive adjustments */ 931 - @media (max-width: 480px) { 932 - #dialogv8 { 933 - width: 95%; 934 - padding: 15px; 935 - } 936 - 937 - .dialogv8-buttons { 938 - flex-direction: column; 939 - } 940 - 941 - .dialogv8-buttons DIV { 942 - width: 100%; 943 - } 944 - } 945 -</style> 946 - 947 -<div id="overlayv8" style="display: none;"> 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> 950 - <div> 951 - <input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true"> 952 - <label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br> 953 - </div> 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> 957 - </div> 958 - </div> 959 -</div> 960 - 961 -<script> 962 -function setCookie(cname, cvalue, exdays) { 963 - const d = new Date(); 964 - d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); 965 - let expires = "expires="+d.toUTCString(); 966 - document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 967 -} 968 - 969 -function getCookie(cname) { 970 - let name = cname + "="; 971 - let ca = document.cookie.split(';'); 972 - for(let i = 0; i < ca.length; i++) { 973 - let c = ca[i]; 974 - while (c.charAt(0) == ' ') { 975 - c = c.substring(1); 976 - } 977 - if (c.indexOf(name) == 0) { 978 - return c.substring(name.length, c.length); 979 - } 980 - } 981 - return ""; 982 -} 983 - 984 -function checkCookie() { 985 - let dialogv8 = getCookie("dialogv8"); 986 - console.log("cookie got",dialogv8); 987 - if (dialogv8 != "") { 988 - console.log("Cookie found " + dialogv8); 989 - return false; 990 - } 991 - return null; 992 -} 993 - 994 - // Show the overlay dialog when the page loads 995 - window.onload = function() { 996 - let cookieValue = checkCookie(); 997 - console.log("checkCookie",cookieValue); 998 - if (0 && cookieValue != null) { 999 - console.log("cookieValue",cookieValue); 1000 - } else if (0) { 1001 - window.location.href = "https://help8.formcycle.eu/support/home"; 1002 - } else { 1003 - document.getElementById("overlayv8").style.display = "flex"; 1004 - } 1005 - }; 1006 - 1007 - // Redirect on continue 1008 - document.getElementById("continueBtn").onclick = function() { 1009 - window.location.href = "https://help8.formcycle.eu/support/home"; 1010 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { 1011 - setCookie("dialogv8", "true", 90); 1012 - } 1013 - }; 1014 - 1015 - // Close overlay on abort 1016 - document.getElementById("abortBtn").onclick = function() { 1017 - document.getElementById("overlayv8").style.display = "none"; 1018 - if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { 1019 - setCookie("dialogv8", "false", 90); 1020 - } 1021 - }; 1022 -</script> 1023 -{{/html}} 1024 -{{/velocity}}
- Flag_DE.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.gru - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -339 bytes - Inhalt