2020-06-22 08:08:47 -04:00
|
|
|
- page_title _("Find File"), @ref
|
2016-01-07 06:56:18 -05:00
|
|
|
|
2018-11-27 14:59:37 -05:00
|
|
|
.file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, 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-03-28 05:31:48 -04:00
|
|
|
.nav-block
|
2016-01-07 06:56:18 -05:00
|
|
|
.tree-ref-holder
|
|
|
|
= render 'shared/ref_switcher', destination: 'find_file', path: @path
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
2018-04-09 13:28:47 -04:00
|
|
|
%li.breadcrumb-item
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to project_tree_path(@project, @ref) do
|
2016-01-07 06:56:18 -05:00
|
|
|
= @project.path
|
2018-04-09 13:28:47 -04:00
|
|
|
%li.file-finder.breadcrumb-item
|
2017-06-07 16:13:44 -04:00
|
|
|
%input#file_find.form-control.file-finder-input{ type: "text", placeholder: _('Find by path'), autocomplete: 'off' }
|
2016-01-07 06:56:18 -05:00
|
|
|
|
2016-12-23 04:37:12 -05:00
|
|
|
.tree-content-holder
|
2016-01-07 06:56:18 -05:00
|
|
|
.table-holder
|
2018-09-06 07:27:27 -04:00
|
|
|
%table.table.files-slider{ class: "table_#{@hex_path} tree-table" }
|
2016-01-07 06:56:18 -05:00
|
|
|
%tbody
|
2019-09-23 14:06:14 -04:00
|
|
|
.col-12.empty-state.hidden
|
|
|
|
.svg-250.svg-content
|
|
|
|
= image_tag('illustrations/profile-page/personal-projects.svg', alt: 'No files svg', lazy: true)
|
|
|
|
.text-center
|
|
|
|
%h4
|
|
|
|
= _('There are no matching files')
|
|
|
|
%p.text-secondary
|
|
|
|
= _('Try using a different search term to find the file you are looking for.')
|
2020-06-26 02:09:03 -04:00
|
|
|
.text-center.gl-mt-3.loading
|
2020-03-13 05:09:23 -04:00
|
|
|
.spinner.spinner-md
|