allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [4/6] allura git commit: Finish Design changes in neighborhood listing
Date Mon, 08 Aug 2016 21:47:57 GMT
Finish Design changes in neighborhood listing


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/898340f6
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/898340f6
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/898340f6

Branch: refs/heads/master
Commit: 898340f671df91c82d70e9e9a486aa231d7bae4f
Parents: 25a099e
Author: Rohan Verma <rohanverma2004@gmail.com>
Authored: Tue Jul 26 13:24:13 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Aug 8 17:41:38 2016 -0400

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css     |  2 ++
 Allura/allura/templates/neighborhood_list.html | 11 +++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/898340f6/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index c71e014..ea14468 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -2161,6 +2161,8 @@ a.sidebar-disabled:focus {
     width: 50px;
     float:left;
     padding-top: 2px;
+    background-color: #f9f9f9;
+    margin-right: 5px;
 }
 
 #top_nav {

http://git-wip-us.apache.org/repos/asf/allura/blob/898340f6/Allura/allura/templates/neighborhood_list.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/neighborhood_list.html b/Allura/allura/templates/neighborhood_list.html
index bf9da25..6ccbb65 100644
--- a/Allura/allura/templates/neighborhood_list.html
+++ b/Allura/allura/templates/neighborhood_list.html
@@ -36,13 +36,16 @@
 
     <div class="neighborhoods">
         {% for nbhd in neighborhoods %}
-            <div class="nbhd_holder">
-                <div class="nbhd_icon">{% if nbhd.icon %}<a href="{{nbhd.url()}}"><img
src="{{nbhd.url()}}icon" class="project_icon" alt="{{nbhd.name}} Logo"/> </a>{% endif
%}</div>
+            <div class="nbhd_holder bubble grid-4">
+                <div class="nbhd_icon">
+                    {% if nbhd.icon %}<a href="{{nbhd.url()}}"><img src="{{nbhd.url()}}icon"
class="project_icon" alt="{{nbhd.name}} Logo"/> </a>
+                    {% else %}<a href="{{nbhd.url()}}"><div class="placeholder"
style="width: 50px; height: 50px; "></div></a>{% endif %}
+                </div>
                 <div class="nbhd_name"><a href="{{nbhd.url()}}">{{nbhd.name}}</a></div>
-                <div class="nbhd_count">{{nbhd.projects_count()}}</div>
+                <div class="nbhd_count">{{nbhd.projects_count()}} Projects</div>
             </div>
         {% else %}
             <tr><td class="no-nbhds">No neighborhoods found</td></tr>
         {% endfor %}
-        </tbody>
+    </tbody>
 {% endblock %}


Mime
View raw message