Änderungen von Dokument FORMCYCLE Hilfe
Von Version 13.11
bearbeitet von gru
am 08.09.2025, 13:02
am 08.09.2025, 13:02
Ä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,160 +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 - background-color: white; 879 - padding: 20px; 880 - border-radius: 25px; 881 - max-width: 90%; 882 - width: 400px; 883 - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 884 - text-align: center; 885 - font-family: "Corporate S W01","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",'TeXGyreHerosRegular',"Helvetica","Tahoma","Geneva","Arial",sans-serif !important; 886 - } 887 - 888 - #dialogv8 h2, #dialogv8 label { 889 - margin-top: 0; 890 - font-size: 15px; 891 - font-family: "Corporate S W01","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",'TeXGyreHerosRegular',"Helvetica","Tahoma","Geneva","Arial",sans-serif !important; 892 - border-bottom: none; 893 - } 894 - 895 - .dialogv8-buttons { 896 - margin-top: 10px; 897 - padding-top: 10px; 898 - display: flex; 899 - justify-content: space-around; 900 - flex-wrap: wrap; 901 - gap: 10px; 902 - border-top: 1px solid black; 903 - } 904 - 905 - .dialog-buttons button { 906 - padding: 10px 20px; 907 - font-size: 15px; 908 - border: none; 909 - border-radius: 15px; 910 - cursor: pointer; 911 - } 912 - 913 - .continue-button { 914 - background-color: #617496; 915 - color: white; 916 - } 917 - 918 - .abort-button { 919 - background-color: #efefef; 920 - color: black; 921 - } 922 - 923 - /* Responsive adjustments */ 924 - @media (max-width: 480px) { 925 - #dialogv8 { 926 - width: 95%; 927 - padding: 15px; 928 - } 929 - 930 - .dialogv8-buttons { 931 - flex-direction: column; 932 - } 933 - 934 - .dialogv8-buttons button { 935 - width: 100%; 936 - } 937 - } 938 -</style> 939 - 940 -<div id="overlayv8" style="display: none;"> 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> 943 - <div> 944 - <input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true"> 945 - <label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br> 946 - </div> 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> 950 - </div> 951 - </div> 952 -</div> 953 - 954 -<script> 955 -function setCookie(cname, cvalue, exdays) { 956 - const d = new Date(); 957 - d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); 958 - let expires = "expires="+d.toUTCString(); 959 - document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 960 -} 961 - 962 -function getCookie(cname) { 963 - let name = cname + "="; 964 - let ca = document.cookie.split(';'); 965 - for(let i = 0; i < ca.length; i++) { 966 - let c = ca[i]; 967 - while (c.charAt(0) == ' ') { 968 - c = c.substring(1); 969 - } 970 - if (c.indexOf(name) == 0) { 971 - return c.substring(name.length, c.length); 972 - } 973 - } 974 - return ""; 975 -} 976 - 977 -function checkCookie() { 978 - let user = getCookie("dialogv8"); 979 - if (dialogv8 != "") { 980 - console.log("Cookie found " + dialogv8); 981 - return false; 982 - } 983 - return null; 984 -} 985 - 986 - // Show the overlay dialog when the page loads 987 - window.onload = function() { 988 - let cookieValue = checkCookie(); 989 - console.log("checkCookie",cookieValue); 990 - if (0 && cookieValue != null) { 991 - console.log("cookieValue",cookieValue); 992 - } else { 993 - document.getElementById("overlayv8").style.display = "flex"; 994 - } 995 - }; 996 - 997 - // Redirect on continue 998 - document.getElementById("continueBtn").onclick = function() { 999 - window.location.href = "https://help8.formcycle.eu/support/home"; 1000 - if ($('[INPUT name="dialogv8cb"]').val() == "true") { 1001 - setCookie("dialogv8", "true", 90); 1002 - } 1003 - }; 1004 - 1005 - // Close overlay on abort 1006 - document.getElementById("abortBtn").onclick = function() { 1007 - document.getElementById("overlayv8").style.display = "none"; 1008 - if ($('[INPUT name="dialogv8cb"]').val() == "true") { 1009 - setCookie("dialogv8", "false", 90); 1010 - } 1011 - }; 1012 -</script> 1013 -{{/html}} 1014 -{{/velocity}}
- Flag_DE.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.gru - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -339 bytes - Inhalt