You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/10/23 17:37:04 UTC

[3/5] allura git commit: [#8004] remove icons from add_project page

[#8004] remove icons from add_project page


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

Branch: refs/heads/master
Commit: d7ee0573fc6ac3cdce208800167824e707bae58a
Parents: 6abb954
Author: Dave Brondsema <da...@brondsema.net>
Authored: Wed Oct 21 12:44:49 2015 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Thu Oct 22 10:55:26 2015 -0400

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/css/add_project.css      | 8 ++++----
 .../allura/templates/widgets/neighborhood_add_project.html   | 3 +--
 2 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/d7ee0573/Allura/allura/lib/widgets/resources/css/add_project.css
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/css/add_project.css b/Allura/allura/lib/widgets/resources/css/add_project.css
index fc3d6dd..69f36f7 100644
--- a/Allura/allura/lib/widgets/resources/css/add_project.css
+++ b/Allura/allura/lib/widgets/resources/css/add_project.css
@@ -106,12 +106,12 @@ div.welcome div.grid-3{
     border: 1px solid black;
 }
 div.button-row {
-    margin: 40px 0 100px 10px;
+    margin: 30px 0 100px 20px;
 }
 div.tool {
     float: left;
     position: relative;
-    padding: 10px 20px 10px 70px;
+    padding: 10px 20px 10px 10px;
     -moz-border-radius: 4px;
     -webkit-border-radius: 4px;
     -o-border-radius: 4px;
@@ -119,8 +119,8 @@ div.tool {
     -khtml-border-radius: 4px;
     border-radius: 4px;
     border: 1px solid #aaa;
-    width: 360px;
-    margin: 5px;
+    width: 395px;
+    margin: 5px 20px;
     background-color: whiteSmoke;
     height: 74px;
 }

http://git-wip-us.apache.org/repos/asf/allura/blob/d7ee0573/Allura/allura/templates/widgets/neighborhood_add_project.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/neighborhood_add_project.html b/Allura/allura/templates/widgets/neighborhood_add_project.html
index a84f9b5..322d721 100644
--- a/Allura/allura/templates/widgets/neighborhood_add_project.html
+++ b/Allura/allura/templates/widgets/neighborhood_add_project.html
@@ -53,7 +53,6 @@
         {% set _ctx = widget.context_for(widget.fields.tools) %}
         {% if tool.installable %}
         <div class="tool">
-            <img src="{{ g.theme.app_icon_url(tool, 48) }}" alt="{{ opt.label }} icon">
             <input type="checkbox" value="{{ opt.html_value }}"
                    {% if _ctx['value'] and opt.html_value in _ctx['value'] %}checked{% endif %}
                    name="{{ _ctx['rendered_name'] }}"
@@ -66,7 +65,7 @@
     {% endif %}
     {% if h.has_access(neighborhood, 'admin') and not neighborhood.project_template and neighborhood.features['private_projects'] %}
     <div style="margin-top:20px">
-        <div class="grid-16" style="padding-top:4px; padding-left:4px">
+        <div class="grid-16" style="padding-top:10px; padding-left:20px">
           {{widget.display_field(widget.fields.private_project)}}
             <label for="{{ widget.context_for(widget.fields.private_project)['id'] }}">
             Private? Private projects will be unreadable to non-project members and will