Remove tree single-tab panel

This commit is contained in:
Dmitriy Zaporozhets 2013-03-14 19:50:57 +02:00
parent 5c4e74acc3
commit 38ecec4472
5 changed files with 8 additions and 21 deletions

View file

@ -173,17 +173,6 @@ ul.breadcrumb {
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
} }
.arrow {
background: url("images.png") no-repeat -85px -77px;
width: 19px;
height: 16px;
float: left;
position: relative;
left: -10px;
padding: 0;
margin: 0;
}
} }
input[type=text] { input[type=text] {

View file

@ -102,3 +102,7 @@
} }
} }
.tree-ref-holder {
float: left;
margin-top: 5px;
}

View file

@ -1,7 +0,0 @@
%ul.nav.nav-tabs
%li
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: @path}
= nav_link(controller: :tree) do
= link_to 'Source', project_tree_path(@project, @ref)
%li.pull-right
= render "shared/clone_panel"

View file

@ -1,8 +1,8 @@
%ul.breadcrumb %ul.breadcrumb
%li %li
%span.arrow %i.icon-angle-right
= link_to project_tree_path(@project, @ref) do = link_to project_tree_path(@project, @ref) do
= @project.name = @project.path
- tree.breadcrumbs(6) do |title, path| - tree.breadcrumbs(6) do |title, path|
\/ \/
%li %li

View file

@ -1,3 +1,4 @@
= render "head" %div.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path
%div#tree-holder.tree-holder %div#tree-holder.tree-holder
= render "tree", tree: @tree = render "tree", tree: @tree