[PATCH conductor 5/5] deployable details icons

jtomasek at redhat.com jtomasek at redhat.com
Mon Dec 12 12:25:43 UTC 2011


From: Jiri Tomasek <jtomasek at redhat.com>

---
 src/app/stylesheets/layout.scss          |   21 +++++++++++++++++----
 src/app/views/deployables/show.html.haml |    8 ++++----
 src/public/images/buildpush_symbols.png  |  Bin 0 -> 2029 bytes
 3 files changed, 21 insertions(+), 8 deletions(-)
 create mode 100644 src/public/images/buildpush_symbols.png

diff --git a/src/app/stylesheets/layout.scss b/src/app/stylesheets/layout.scss
index c9e601d..230d73c 100644
--- a/src/app/stylesheets/layout.scss
+++ b/src/app/stylesheets/layout.scss
@@ -1577,11 +1577,23 @@ section.admin-content-section{
       padding-right: 40px;
 
       &.activity{ background: transparent url('../../images/admin_h2_icons.png') right 0px no-repeat; }
-      &.roles{ background: transparent url('../../images/admin_h2_icons.png') right -28px no-repeat; }
+      &.roles{ background: transparent url('../../images/admin_h2_icons.png') right -29px no-repeat; }
       &.settings{ background: transparent url('../../images/admin_h2_icons.png') right -56px no-repeat; }
       &.pools{ background: transparent url('../../images/admin_h2_icons.png') right -84px no-repeat; }
       &.users{ background: transparent url('../../images/admin_h2_icons.png') right -112px no-repeat; }
       &.groups{ background: transparent url('../../images/admin_h2_icons.png') right -140px no-repeat; }
+      &.images{
+        position: relative;
+        &:after{ content: ''; position: absolute; right: 12px; width: 20px; height: 100%; background: transparent url('../../images/buildpush_symbols.png') -73px 3px no-repeat; }
+      }
+      &.build{
+        position: relative;
+        &:after{ content: ''; position: absolute; right: 15px; width: 16px; height: 100%; background: transparent url('../../images/buildpush_symbols.png') -56px 0px no-repeat; }
+      }
+      &.catalogs{
+        position: relative;
+        &:after{ content: ''; position: absolute; right: 15px; width: 20px; height: 100%; background: transparent url('../../images/buildpush_symbols.png') -93px 1px no-repeat; }
+      }
 
       &.alerts{color: #c00000;}
     }
@@ -2501,10 +2513,11 @@ table.light_table{
   th.remove_catalog{ text-align: right; border-bottom: none; }
   td.remove_catalog{ text-align: right; }
   td.remove_catalog input.remove_catalog{
-    background: transparent url(../../images/icon_remove.png) no-repeat -3px -3px;
+    background: transparent url(../../images/buildpush_symbols.png) -112px 2px no-repeat;
+    cursor: pointer;
     border: none;
-    width: 15px;
-    height: 15px;
+    width: 16px;
+    height: 16px;
   }
 }
 
diff --git a/src/app/views/deployables/show.html.haml b/src/app/views/deployables/show.html.haml
index 9e8b947..6093a34 100644
--- a/src/app/views/deployables/show.html.haml
+++ b/src/app/views/deployables/show.html.haml
@@ -15,7 +15,7 @@
 
 %section.admin-content-section
   %header
-    %h2.users= t('.images')
+    %h2.images= t('.images')
   .content
     .centered
       %table.light_table
@@ -44,7 +44,7 @@
 %section.admin-content-section
   - if @missing_images.empty?
     %header
-      %h2= t('.build')
+      %h2.build= t('.build')
       .section-controls
         = form_tag(catalog_deployable_build_path(@catalog, @deployable)) do
           = select_tag :build_options, options_for_select([[t(".build_missing"), :build_missing], [t(".push_missing"), :push_missing]])
@@ -68,7 +68,7 @@
                     %div{:class => "build_status_icon #{result[:status]}"}
   - else
     %header
-      %h2= t('.build')
+      %h2.build= t('.build')
     .content
       .centered.align-center
         %strong Assemblies in Deployable XML arent properly configured.
@@ -79,7 +79,7 @@
 
 %section.admin-content-section
   %header
-    %h2= t('.catalogs')
+    %h2.catalogs= t('.catalogs')
     .section-controls
       = form_for(:catalog_entry, :url => catalog_entries_path) do |f|
         = f.label :catalog_id, t('.choose_catalog')
diff --git a/src/public/images/buildpush_symbols.png b/src/public/images/buildpush_symbols.png
new file mode 100644
index 0000000000000000000000000000000000000000..20542048c5cac54402cf56b957d35cc1e5a24bb9
GIT binary patch
literal 2029
zcmV<J2NL*+P)<h;3K|Lk000e1NJLTq004df001Hg1^@s6nQv_b00004b3#c}2nYxW
zd<bNS00009a7bBm000XT000XT0n*)m`~Uy|9CSrkbW?9;ba!ELWdK2BZ(?O2Mrm?o
zcW-iQb09-gHF34$HUIzs7IZ~ebVG7wVRUJ4ZXi@?ZDjy4F)uSPFEKG)y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