community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1868037 - /comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
Date Sun, 06 Oct 2019 04:15:27 GMT
Author: humbedooh
Date: Sun Oct  6 04:15:27 2019
New Revision: 1868037

URL: http://svn.apache.org/viewvc?rev=1868037&view=rev
Log:
for splash screen, use the inner wrapper instead of the outer body, preserving the footer

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1868037&r1=1868036&r2=1868037&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Sun Oct  6 04:15:27
2019
@@ -165,8 +165,8 @@ function pre_splash(state, json) {
 
 function splash(state, json, all) {
     pdata = json;
-    let html = document.body;
-    html.style.margin = '16px';
+    let html = document.getElementById('wrapper');
+    html.style.display = 'block';
     let link = all ? 'All projects (<a href="javascript:splash({}, pdata, false);">show
only your projects</a>):' : 'Your projects (<a href="javascript:splash({}, pdata,
true);">show all projects</a>):'
     html.innerHTML = '<h3>%s</h3>'.format(link);
     let tbl = new HTML('table', {cellpadding: '8px', style: {margin: '20px'}});



Mime
View raw message