2016-01-14 18:37:52 +05:30
|
|
|
- page_title "Find File", @ref
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, @options.merge(format: :json)))}", 'data-find-tree-url': escape_javascript(project_tree_path(@project, @ref)), 'data-blob-url-template': escape_javascript(project_blob_path(@project, @id || @commit.id)) }
|
2016-06-02 11:05:42 +05:30
|
|
|
.nav-block
|
2016-01-14 18:37:52 +05:30
|
|
|
.tree-ref-holder
|
|
|
|
= render 'shared/ref_switcher', destination: 'find_file', path: @path
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
|
|
|
%li
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to project_tree_path(@project, @ref) do
|
2016-01-14 18:37:52 +05:30
|
|
|
= @project.path
|
|
|
|
%li.file-finder
|
2017-09-10 17:25:29 +05:30
|
|
|
%input#file_find.form-control.file-finder-input{ type: "text", placeholder: _('Find by path'), autocomplete: 'off' }
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.tree-content-holder
|
2016-01-14 18:37:52 +05:30
|
|
|
.table-holder
|
2017-08-17 22:00:37 +05:30
|
|
|
%table.table.files-slider{ class: "table_#{@hex_path} tree-table table-striped" }
|
2016-01-14 18:37:52 +05:30
|
|
|
%tbody
|
|
|
|
= spinner nil, true
|