community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1799090 - in /comdev/reporter.apache.org/trunk/site: js/coffee/main.coffee ng.html
Date Sun, 18 Jun 2017 15:44:59 GMT
Author: humbedooh
Date: Sun Jun 18 15:44:59 2017
New Revision: 1799090

URL: http://svn.apache.org/viewvc?rev=1799090&view=rev
Log:
fix 'back to top' links

Modified:
    comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee
    comdev/reporter.apache.org/trunk/site/ng.html

Modified: comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee?rev=1799090&r1=1799089&r2=1799090&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee (original)
+++ comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee Sun Jun 18 15:44:59 2017
@@ -134,7 +134,7 @@ buildPanel = (pmc, title) ->
     parent.appendChild(div)
 
     titlebox = document.createElement('div');
-    titlebox.innerHTML = "<h3 style='background: #666; color: #EEE; border: 1px solid
#66A; margin-top: 30px;'>" + title + " &nbsp; &nbsp; <small> <b>&uarr;</b>
<a style='color: #FFF; font-size: 0.9rem;' href='#tab_" + pmc + "'>Back to top</a></small></h3>"
+    titlebox.innerHTML = "<h3 style='background: #666; color: #EEE; border: 1px solid
#66A; margin-top: 30px;'>" + title + " &nbsp; &nbsp; <small> <b>&uarr;</b>
<a style='color: #FFF; font-size: 0.9rem;' href='#top'>Back to top</a></small></h3>"
     div.appendChild(titlebox);
     return div
 

Modified: comdev/reporter.apache.org/trunk/site/ng.html
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/ng.html?rev=1799090&r1=1799089&r2=1799090&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/ng.html (original)
+++ comdev/reporter.apache.org/trunk/site/ng.html Sun Jun 18 15:44:59 2017
@@ -6,7 +6,7 @@
 <link href="css/tabs.css" rel="stylesheet"/>
 </head>
 <body onload="loadTabs();">
-    <h1 style="color: #FFF; text-align: center;">
+    <h1 style="color: #FFF; text-align: center;" id="top">
         <img src="https://www.apache.org/foundation/press/kit/feather_small.png" style="height:
48px;" align="absmiddle"/>
         Apache Committee Report Helper
     </h1>



Mime
View raw message