Author: humbedooh
Date: Fri Feb 12 16:23:09 2016
New Revision: 1730056

URL: http://svn.apache.org/viewvc?rev=1730056&view=rev
Log:
style tweaks

Modified:
    comdev/helpwanted.apache.org/site/css/hw2.css
    comdev/helpwanted.apache.org/site/js/hw.js

Modified: comdev/helpwanted.apache.org/site/css/hw2.css
URL: 
http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/css/hw2.css?rev=1730056&r1=1730055&r2=1730056&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/css/hw2.css (original)
+++ comdev/helpwanted.apache.org/site/css/hw2.css Fri Feb 12 16:23:09 2016
@@ -110,11 +110,7 @@
        height: auto;
     padding: 5px;
        margin: 0 auto;
-       -moz-border-radius:3px;
-       -webkit-border-radius:3px;
-       border-radius:3px;
-       -moz-box-shadow: 0 1px 2px #d1d1d1;
-       -webkit-box-shadow: 0 1px 2px #d1d1d1;
+       border-radius:30px;
        box-shadow: 0 1px 2px #d1d1d1;
 }
 .hwitems table th {
@@ -268,11 +264,11 @@
 
 
 .wizitem {
-    border-radius: 10px;
+    border-radius: 30px;
     border: 2px solid #333;
        text-align: center;
        margin: 15px;
-       height: 180px !important;
+       height: 140px !important;
        position: relative;
        float: none !important;
        display: inline-block;

Modified: comdev/helpwanted.apache.org/site/js/hw.js
URL: 
http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/js/hw.js?rev=1730056&r1=1730055&r2=1730056&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/js/hw.js (original)
+++ comdev/helpwanted.apache.org/site/js/hw.js Fri Feb 12 16:23:09 2016
@@ -115,9 +115,9 @@ function wizard(step, arg) {
     }
     if (step == 1) {
         wstate = {}
-        obj.innerHTML = "<h2 style='text-align: center;'>What sort of work 
would you like to do?</h2>"
+        obj.innerHTML = "<div style='text-align: center;'><big >What sort of 
work would you like to do?</big></div>"
         for (var i in types) {
-            obj.innerHTML += "<div onclick='wizard(2, \"" + types[i] + "\");' 
class=\"wizitem\" style=\"float: left; width: 235px; height: 300px;\"><img 
style='height: 128px; padding: 8px; vertical-align: middle;' src='images/" + 
types[i].replace(/\s+/g, "") + "_large.png'/><br/><b style='font-size:11pt;'>" 
+ types_long[types[i]] + "</b></div>"
+            obj.innerHTML += "<div onclick='wizard(2, \"" + types[i] + "\");' 
class=\"wizitem\" style=\"float: left; width: 235px; height: 250px;\"><img 
style='height: 96px; padding: 8px; vertical-align: middle;' src='images/" + 
types[i].replace(/\s+/g, "") + "_large.png'/><br/><b style='font-size:11pt;'>" 
+ types_long[types[i]] + "</b></div>"
         }
         obj.innerHTML += "<div style='text-align: center;'><a 
href='javascript:void(0);' onclick='fetchItems();'><big>...Just show me 
everything</big></a></div>"
     }
@@ -331,7 +331,7 @@ function displayItems(json, state) {
         return
     }
     
-    obj.innerHTML = "Found " + numItems + " item" + (numItems != 1 ? "s" : "") 
+ ":<br/>"
+    obj.innerHTML = "<p id='hwrtable'>Found " + numItems + " item" + (numItems 
!= 1 ? "s" : "") + " you might be interested in:</p>"
     var tbl = "<table style='text-align: 
left;'><tr><th></th><th>Project</th><th>Title</th><th>Languages</th><th>Difficulty</th><th>Created</th></tr>"
     for (var i in json) {
         var item = json[i]
@@ -359,6 +359,7 @@ function displayItems(json, state) {
     }
     tbl += "</table>"
     obj.innerHTML += tbl
+    location.hash = '#hwrtable'
 }
 
 function fetchItems(languages, types, projects, sortBy) {


Reply via email to