Skip to content

Commit

Permalink
[webui] Put project/package actions into horizontal list.
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Mar 9, 2012
1 parent 6fd139a commit 98d5cd0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/webui/app/views/package/show.html.erb
Expand Up @@ -77,7 +77,7 @@
<li class="selected"><a href="#">My Actions</a></li>
</ul>
</div>
<ul class="clean_list">
<ul class="horizontal-list">
<% unless @bugowners_mail.empty? or BUGZILLA_HOST.nil? %>
<li>
<%= link_to image_tag('tools-report-bug.png', :title => 'Report Bug'), bugzilla_url(@bugowners_mail, "#{@project.name}/#{@package.name}: Bug") %>
Expand Down
2 changes: 1 addition & 1 deletion src/webui/app/views/project/show.html.erb
Expand Up @@ -96,7 +96,7 @@
<li class="selected"><a href="#">My Actions</a></li>
</ul>
</div>
<ul class="clean_list">
<ul class="horizontal-list">
<% if not @bugowners_mail.empty? and !BUGZILLA_HOST.nil? %>
<li>
<%= link_to(image_tag('tools-report-bug.png', :title => 'Report bug'), bugzilla_url(@bugowners_mail, "#{@project.name}: Bug")) -%>
Expand Down
15 changes: 15 additions & 0 deletions src/webui/public/stylesheets/style.css
Expand Up @@ -243,3 +243,18 @@ table.patchinfo td { vertical-align: middle; }
.clean_list {
list-style: none inside;
}

.horizontal-list {
list-style: none inside;
}
.horizontal-list li {
float: left;
margin: 0 0 0.5em 0;
}
.horizontal-list:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

0 comments on commit 98d5cd0

Please sign in to comment.