You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by es...@apache.org on 2023/03/30 21:44:59 UTC

[madlib-site] 01/01: Adhere to Apache WEBSITE NAVIGATION LINKS POLICY

This is an automated email from the ASF dual-hosted git repository.

espino pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/madlib-site.git

commit 7ab7175fe427ccdda62c1fc43e2ba7d7a9980110
Author: Ed Espino <es...@apache.org>
AuthorDate: Thu Mar 30 14:11:45 2023 -0700

    Adhere to Apache WEBSITE NAVIGATION LINKS POLICY
    
    Correct Apache Project Website Checks identified with:
    https://whimsy.apache.org/site/project/madlib
    
    The following were previously reported as a critical issue:
    
     - Events
     - License
     - Thanks
     - Security
     - Sponsorhsip
     - Privacy
    
    For reference, here are the Website Navigation Links Policy we should
    adhere to:
    
    https://www.apache.org/foundation/marks/pmcs.html#navigation
    
    This commit includes:
    
    * Add "ASF Links" navbar menuitem with the following text and links
    
      - ASF Homepage - https://www.apache.org
      - Apache Events - https://www.apache.org/events/current-event.html
      - Code of Conduct - https://www.apache.org/foundation/policies/conduct.html
      - Privacy Policy - https://privacy.apache.org/policies/privacy-policy-public.html
      - Security - https://www.apache.org/security/
      - Sponsorship - https://www.apache.org/foundation/sponsorship.html
    
    * Update "footer" of all main pages to include
    
      text: Licensed under the Apache License, Version 2.0.
      link: https://www.apache.org/licenses/LICENSE-2.0
---
 community.html     | 14 +++++++++++++-
 documentation.html | 15 ++++++++++++++-
 download.html      | 14 ++++++--------
 index.html         | 14 +++++++++++++-
 master.js          | 11 ++++++++++-
 product.html       | 14 +++++++++++++-
 style.css          | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 117 insertions(+), 13 deletions(-)

diff --git a/community.html b/community.html
index c5961b3..110b338 100644
--- a/community.html
+++ b/community.html
@@ -28,6 +28,18 @@
 					<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
 					<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
 					<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
+                                        <li class="li-asflinks">
+                                            <select id="latest-asflinks" name="latest-asflinks" class="select-asflinks">
+                                              <option value="">ASF Links</option>
+                                              <option value="https://www.apache.org/">ASF Homepage</option>
+                                              <option value="https://www.apache.org/events/current-event.html">Apache Events</option>
+                                              <option value="https://www.apache.org/foundation/policies/conduct.html">Code of Conduct</option>
+                                              <option value="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</option>
+                                              <option value="https://www.apache.org/security/">Security</option>
+                                              <option value="https://www.apache.org/foundation/sponsorship.html">Sponsorship</option>
+                                              <option value="https://www.apache.org/foundation/thanks.html">Thanks</option>
+                                            </select>
+                                        </li>
 					<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
 					</ul>
 				</div>
@@ -224,7 +236,7 @@
           <br/>
           <br/>
         <p>
-          Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>
+          Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>, Licensed under the <a href='https://www.apache.org/licenses/LICENSE-2.0'>Apache License, Version 2.0.</a>
           <br>
           Apache, Apache MADlib, the Apache feather and the MADlib logo are trademarks of The Apache Software Foundation
         </p>
diff --git a/documentation.html b/documentation.html
index e6f98fd..f48e022 100644
--- a/documentation.html
+++ b/documentation.html
@@ -3,6 +3,7 @@
 <head>
 	<meta charset="UTF-8">
 	<meta name="viewport" content="width=1100">
+
 	<title>MADlib</title>
 
 	<script src="https://use.typekit.net/qbv8hok.js"></script>
@@ -28,6 +29,18 @@
 					<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
 					<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
 					<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
+                                        <li class="li-asflinks">
+                                            <select id="latest-asflinks" name="latest-asflinks" class="select-asflinks">
+                                              <option value="">ASF Links</option>
+                                              <option value="https://www.apache.org/">ASF Homepage</option>
+                                              <option value="https://www.apache.org/events/current-event.html">Apache Events</option>
+                                              <option value="https://www.apache.org/foundation/policies/conduct.html">Code of Conduct</option>
+                                              <option value="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</option>
+                                              <option value="https://www.apache.org/security/">Security</option>
+                                              <option value="https://www.apache.org/foundation/sponsorship.html">Sponsorship</option>
+                                              <option value="https://www.apache.org/foundation/thanks.html">Thanks</option>
+                                            </select>
+                                        </li>
 					<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
 					</ul>
 				</div>
@@ -205,7 +218,7 @@ jQuery(document).ready(function() {
 		  <br/>
 		  <br/>
 	    <p>
-	      Copyright &copy; <script>	var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>
+	      Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>, Licensed under the <a href='https://www.apache.org/licenses/LICENSE-2.0'>Apache License, Version 2.0.</a>
 	      <br>
 	      Apache, Apache MADlib, the Apache feather and the MADlib logo are trademarks of The Apache Software Foundation
 	    </p>
diff --git a/download.html b/download.html
index d6f65a4..907a65e 100644
--- a/download.html
+++ b/download.html
@@ -24,13 +24,11 @@
 				Home
 			</a>
 			<div class="nav">
-				<div class="menu-primary-navigation-container">
-					<ul id="menu-primary-navigation" class="menu">
-						<li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-object-page page_item page-item-18 current_page_item menu-item-27"><a href="index.html">Home</a></li>
-						<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
-						<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
-						<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
-						<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
+				<div class="menu-primary-navigation-container"><ul id="menu-primary-navigation" class="menu"><li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-object-page page_item page-item-18 current_page_item menu-item-27"><a href="index.html">Home</a></li>
+					<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
+					<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
+					<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
+					<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
 					</ul>
 				</div>
 			</div>
@@ -426,7 +424,7 @@
 		  <br/>
 		  <br/>
 	    <p>
-	      Copyright &copy; <script>	var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>
+	      Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>, Licensed under the <a href='https://www.apache.org/licenses/LICENSE-2.0'>Apache License, Version 2.0.</a>
 	      <br>
 	      Apache, Apache MADlib, the Apache feather and the MADlib logo are trademarks of The Apache Software Foundation
 	    </p>
diff --git a/index.html b/index.html
index 289cbc4..186e9e8 100644
--- a/index.html
+++ b/index.html
@@ -28,6 +28,18 @@
 					<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
 					<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
 					<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
+                                        <li class="li-asflinks">
+                                            <select id="latest-asflinks" name="latest-asflinks" class="select-asflinks">
+                                              <option value="">ASF Links</option>
+                                              <option value="https://www.apache.org/">ASF Homepage</option>
+                                              <option value="https://www.apache.org/events/current-event.html">Apache Events</option>
+                                              <option value="https://www.apache.org/foundation/policies/conduct.html">Code of Conduct</option>
+                                              <option value="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</option>
+                                              <option value="https://www.apache.org/security/">Security</option>
+                                              <option value="https://www.apache.org/foundation/sponsorship.html">Sponsorship</option>
+                                              <option value="https://www.apache.org/foundation/thanks.html">Thanks</option>
+                                            </select>
+                                        </li>
 					<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
 					</ul>
 				</div>
@@ -272,7 +284,7 @@
 		  <br/>
 		  <br/>
 	    <p>
-	      Copyright &copy; <script>	var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>
+	      Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>, Licensed under the <a href='https://www.apache.org/licenses/LICENSE-2.0'>Apache License, Version 2.0.</a>
 	      <br>
 	      Apache, Apache MADlib, the Apache feather and the MADlib logo are trademarks of The Apache Software Foundation
 	    </p>
diff --git a/master.js b/master.js
index d06ecbe..70e0e54 100644
--- a/master.js
+++ b/master.js
@@ -43,6 +43,15 @@ init = {
 			}
 			return false;
 		});
+	},
+	asflinksSelect: function() {
+		jQuery('#latest-asflinks').on('change', function() {
+			var url = jQuery(this).val();
+			if (url) {
+				window.location = url;
+			}
+			return false;
+		});
 	}
 };
 
@@ -102,4 +111,4 @@ _gaq.push(['_trackPageview']);
 	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 	var s = document.getElementsByTagName('script')[0];
 	s.parentNode.insertBefore(ga, s);
-})();
\ No newline at end of file
+})();
diff --git a/product.html b/product.html
index 4310281..27e690e 100644
--- a/product.html
+++ b/product.html
@@ -28,6 +28,18 @@
 					<li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="product.html">Product</a></li>
 					<li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a title="Documentation" href="documentation.html">Documentation</a></li>
 					<li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24"><a href="community.html">Community</a></li>
+                                        <li class="li-asflinks">
+                                            <select id="latest-asflinks" name="latest-asflinks" class="select-asflinks">
+                                              <option value="">ASF Links</option>
+                                              <option value="https://www.apache.org/">ASF Homepage</option>
+                                              <option value="https://www.apache.org/events/current-event.html">Apache Events</option>
+                                              <option value="https://www.apache.org/foundation/policies/conduct.html">Code of Conduct</option>
+                                              <option value="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</option>
+                                              <option value="https://www.apache.org/security/">Security</option>
+                                              <option value="https://www.apache.org/foundation/sponsorship.html">Sponsorship</option>
+                                              <option value="https://www.apache.org/foundation/thanks.html">Thanks</option>
+                                            </select>
+                                        </li>
 					<li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26 nav-button last"><a href="download.html">Download</a></li>
 					</ul>
 				</div>
@@ -230,7 +242,7 @@
 		  <br/>
 		  <br/>
 	    <p>
-	      Copyright &copy; <script>	var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>
+	      Copyright &copy; <script> var d = new Date();document.write(d.getFullYear());</script> <a href='https://www.apache.org/'>The Apache Software Foundation</a>, Licensed under the <a href='https://www.apache.org/licenses/LICENSE-2.0'>Apache License, Version 2.0.</a>
 	      <br>
 	      Apache, Apache MADlib, the Apache feather and the MADlib logo are trademarks of The Apache Software Foundation
 	    </p>
diff --git a/style.css b/style.css
index 4be3cb0..84bf7d6 100644
--- a/style.css
+++ b/style.css
@@ -1256,9 +1256,52 @@ body {
   overflow: hidden;
   width: 175px;
 }
+
+.li-asflinks {
+  display: inline-block;
+  border: none
+  border-bottom: none
+  overflow: hidden;
+  background: #f15722;
+  color: white;
+}
+
+.select-asflinks {
+  -moz-appearance: none;
+  -webkit-appearance: none;
+  display: inline-block;
+  border: 1px solid #c5d7e0;
+  border-bottom: 2px solid #c5d7e0;
+  background: transparent;
+  overflow: hidden;
+  width: 175px;
+  border-top-width: 0px;
+  border-left-width: 0px;
+  border-bottom-width: 0px;
+  border-right-width: 0px;
+  color: #6f9db2;
+}
+
 .select-documentation.point-down:after {
   right: 6px;
 }
+
+.select-asflinks select {
+  -moz-appearance: none;
+  -webkit-appearance: none;
+  display: inline-block;
+  border: 1px solid #c5d7e0;
+  border-bottom: 2px solid #c5d7e0;
+  background: transparent;
+  overflow: hidden;
+  width: 175px;
+  border-top-width: 0px;
+  border-left-width: 0px;
+  border-bottom-width: 0px;
+  border-right-width: 0px;
+  color: #6f9db2;
+}
+
 .select-documentation select {
   -moz-appearance: none;
   -webkit-appearance: none;
@@ -1272,10 +1315,15 @@ body {
   text-overflow: "";
   width: 130%;
 }
+
 .select-documentation select:focus {
   outline: none;
 }
 
+.select-asflinks select:focus {
+  outline: none;
+}
+
 .features-posts{display:none}
 
 /*# sourceMappingURL=style.css.map */