You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/02 14:05:38 UTC

svn commit: r1864229 - in /comdev/reporter.apache.org/trunk/site/wizard: css/wizard.css js/source/generators.js js/source/stepper.js js/wizard.js

Author: humbedooh
Date: Fri Aug  2 14:05:37 2019
New Revision: 1864229

URL: http://svn.apache.org/viewvc?rev=1864229&view=rev
Log:
Style changes only

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/css/wizard.css
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/css/wizard.css?rev=1864229&r1=1864228&r2=1864229&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/css/wizard.css (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/css/wizard.css Fri Aug  2 14:05:37 2019
@@ -255,9 +255,24 @@
   border: 2px solid #666;
   background: #FFE;
   border-radius: 10px;
-  font-size: 0.8rem;
+  font-size: 0.9rem;
   padding: 4px;
   overflow-y: auto;
+  font-weight: 380;
+  font-family: sans-serif;
+  line-height: 1.1rem;
+}
+
+#unified-helper ul {
+ font-size: 0.8rem;
+}
+
+#unified-helper > h5 {
+ font-size: 1rem !important;
+}
+
+#unified-helper > h6 {
+ font-size: 0.9rem !important;
 }
 
 #unified-report {

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=1864229&r1=1864228&r2=1864229&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 Fri Aug  2 14:05:37 2019
@@ -129,11 +129,11 @@ function generate_meta(data) {
         for (var i = 0; i < a.length; i++) {
           let cmt = a[i];
           cmt = cmt.replace(/[\r\n]+/g, ' ').replace(/([a-z0-9]+:)/, (a) => "<kbd>"+a+"</kbd><br/>");
-          ntxt += cmt + "<hr/>";
+          ntxt += cmt + "<br/>";
         }
       }
       txt += "<hr/><h6>Last report comments from the board: </h6>";
-      txt += "<b style='color: #369;'>%s:</b><br/><span style='white-space: wrap; font-size: 0.8rem;'>%s</span>".format(date, ntxt);
+      txt += "<b style='color: #369;'>%s:</b><br/><span style='white-space: wrap; font-size: 0.75rem;'>%s</span>".format(date, ntxt);
     }
     return txt;
 }
@@ -219,7 +219,7 @@ function health_tips(data) {
     if (jira[0] || jira[1]) txt += "<li>%u JIRA tickets opened and %u closed in the past quarter.</li>".format(jira[0], jira[1]);
     
     // Append header IF there is data, otherwise nah.
-    if (txt.length > 0) txt = "<hr/><big>Potentially useful observations on community health:</big><ul>" + txt + "</ul>";
+    if (txt.length > 0) txt = "<h5>Potentially useful observations on community health:</h5><ul>" + txt + "</ul>";
     return txt;
 }
 
@@ -236,7 +236,7 @@ function activity_tips(data) {
         }
     }
     if (rtxt != '') {
-        rtxt = "<h6>Releases this quarter: </h6><ul>" + rtxt + "</ul>";
+        rtxt = "<h6>Releases this quarter: </h6><ul>" + rtxt + "</ul><hr/>";
     }
     
     

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js?rev=1864229&r1=1864228&r2=1864229&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js Fri Aug  2 14:05:37 2019
@@ -61,14 +61,14 @@ function ReportStepper(div, editor, layo
         let step = this.layout[s];
         // If helper exists, show useful data
         if (this.helper) {
-            this.helper.innerHTML = "<h5>%s:</h5>".format(step.description);
+            this.helper.innerHTML = "<h4>%s:</h4>".format(step.description);
             // Add in help
             if (step.helpgenerator) {
                 let f = Function('a', 'b', "return %s(a, b);".format(step.helpgenerator));
                 data = f(this.pdata, this.editor)
-                this.helper.innerHTML += data;
+                this.helper.innerHTML += data + "<hr/>";
             } else if (step.help) {
-                this.helper.innerHTML += step.help;
+                this.helper.innerHTML += step.help + "<hr/>";
             }
             // Add tips?
             if (step.tipgenerator) {

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864229&r1=1864228&r2=1864229&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Fri Aug  2 14:05:37 2019
@@ -1264,11 +1264,11 @@ function generate_meta(data) {
         for (var i = 0; i < a.length; i++) {
           let cmt = a[i];
           cmt = cmt.replace(/[\r\n]+/g, ' ').replace(/([a-z0-9]+:)/, (a) => "<kbd>"+a+"</kbd><br/>");
-          ntxt += cmt + "<hr/>";
+          ntxt += cmt + "<br/>";
         }
       }
       txt += "<hr/><h6>Last report comments from the board: </h6>";
-      txt += "<b style='color: #369;'>%s:</b><br/><span style='white-space: wrap; font-size: 0.8rem;'>%s</span>".format(date, ntxt);
+      txt += "<b style='color: #369;'>%s:</b><br/><span style='white-space: wrap; font-size: 0.75rem;'>%s</span>".format(date, ntxt);
     }
     return txt;
 }
@@ -1354,7 +1354,7 @@ function health_tips(data) {
     if (jira[0] || jira[1]) txt += "<li>%u JIRA tickets opened and %u closed in the past quarter.</li>".format(jira[0], jira[1]);
     
     // Append header IF there is data, otherwise nah.
-    if (txt.length > 0) txt = "<hr/><big>Potentially useful observations on community health:</big><ul>" + txt + "</ul>";
+    if (txt.length > 0) txt = "<h5>Potentially useful observations on community health:</h5><ul>" + txt + "</ul>";
     return txt;
 }
 
@@ -1371,7 +1371,7 @@ function activity_tips(data) {
         }
     }
     if (rtxt != '') {
-        rtxt = "<h6>Releases this quarter: </h6><ul>" + rtxt + "</ul>";
+        rtxt = "<h6>Releases this quarter: </h6><ul>" + rtxt + "</ul><hr/>";
     }
     
     
@@ -1815,14 +1815,14 @@ function ReportStepper(div, editor, layo
         let step = this.layout[s];
         // If helper exists, show useful data
         if (this.helper) {
-            this.helper.innerHTML = "<h5>%s:</h5>".format(step.description);
+            this.helper.innerHTML = "<h4>%s:</h4>".format(step.description);
             // Add in help
             if (step.helpgenerator) {
                 let f = Function('a', 'b', "return %s(a, b);".format(step.helpgenerator));
                 data = f(this.pdata, this.editor)
-                this.helper.innerHTML += data;
+                this.helper.innerHTML += data + "<hr/>";
             } else if (step.help) {
-                this.helper.innerHTML += step.help;
+                this.helper.innerHTML += step.help + "<hr/>";
             }
             // Add tips?
             if (step.tipgenerator) {