Changes for page Home
From version 5.1
edited by Monika Leung
on 2026/03/06 15:49
on 2026/03/06 15:49
Change comment:
There is no comment for this version
To version 8.1
edited by Monika Leung
on 2026/03/09 12:36
on 2026/03/09 12:36
Change comment:
Upload new image "eantc_footer_img.png", version 1.1
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,20 +1,17 @@ 1 1 (% class="wikigeneratedid" id="HWelcometoyourwiki" %) 2 2 Public wiki for publishing test reports. 3 3 4 -(% class="wikigeneratedid" %) 5 -List of test reports (sorted newest to oldest): 6 6 5 + 6 +(% class="table-bordered" style="width:100%" %) 7 +|=(% style="width: 149px;" %)Publication Date|=(% style="width: 907px;" %)Test Report Title 8 +|(% style="width:149px" %)06/2025|(% style="width:907px" %)[[Huawei Data Center Autonomous Network L4 Verification Test Report>>doc:.Huawei Data Center Autonomous Network L4 Verification Test Report.WebHome]] 9 +|(% style="width:149px" %)03/2025|(% style="width:907px" %)[[Multi-Vendor MPLS & SDN Interoperability Test Report 2025>>doc:.Multi-Vendor MPLS & SDN Interoperability Test Report 2025.WebHome]] 10 + 7 7 (% class="row" %) 8 8 ((( 9 9 (% class="col-xs-12 col-sm-6" %) 10 10 ((( 11 -{{documentTree 12 - root="document:publicreports:Main.WebHome" 13 - sortDocumentsBy="creationDate:desc" 14 - showAttachments="false" 15 - showTranslations="false" 16 -/}} 17 - 18 18 19 19 ))) 20 20 )))
- eantc_footer_img.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.leung - Size
-
... ... @@ -1,0 +1,1 @@ 1 +382.4 KB - Content
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -10,7 +10,47 @@ 10 10 } 11 11 document.addEventListener("DOMContentLoaded", open_ext_link_in_new_tab); 12 12 13 +// For mobile eantc-nav: open dropdown on first tap, open link on second tap 13 13 require(['jquery'], function($) { 15 + function isMobile() { 16 + return window.matchMedia("(max-width: 768px)").matches; 17 + } 18 + 19 + // Open dropdown on arrow click 20 + $('#eantc-nav .dropdown-arrow').on('click', function(e) { 21 + e.preventDefault(); 22 + e.stopPropagation(); 23 + $(this).closest('.dropdown, .dropdown-submenu').toggleClass('open'); 24 + }); 25 + 26 + // First-level dropdown 27 + $('#eantc-nav .dropdown > a').on('click', function(e) { 28 + if (!isMobile()) { 29 + return; 30 + } 31 + var $parent = $(this).parent(); 32 + if (!$parent.hasClass('open')) { 33 + // First tap, open dropdown 34 + e.preventDefault(); 35 + $parent.addClass('open'); 36 + } 37 + // Second tap, allow default link navigation 38 + }); 39 + 40 + // Second-level dropdown 41 + $('#eantc-nav .dropdown-submenu > a').on('click', function(e) { 42 + if (!isMobile()) { 43 + return 44 + }; 45 + var $parent = $(this).parent(); 46 + if (!$parent.hasClass('open')) { 47 + e.preventDefault(); 48 + $parent.addClass('open'); 49 + } 50 + }); 51 +}); 52 + 53 +require(['jquery'], function($) { 14 14 jQuery(document.links).filter(function() { 15 15 return this.hostname != window.location.hostname; 16 16 }).attr('target', '_blank'); ... ... @@ -32,3 +32,19 @@ 32 32 } 33 33 }); 34 34 75 +// Display back to top button after scrolling 76 +const backToTop = document.getElementById("back-to-top"); 77 +window.addEventListener("scroll", function () { 78 + if (window.scrollY > 200) { 79 + backToTop.style.display = "block"; 80 + } else { 81 + backToTop.style.display = "none"; 82 + } 83 +}); 84 +backToTop.addEventListener("click", function () { 85 + window.scrollTo({ 86 + top: 0, 87 + behavior: "smooth" 88 + }); 89 +}); 90 +