Skip to content

Commit

Permalink
improving categories index
Browse files Browse the repository at this point in the history
  • Loading branch information
ishmael committed Oct 20, 2010
1 parent 91a1297 commit a32e417
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/helpers/categories_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def nodes(categories,parent_id,index)
ret+='<td class="categoryamount">' + soma
ret+='</td'
end
ret +='<td> '
ret +='<td class="actionsshared"> '
if (categoria.user_id == @current_user.id)
ret += '<ul class="actions">'
ret += '<li>' + link_to( image_tag("/images/led-ico/delete.png",:alt =>I18n.t('layout.application.delete')), category_path(categoria.id) , {:confirm => I18n.t('layout.application.deletemessage'), :method => :delete ,:class => 'ico' , :title => I18n.t('layout.application.delete')}) +'</li>'
Expand Down
12 changes: 9 additions & 3 deletions public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ form.fields div.sep {display: block; margin-top: 6px;}
form.fields label.check,
form.fields label.radio {display: inline; margin-top: 0;}
form.fields span.loading {margin-left: 10px;}
ul.actions {margin: 0;}
ul.actions {margin: 0;width:65px;}
ul.actions li {
display: inline;
margin-right: 5px;
Expand Down Expand Up @@ -537,14 +537,15 @@ a.phosney-header-button {
height:39px !important;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
margin-right:0 !important;

}

input.phosney-header-button {
height:41px !important;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;

margin-right:0 !important;
}


Expand Down Expand Up @@ -684,10 +685,15 @@ input.phosney-header-button {
}
.box .content table thead tr td.actionsshared
{
width:60px;
width:65px;

}
.box .content table tbody tr td.actionsshared
{
width:65px;
padding:0 0 0 5px;

}

.box .content table a.ico-comms {border: 0; background: url("/images/ico-tablecomms.gif") 50% 60% no-repeat; padding: 10px; color: #fff;}
.box .content table tfoot th,
Expand Down

0 comments on commit a32e417

Please sign in to comment.